function EmSwf(file,w,h,m) {

	if(m == "tran") {

		document.write("<object id='index' classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0' width='"+w+"' height='"+h+"'>"

						+"<param name='id' value='"+file+"'>"
						
						+"<param name='movie' value='"+file+"'>"

						+"<param name='quality' value=high>"

						+"<param name='wmode' value='transparent'>"
						
						+"<param name='allowScriptAccess' value='always'>"

						+"<embed id ='"+file+"' src='"+file+"' quality=high pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' type='application/x-shockwave-flash' width='"+w+"' height='"+h+"' wmode='transparent' allowScriptAccess='always'>"

						+"</embed> "

						+"</object>");

	} else {

		document.write("<object id='index' classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0' width='"+w+"' height='"+h+"'>"

						+"<param name='id' value='"+file+"'>"

						+"<param name='movie' value='"+file+"'>"

						+"<param name='quality' value=high>"
						
						+"<param name='allowScriptAccess' value='always'>"

						+"<embed id ='"+file+"' src='"+file+"' quality=high pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' type='application/x-shockwave-flash' width='"+w+"' height='"+h+"' wmode='transparent' allowScriptAccess='always' >"

						+"</embed> "

						+"</object>");

	}

}

function EmMov(file,w,h,m) {

	if(m == "Y")

		n = "1";

	else

		n = "0";



	document.write ("<EMBED src="+file+" width="+w+" height="+h+" AutoStart="+n+" wmode='transparent'>");

}



function MM_showHideLayers() { //v6.0

	var i,v,p,obj,args=MM_showHideLayers.arguments;

	for (i=0; i<(args.length-2); i+=3){

		if ((obj=MM_findObj(args[i]))!=null) { 

			v=args[i+2];

		    if (obj.style) { 

				obj=obj.style; 

				v = (v=='show') ? 'visible' : (v=='hide') ? 'hidden' : v;

			}

		    obj.visibility=v;

		}

	}

	if(v == "visible"){

		for (i=0; i<document.forms.length; i++) { 

			for (k=0; k<document.forms[i].length; k++) { 

				el = document.forms[i].elements[k];    

				if (el.type == "select-one") el.style.visibility = 'hidden'; 

			} 

		} 

	}else{

		for (i=0; i<document.forms.length; i++) { 

			for (k=0; k<document.forms[i].length; k++) { 

				el = document.forms[i].elements[k];    

				if (el.type == "select-one") el.style.visibility = 'visible'; 

			} 

		} 

	}

}
