function menu_sub(num, flashWIDTH, flashHEIGHT, flashURL){
	if(bro == "ie") {
  document.writeln ('<div id="MenuLayer1" style="position:relative;left:0;top:0;">');
  document.writeln ('<div id="MenuLayer2" style="position:absolute;z-index:0;left:0;top:0;">');
  document.writeln ('<table width="100%" border="0" cellpadding="0" cellspacing="0">');
  document.writeln ('<tr>');
  document.writeln ('<td valign="top"><img src="'+adServer+'/common/body_center_menu_left.jpg" width="10" height="55"></td>')
  document.writeln ('<td><OBJECT classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.adobe.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,12,36" WIDTH='+flashWIDTH+' HEIGHT='+flashHEIGHT+'>');
  document.writeln ('<PARAM NAME=movie VALUE="'+flashURL+'">');
  document.writeln ('<PARAM NAME=wmode VALUE=transparent>');
  document.writeln ('<PARAM NAME=allowScriptAccess VALUE=always>');
  document.writeln ('<PARAM NAME=loop VALUE=true>');
  document.writeln ('<PARAM NAME=menu VALUE=false>');
  document.writeln ('<PARAM NAME=quality VALUE=high>');
  document.writeln ('<EMBED src="'+flashURL+'" loop=true wmode=transparent quality=high allowScriptAccess=always swLiveConnect=FALSE WIDTH='+flashWIDTH+' HEIGHT='+flashHEIGHT+' TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.adobe.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>');
  document.writeln ('</OBJECT></td>');
  document.writeln ('<td valign="top" align="right"><img src="'+adServer+'/common/body_center_menu_right.jpg" width="10" height="55"></td>')
  document.writeln ('</tr>');
  document.writeln ('</table>');
  document.writeln ('</div>');
  document.writeln ('</div>');
	} else if (bro == "ne") {
  document.writeln ('<layer id="MenuLayer1" style="position:relative;left:0;top:0;">')
  document.writeln ('<layer id="MenuLayer2" style="position:absolute;z-index:0;left:0;top:0;">')
  document.writeln ('<table width="100%" border="0" cellpadding="0" cellspacing="0">')
  document.writeln ('<tr>')
  document.writeln ('<td valign="top"><img src="'+adServer+'/common/body_center_menu_left.jpg" width="10" height="55"></td>');
  document.writeln ('<td><OBJECT classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.adobe.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,12,36" WIDTH='+flashWIDTH+' HEIGHT='+flashHEIGHT+'>');
  document.writeln ('<PARAM NAME=movie VALUE="'+flashURL+'">');
  document.writeln ('<PARAM NAME=wmode VALUE=transparent>');
  document.writeln ('<PARAM NAME=allowScriptAccess VALUE=always>');
  document.writeln ('<PARAM NAME=loop VALUE=true>');
  document.writeln ('<PARAM NAME=menu VALUE=false>');
  document.writeln ('<PARAM NAME=quality VALUE=high>');
  document.writeln ('<EMBED src="'+flashURL+'" loop=true wmode=transparent allowScriptAccess=always quality=high swLiveConnect=FALSE WIDTH='+flashWIDTH+' HEIGHT='+flashHEIGHT+' TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.adobe.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>');
  document.writeln ('</OBJECT></td>');
  document.writeln ('<td valign="top" align="right"><img src="'+adServer+'/common/body_center_menu_right.jpg" width="10" height="55"></td>')
  document.writeln ('</tr>');
  document.writeln ('</table>');
  document.writeln ('</layer>');
  document.writeln ('</layer>');
	}
}

function top_logo(flashWIDTH, flashHEIGHT, flashURL){
  document.writeln ('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.adobe.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,12,36" WIDTH='+flashWIDTH+' HEIGHT='+flashHEIGHT+'>');
  document.writeln ('<PARAM NAME=movie VALUE="'+flashURL+'">');
  document.writeln ('<PARAM NAME=wmode VALUE=transparent>');
  document.writeln ('<PARAM NAME=loop VALUE=true>');
  document.writeln ('<PARAM NAME=allowScriptAccess VALUE=always>');
  document.writeln ('<PARAM NAME=menu VALUE=false>');
  document.writeln ('<PARAM NAME=quality VALUE=high>');
  document.writeln ('<EMBED src="'+flashURL+'" loop=true wmode=transparent allowScriptAccess=always  quality=high swLiveConnect=FALSE WIDTH='+flashWIDTH+' HEIGHT='+flashHEIGHT+' TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.adobe.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>');
  document.writeln ('</OBJECT>');
}

function menu_bottom(flashWIDTH, flashHEIGHT, flashURL){
  document.writeln ('<div id="MenuLayer3" style="position:relative;left:0;top:0;">');
  document.writeln ('<div id="MenuLayer4" style="position:absolute;z-index:0;left:0;top:0;">');
  document.writeln ('<table width="100%" border="0" cellpadding="0" cellspacing="0">');
  document.writeln ('<tr>');
  document.writeln ('<td><OBJECT classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.adobe.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,12,36" WIDTH='+flashWIDTH+' HEIGHT='+flashHEIGHT+'>');
  document.writeln ('<PARAM NAME=movie VALUE="'+flashURL+'">');
  document.writeln ('<PARAM NAME=wmode VALUE=transparent>');
  document.writeln ('<PARAM NAME=allowScriptAccess VALUE=always>');
  document.writeln ('<PARAM NAME=menu VALUE=false>');
  document.writeln ('<PARAM NAME=loop VALUE=true>');
  document.writeln ('<PARAM NAME=quality VALUE=high>');
  document.writeln ('<EMBED src="'+flashURL+'" loop=true wmode=transparent allowScriptAccess=always  quality=high swLiveConnect=FALSE WIDTH='+flashWIDTH+' HEIGHT='+flashHEIGHT+' TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.adobe.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>');
  document.writeln ('</OBJECT></td>');
  document.writeln ('</tr>');
  document.writeln ('</table>')
  document.writeln ('</div>');
  document.writeln ('</div>');
}

function FlashEpic1(flashWIDTH, flashHEIGHT, flashURL){
  document.writeln ('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.adobe.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,12,36" WIDTH='+flashWIDTH+' HEIGHT='+flashHEIGHT+'>');
  document.writeln ('<PARAM NAME=movie VALUE="'+flashURL+'">');
  document.writeln ('<PARAM NAME=loop VALUE=true>');
  document.writeln ('<PARAM NAME=wmode value=transparent>');
  document.writeln ('<PARAM NAME=allowScriptAccess VALUE=always>');
  document.writeln ('<PARAM NAME=menu VALUE=false>');
  document.writeln ('<PARAM NAME=quality VALUE=high>');
  document.writeln ('<EMBED src="'+flashURL+'" loop=true wmode=transparent allowScriptAccess=always  quality=high swLiveConnect=FALSE WIDTH='+flashWIDTH+' HEIGHT='+flashHEIGHT+' TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.adobe.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>');
  document.writeln ('</OBJECT>');
}

function FlashPara(flashWIDTH, flashHEIGHT, flashURL,flashPARA ){
  document.writeln ('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.adobe.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,12,36" WIDTH='+flashWIDTH+' HEIGHT='+flashHEIGHT+'>');
  document.writeln ('<PARAM NAME=movie VALUE="'+flashURL+'">');
  document.writeln ('<PARAM NAME=loop VALUE=true>');
  document.writeln ('<PARAM NAME=wmode value=transparent>');
  document.writeln ('<PARAM NAME=allowScriptAccess VALUE=always>');
  document.writeln ('<PARAM NAME=menu VALUE=false>');
  document.writeln ('<PARAM NAME=quality VALUE=high>');
  document.writeln ('<PARAM NAME=FlashVars VALUE=' + flashPARA + '>');
  document.writeln ('<EMBED src="'+flashURL+'" loop=true wmode=transparent allowScriptAccess=always  quality=high swLiveConnect=FALSE FlashVars='+flashPARA+' WIDTH='+flashWIDTH+' HEIGHT='+flashHEIGHT+' TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.adobe.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>');
  document.writeln ('</OBJECT>');
}

function FlashEpic3(sURL, sName, sFeatures){ 
  //??? ActiveX ????? ?????. 
  var FLASHCAB = "http://fpdownload.adobe.com/pub/shockwave/cabs/flash/swflash.cab"; 
  var FLASHCID = "CLSID:D27CDB6E-AE6D-11CF-96B8-444553540000"; 
  var FLASHVER = "10,0,12,36"; 
  var sFeature; 
  var sWidth  = "100%"; 
  var sHeight  = "100%"; 
  var pmBoolean = "false"; 
  var sTempArray; 
  var sParamTag = ""; 
  
  sFeature = sFeatures.split(/\s*,\s*/);
  
  for(var i=0; i< sFeature.length ; i++) {
    sTempArray = sFeature[i].split(/\s*=\s*/);
    
    if(sTempArray[0].toLowerCase() == "width") {
      //??
      sWidth = sTempArray[1];
    } else if(sTempArray[0].toLowerCase() == "height") {
      //?? 
      sHeight = sTempArray[1];
    } else {
      //?? ???? ?? 
      if(sTempArray[1].toLowerCase() == "yes" || sTempArray[1] == "1" || sTempArray[1].toLowerCase() == "true") {
        pmBoolean = "true";
      } else if(sTempArray[1].toLowerCase() == "no" || sTempArray[1] == "0" || sTempArray[1].toLowerCase() == "false") {
        pmBoolean = "false";
      } else {
        pmBoolean = sTempArray[1];
      }
      
      sParamTag = "<PARAM NAME='"+sTempArray[0]+"'VALUE='" + pmBoolean + "'>\n"+sParamTag;
    }
  }
  
  document.write("<OBJECT ID='"+sName+"' NAME='"+sName+"' CLASSID='"+FLASHCID+"' CODEBASE='"+FLASHCAB+"#version="+FLASHVER+"' WIDTH='"+sWidth+"' HEIGHT='"+sHeight+"'>");
  document.write("<PARAM NAME='movie' VALUE='" + sURL + "'>"); 
  document.write(sParamTag); 
  document.write("<EMBED SRC='"+sURL+"' MENU='false' WIDTH='"+sWidth+"' HEIGHT='"+sHeight+"' ID='"+sName+"' NAME='"+sName+"' TYPE='application/x-shockwave-flash' PLUGINSPAGE='http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash' />") 
  document.write("</OBJECT>"); 
}

function Flash(flashWIDTH, flashHEIGHT, flashURL){
  document.writeln ('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.adobe.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,12,36" WIDTH='+flashWIDTH+' HEIGHT='+flashHEIGHT+'>');
  document.writeln ('<PARAM NAME=movie VALUE="'+flashURL+'">');
  document.writeln ('<PARAM NAME=allowScriptAccess VALUE=always>');
  document.writeln ('<PARAM NAME=menu VALUE=false>');
  document.writeln ('<PARAM NAME=quality VALUE=high>');
  document.writeln ('<EMBED src="'+flashURL+'" loop=true wmode=transparent allowScriptAccess=always  quality=high swLiveConnect=FALSE WIDTH='+flashWIDTH+' HEIGHT='+flashHEIGHT+' TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.adobe.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>');
  document.writeln ('</OBJECT>');
}

function ukeFlash(flashWIDTH, flashHEIGHT, flashURL){
  document.writeln ('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.adobe.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,12,36" WIDTH='+flashWIDTH+' HEIGHT='+flashHEIGHT+'>');
  document.writeln ('<PARAM NAME=movie VALUE="'+flashURL+'">');
  document.writeln ('<PARAM NAME=allowScriptAccess VALUE=always>');
  document.writeln ('<PARAM NAME=menu VALUE=false>');
  document.writeln ('<param name=wmode value=transparent />');
  document.writeln ('<PARAM NAME=quality VALUE=high>');
  document.writeln ('<EMBED src="'+flashURL+'" loop=true wmode=transparent allowScriptAccess=always  quality=high swLiveConnect=FALSE WIDTH='+flashWIDTH+' HEIGHT='+flashHEIGHT+' TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.adobe.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>');
  document.writeln ('</OBJECT>');
}


function flash9(url, x, y)
{
	document.writeln("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='"+x+"' height='"+y+"'>");
	document.writeln("  <param name='movie' value='"+url+"'>");
	document.writeln("	<param name='wmode' VALUE='transparent'>");
	document.writeln("	<param name='menu' VALUE='false'>");
	document.writeln("  <param name='quality' value='high'>");
	document.writeln("  <param name='allowScriptAccess' value='always'>");
	document.writeln("  <embed src='"+url+"' quality='high' wmode=transparent pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' allowScriptAccess='always' width='"+x+"' height='"+y+"'></embed>");
	document.writeln("</object>");
}