function movie(flashName, width,height)

{document.write("<object classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0 width='"+width+"' height='"+height+"'>");

 document.write("<param name=movie value='"+flashName+"'>");

 document.write("<param name=wmode value=transparent >");

 document.write("<embed src='"+flashName+"' quality=high pluginspage=http://www.macromedia.com/go/getflashplayer type=application/x-shockwave-flash width='"+width+"' height='"+height+"'></embed>");

 document.write("</object>");

}

function handle_Layer(){

   var div_Layer = document.getElementById("login_page"); 
   var div_login =  document.getElementById("login_layer");
   var AttendLayer =  document.getElementById("AttendLayer");

   if(AttendLayer.style.display){ 
      div_Layer.style.display = ""; 
      div_login.style.display = ""; 
      AttendLayer.style.display = ""; 
	  self.location.hash='AttendLayer';
	  document.body.style.overflow='hidden';

   }else{ 

      div_Layer.style.display = "none";
      div_login.style.display = "none"; 
      AttendLayer.style.display = "none"; 
	  document.body.style.overflow='auto';
   }

}

	function flashTrace(url,id,w,h,bg,vars,win){
// flashWrite(ÆÄÀÏ°æ·Î, °¡·Î, ¼¼·Î, ¾ÆÀÌµð, ¹è°æ»ö, º¯¼ö, À©µµ¿ì¸ðµå)
		var flashStr=
		"<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,115,0' width='"+w+"' height='"+h+"' id='"+id+"' align='middle'>"+
		"<param name='allowScriptAccess' value='always' />"+
		"<param name='movie' value='"+url+"' />"+
		"<param name='base' value='swf' />"+
		"<param name='FlashVars' value='"+vars+"' />"+
		"<param name='wmode' value='"+win+"' />"+
		"<param name='quality' value='high' />"+
		"<param name='bgcolor' value='"+bg+"' />"+
		"<embed src='"+url+"' base='swf' FlashVars='"+vars+"' wmode='"+win+"' quality='high' bgcolor='"+bg+"' width='"+w+"' height='"+h+"' name='"+id+"' align='middle' allowScriptAccess='always' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />"+
		"</object>";
		document.write(flashStr);
	}