//<!-- 
/*
------------------------------------------------------------------------------
File Name:randomFlashHome.js
Company: ph2enterprises
Client: Power Service
Author: Phillip J. Henslee II <ph2@ph2.us> ©2010
Purpose: Choose Random Flash Movie for Home Page
Functions: One
Date Created: August 9, 2010
Last Modified: August 9, 2010
Dependent Files: None
----------------------------------------------------------------------------
*/

function writeRandomHomeFlash(){
	var x = Math.floor(Math.random()*3);
	if(x==0){x=1};
	//alert(x);
	var strFlashMovie = "homeflash" + x + ".swf" 
	var strHtml = "<object id='FlashID' classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' width='604' height='338'><param name='movie' value='images_new/"
	strHtml += strFlashMovie
	strHtml += "'>' /> <param name='quality' value='high' /> <param name='wmode' value='opaque' /> <param name='swfversion' value='6.0.65.0' /> <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you donâ€™t want users to see the prompt. --> <param name='expressinstall' value='Scripts/expressInstall.swf' /> <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. --> <!--[if !IE]>--> <object type='application/x-shockwave-flash' data='images_new/"
	strHtml += strFlashMovie
	strHtml += "' width='604' height='338'> <!--<![endif]--> <param name='quality' value='high' /> <param name='wmode' value='opaque' /> <param name='swfversion' value='6.0.65.0' /> <param name='expressinstall' value='Scripts/expressInstall.swf' /> <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. --> <div> <h4>Content on this page requires a newer version of Adobe Flash Player.</h4> <p><a href='http://www.adobe.com/go/getflashplayer'><img src='http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif' alt='Get Adobe Flash player' width='112' height='33' /></a></p> </div> <!--[if !IE]>--> </object> <!--<![endif]--> </object>"

	
	document.write(strHtml);
}


-->

