
//imagerotator component configuration START
	var moviePath = "steamersslideshow.swf";	//movie path of the flash file
	var imagerotatorWidth=350;	//movie width
	var imagerotatorHeight=284; //movie height
	var autoplay=1;    //if you want to autoplay the images set it 1 else to 0
	var autoTransitionSpeed=4000;  //transition speed if auto is set to 1 in milliseconds
//imagerotator component configuration ENDS




















/////////////////////////////////////////////////////////////////////////////////////////////////
	var movieName = "imagerotator";			
	function thisMovie(movieName) {
	  // IE and Netscape refer to the movie object differently.
	  // This function returns the appropriate syntax depending on the browser.
	  if (navigator.appName.indexOf ("Microsoft") !=-1) {
		return window[movieName]
	  } else {
		return document[movieName]
	  }
	}
	// Checks if movie is completely loaded.
	// Returns true if yes, false if no.
	function movieIsLoaded (theMovie) {
	  // First make sure the movie's defined.
	  if (typeof(theMovie) != "undefined") {
		// If it is, check how much of it is loaded.
		return theMovie.PercentLoaded() == 100;
	  } else {
		// If the movie isn't defined, it's not loaded.
		return false;
	  }

	}
	function nextImage()
	{
			var mc=thisMovie(movieName);
			if(movieIsLoaded(mc))
				mc.TGotoLabel('_level0/','loadNext');

	}
	function prevImage()
	{
			var mc=thisMovie(movieName);
			if(movieIsLoaded(mc))
				mc.TGotoLabel('_level0/','loadPrev');
	}


var paramtoFlash="playmode="+ autoplay + "&autoTransitionSpeed=" + autoTransitionSpeed;

document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0' id='imagerotator'");

document.write("width='"+imagerotatorWidth+"' height='"+imagerotatorHeight+"' ");

document.write("		align='middle'> <param name='allowScriptAccess' value='sameDomain' />");
document.write("<param name='movie' value='"+moviePath+"?"+ paramtoFlash +"' /> ");
document.write("<param name='quality' value='high' /><embed src='"+moviePath+"?"+paramtoFlash+"' quality='high'");

document.write("width='"+imagerotatorWidth+"' height='"+imagerotatorHeight+"' ");

document.write("swLiveConnect=true id='imagerotator' name='imagerotator' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' swLiveConnect='true' /> </object>");

	
/////////////////////////////////////////////////////////////////////////////////////////////////
