function mf(s,d,w,h,t){
        document.write("<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0\" width="+w+" height="+h+" id="+d+" vspace=\"0\" hspace=\"0\"><param name=menu value=false><param name=wmode value="+t+" /><param name=movie value="+s+" /><param name=\"allowScriptAccess\" value=\"always\" /><param name=quality value=high /><embed src="+s+" quality=high allowScriptAccess='always' wmode="+t+" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?p1_prod_version=shockwaveflash\" width="+w+" height="+h+" wmode=\"transparent\"></embed></object>");

}


function large(){ 
//	alert("aa");
	var nums = 241 ;
	var el = thisMovie("menuFlash");
	el.setAttribute("height",nums);
	el.style.height=nums+"px";
 document.all['Layer1'].style.height = nums; 
} 
function small(){ 
	var nums = 75 ;
	var el = thisMovie("menuFlash");
	el.setAttribute("height",nums);
	el.style.height=nums+"px";
 document.all['Layer1'].style.height = nums; 
} 


function thisMovie(movieName) { 
 if (navigator.appName.indexOf("Microsoft") != -1) {
    return getElementByTagAndId("object", movieName);
 } else {
    return getElementByTagAndName("embed", movieName);
 }
}
function getElementByTagAndId(tagName, id){
 var el = null;
 var els = document.getElementsByTagName(tagName);
 for(var i=0 ; i < els.length ; i++){
  if(els[i].id == id) { el = els[i]; break; }
 }
 return el;
} 



function FlashObject( url ,width, height,  bgColor, id,wmode,vars) {
    //opaque, transparent
    document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab' ");
    document.write(" width='"+width+"' height='"+height+"' id='"+id+"'> ");
    document.write("<param name='allowScriptAccess' value='always' /> ");
    document.write("<param name='movie' value='"+url+"' /> ");
    document.write("<param name='FlashVars' value='"+vars+"' /> ");
    document.write("<param name='wmode' value='"+wmode+"' /> ");
    document.write("<param name='menu' value='false' /> ");
    document.write("<param name='quality' value='high' /> ");
    document.write("<param name='bgcolor' value='"+bgColor+"' /> ");
    document.write("<embed src='"+url+"' flashVars='"+vars+"' wmode='"+wmode+"' menu='false' quality='high' ");
    document.write(" bgcolor='"+bgColor+"' width='"+width+"' height='"+height+"' name='"+id+"' align='middle' ");
    document.write(" allowScriptAccess='always' type='application/x-shockwave-flash' pluginspage='http://www.adobe.com/go/getflashplayer' /> ");
    document.write("</object> ");
} 

        function FlashObject2(swf, width, height, bgcolor, id, flashvars)
        {
            var strFlashTag = new String();
           
            strFlashTag += '<embed src="' + swf + '" ';
            strFlashTag += 'quality="best" ';
            strFlashTag += 'bgcolor="' + bgcolor + '" ';
            strFlashTag += 'width="' + width + '" ';
            strFlashTag += 'height="' + height + '" ';
            strFlashTag += 'menu="false" ';
            strFlashTag += 'scale="noscale" ';
            strFlashTag += 'id="' + id + '" ';
            strFlashTag += 'salign="LT" ';
            strFlashTag += 'wmode="transparent" ';
            strFlashTag += 'allowScriptAccess="always" ';
            if(flashvars != null) {strFlashTag += 'flashvars="' + flashvars + '" '};
            strFlashTag += 'type="application/x-shockwave-flash" ';
            strFlashTag += 'pluginspage="http://www.macromedia.com/go/getflashplayer">';
            strFlashTag += '</embed>';

            document.write(strFlashTag);

        }



function ov(num){

if ( num ==1 )
{
		document.getElementById("Layer1").style.zIndex = "2";
      document.getElementById("Layer2").style.zIndex = "1";

} else {

document.getElementById("Layer1").style.zIndex = "1";
     document.getElementById("Layer2").style.zIndex = "2";


}

}