intRandomValue = Math.floor(Math.random() * 3);
	switch(intRandomValue) {
		case 0:
			strFlashFile = "swfs/picture-banner.swf";
			break;
		case 1:
			strFlashFile = "swfs/picture-banner.swf";
			break;
		case 2:
			strFlashFile = "swfs/picture-banner.swf";
			break;
		}

	/* This function is used when you want to have browsers that do not 
	have flash player installed write an image file instead */
	
	function writeFlashOrImage(FlashName,ImageName,Width,Height,Alt,Border,FlashVersion) {
		// first, write the opening object tag  
	
		strObjectTag = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"';
		strObjectTag = strObjectTag + ' width="' + Width + '" height="' + Height + '" ';
		strObjectTag = strObjectTag + ' border="1"';
		strObjectTag = strObjectTag + 'codebase="http://active.macromedia.com/flash5/cabs/swflash.cab#version=';
		strObjectTag = strObjectTag + FlashVersion + '">';
		strMovieParam = '<param name="movie" value="' + FlashName + '">';
		document.write(strObjectTag);
		document.write(strMovieParam);
		document.write('<param name=\"play\" value=\"true\">');
		document.write('<param name=\"loop\" value=\"false\">');
		document.write('<param name=\"quality\" value=\"high\">');
		document.write('<param name=\"menu\" value=\"false\">');
		document.write('<param name=\"wmode\" value=\"transparent\">');
	



		// if the Flash Plug-in is installed and a browser than user plug-ins is the browser, write an embed tag
		plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
			strImageTag = '<image src="' + ImageName + '" width="' + Width + '" height="' + Height + '" ';
			strImageTag = strImageTag + ' border="10" alt="' + Alt + '"</image>';
		if ( plugin && parseInt(plugin.description.substring(plugin.description.indexOf(".")-1)) >= 4 )
			{
			strEmbedTag = '<embed src="' + FlashName + '" width="' + Width + '" height="' + Height + '" ';
			strEmbedTag = strEmbedTag + 'wmode="transparent" ';
			strEmbedTag = strEmbedTag + 'play="true" loop="true" quality="high" ';
			strEmbedTag = strEmbedTag + 'pluginspace="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">';
			document.write(strEmbedTag);
			document.write('</embed>');
			}
		else
			{
			document.write(strImageTag);
			}
	
		
		//finally, write the closing object tag
		document.write('</object>');
	}
	
	