// flashWrite(ÆÄÀÏ°æ·Î, °¡·Î, ¼¼·Î, ¾ÆÀÌµð, ¹è°æ»ö, º¯¼ö, À©µµ¿ì¸ðµå) 
function flashWrite(url,w,h,id,bg,vars,win){ 
// ÇÃ·¡½Ã ÄÚµå Á¤ÀÇ 
var flashStr= 
"<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='"+w+"' height='"+h+"' id='"+id+"' valign='top'>"+ 
"<param name='allowScriptAccess' value='always' />"+ 
"<param name='movie' value='"+url+"' />"+ 
"<param name='FlashVars' value='"+vars+"' />"+ 
"<param name='wmode' value='"+win+"' />"+ 
"<param name='menu' value='false' />"+ 
"<param name='quality' value='high' />"+ 
"<param name='bgcolor' value='"+bg+"' />"+ 
"<embed src='"+url+"' FlashVars='"+vars+"' wmode='"+win+"' menu='false' quality='high' bgcolor='"+bg+"' width='"+w+"' height='"+h+"' name='"+id+"' valign='top' allowScriptAccess='always' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />"+ 
"</object>"; 
// ÇÃ·¡½Ã ÄÚµå Ãâ·Â 
document.write(flashStr); 
} 



  function open_win_pry(){
    window.open('aaa.asp','popup', 'width=740, height=600,toolbar=no, location=no, directories=no, status=no, menubar=no, resizable=no, scrollbars=yes, copyhistory=no');
 }

<!-- topmenu layerº¯È¯ °ü·Ã
function layer() { //v2.0
		var i, visStr, args, theObj,br;
	   	args = layer.arguments;
	   
	   	for (i=0; i<(args.length-1); i+=2) {	   
	    		visStr   = args[i+1];
	    		
	    		if (navigator.appName == 'Netscape' && document.layers != null) {
	     			theObj = eval('document.layers[\''+args[i]+'\']');
	     
	     			if (theObj) theObj.visibility = visStr;
	        		} 
	        		
	    		else if (document.all != null) { //IE
	     		if (visStr == 'show') visStr = 'visible'; //convert vals
	     		if (visStr == 'hide') visStr = 'hidden';
	      			theObj = eval('document.all[\''+args[i]+'\']');
	     			if (theObj) theObj.style.visibility = visStr;
	    		} 
	   	}
	  
	   	return false;
  }

function table(a) {
	   	if (a==1) {
	    		layer('table1','show','table2','hidden','table3','hidden','table4','hidden','table5','hidden','table6','hidden','table7','hidden','table8','hidden','table9','hidden','table10','hidden');    
	   	}
	   	else if (a==2) {
	    		layer('table1','hidden','table2','show','table3','hidden','table4','hidden','table5','hidden','table6','hidden','table7','hidden','table8','hidden','table9','hidden','table10','hidden');    
	   	}
		else if (a==3) {
	    		layer('table1','hidden','table2','hidden','table3','show','table4','hidden','table5','hidden','table6','hidden','table7','hidden','table8','hidden','table9','hidden','table10','hidden');    
	   	}
		else if (a==4) {
	    		layer('table1','hidden','table2','hidden','table3','hidden','table4','show','table5','hidden','table6','hidden','table7','hidden','table8','hidden','table9','hidden','table10','hidden');    
	   	}
		else if (a==5) {
	    		layer('table1','hidden','table2','hidden','table3','hidden','table4','hidden','table5','show','table6','hidden','table7','hidden','table8','hidden','table9','hidden','table10','hidden');    
	   	}
		else if (a==6) {
	    		layer('table1','hidden','table2','hidden','table3','hidden','table4','hidden','table5','hidden','table6','show','table7','hidden','table8','hidden','table9','hidden','table10','hidden');    
		}
		else if (a==7) {
	    		layer('table1','hidden','table2','hidden','table3','hidden','table4','hidden','table5','hidden','table6','hidden','table7','show','table8','hidden','table9','hidden','table10','hidden');    
		}
		else if (a==8) {
	    		layer('table1','hidden','table2','hidden','table3','hidden','table4','hidden','table5','hidden','table6','hidden','table7','hidden','table8','show','table9','hidden','table10','hidden');    
		}
		else if (a==9) {
	    		layer('table1','hidden','table2','hidden','table3','hidden','table4','hidden','table5','hidden','table6','hidden','table7','hidden','table8','hidden','table9','show','table10','hidden');    
		}
		else if (a==10) {
	    		layer('table1','hidden','table2','hidden','table3','hidden','table4','hidden','table5','hidden','table6','hidden','table7','hidden','table8','hidden','table9','hidden','table10','show');    
		}
	   	
	   	else{
	   		layer('table1','hidden','table2','hidden','table3','hidden','table4','hidden','table5','hidden','table6','hidden','table7','hidden','table8','hidden','table9','hidden','table10','hidden');    
	   	}
   }

function imgLAYER(a) {
	   	if (a==1) {
	    		layer('imgLAYER1','show','imgLAYER2','hidden','imgLAYER3','hidden','imgLAYER4','hidden','imgLAYER5','hidden');    
	   	}
	   	else if (a==2) {
	    		layer('imgLAYER1','hidden','imgLAYER2','show','imgLAYER3','hidden','imgLAYER4','hidden','imgLAYER5','hidden');    
	   	}
		else if (a==3) {
	    		layer('imgLAYER1','hidden','imgLAYER2','hidden','imgLAYER3','show','imgLAYER4','hidden','imgLAYER5','hidden');    
	   	}
		else if (a==4) {
	    		layer('imgLAYER1','hidden','imgLAYER2','hidden','imgLAYER3','hidden','imgLAYER4','show','imgLAYER5','hidden');    
	   	}
		else if (a==5) {
	    		layer('imgLAYER1','hidden','imgLAYER2','hidden','imgLAYER3','hidden','imgLAYER4','hidden','imgLAYER5','show');    
	   	}
	   	
	   	else{
	    		layer('imgLAYER1','hidden','imgLAYER2','hidden','imgLAYER3','hidden','imgLAYER4','hidden','imgLAYER5','hidden');    
	   	}
   }













  function open_step1(){
    win=window.open('popup1.asp','popup1', 'width=660, height=500, toolbar=no, location=no, directories=no, status=no, menubar=no, resizable=yes, scrollbars=no, copyhistory=no, titlebar=no');
win.focus(); 
 }


 function open_step2(){
    win=window.open('popup2.asp','popup2', 'width=660, height=500, toolbar=no, location=no, directories=no, status=no, menubar=no, resizable=yes, scrollbars=no, copyhistory=no, titlebar=no');
win.focus(); 
 }

 function open_step3(){
    win=window.open('popup3.asp','popup3', 'width=660, height=261, toolbar=no, location=no, directories=no, status=no, menubar=no, resizable=yes, scrollbars=no, copyhistory=no, titlebar=no');
win.focus(); 
 }




