/***********************************************************************************
 * Frontline Logic, Inc. Confidential and Proprietary
 *
 * This file and its related files contain valuable, confidential, and proprietary
 * information.  Disclosure, use, or reproduction without the written 
 * authorization of Frontline Logic, Inc. is prohibited.  This work by Frontline
 * Logic, Inc. is protected by laws of the United States and other
 * countries.  If publication of this file and its related files should occur, the
 * following notice shall apply:
 *
 * Copyright (c) 2007 Frontline Logic, Inc.  All rights reserved.
 ***********************************************************************************/

/*
 * This generates the flash without a border around the flash file 
 */ 
function generateFlash(myFlash, myWidth, myHeight){
var oeTags ='<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" '
	+ 'codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" '
	+ 'width="'+myWidth+'" height="'+myHeight+'" '
	+ 'align="left">'
	+ '<param name="allowScriptAccess" value="sameDomain" />'
	+ '<param name="movie" value="'+myFlash+'" />'
	+ '<param name="quality" value="high" />'
	+ '<param name="bgcolor" value="#ffffff" />'
	+ '<embed src="'+myFlash+'" '
	+ 'quality="high" bgcolor="#ffffff" '
	+ 'width="'+myWidth+'" '
	+ 'height="'+myHeight+'" '
	+ 'align="left" '
	+ 'allowScriptAccess="sameDomain" '
	+ 'type="application/x-shockwave-flash" '
	+ 'pluginspage="http://www.macromedia.com/go/getflashplayer" />'
	+ '</object>'
	 document.write(oeTags);   // embed the flash movie
}