// VERSION: 2.0 - NOT BACKWARD COMPATIBLY!!!
// DATE: 1/14/2007
function FlashImageRotator(a,b,c,d,e,f){this._playerPath=a;this._width=b;this._height=c;this._categoryId=d;this._gatewayURL=e;this._flashServiceClassPath=f;this._flashContainer=null;this._flashObject=null};FlashImageRotator.prototype.render=function(a){var b='FIR_'+this._categoryId;var f=new Flash(this._playerPath,"high",this._width,this._height,8);f.setId(b);f.setParam('FlashVars','CategoryId='+this._categoryId+'&GatewayURL='+this._gatewayURL+'&FlashServiceClassPath='+this._flashServiceClassPath);f.setParam('wmode','transparent');f.render(a);this._flashContainer=document.getElementById(a);this._flashObject=document.getElementById(b)};FlashImageRotator.prototype.start=function(){this._flashObject.FIR_start()};FlashImageRotator.prototype.pause=function(){this._flashObject.FIR_pause()};FlashImageRotator.prototype.resume=function(){this._flashObject.FIR_resume()};FlashImageRotator.prototype.stop=function(){this._flashObject.FIR_stop()};FlashImageRotator.prototype.playNext=function(){this._flashObject.FIR_playNext()};FlashImageRotator.prototype.playPrevious=function(){this._flashObject.FIR_playPrevious()};FlashImageRotator.prototype.getImageCount=function(){return this._flashObject.FIR_getImageCount()};FlashImageRotator.prototype.getCurrentIndex=function(){return this._flashObject.FIR_getCurrentIndex()};FlashImageRotator.prototype.setCurrentIndex=function(a){this._flashObject.FIR_setCurrentIndex(a)};FlashImageRotator.prototype.getInfo=function(){return this._flashObject.FIR_getInfo()};