var getVarInIn = location.href.split("/");
var getVarIn = getVarInIn[getVarInIn.length - 1] 
//var myURL = getFuncCF()//Ä¡½Ã¿¡ µû¸¥ ÄÁÆ®·Ñ·¯¸¦ ºÒ·¯ ¿É´Ï´Ù.
//alert(myURL);
var myHeight = "990";
var myWidth = "650";
//alert(getVarIn)
//ÆäÀÌÁö¿¡ µû¸¥ º¯¼ö myURLÀ» Á¤ÀÇÇÕ´Ï´Ù. 
switch(getVarIn){
//Ã¹¹øÂ° ¸Þ´º 
case "":
	myURL = "flash/main.swf?myVar=myVar";
	break;
case "default.html":
	myURL = "flash/main.swf?myVar=myVar";
	break;
case "default2.htm":
	myURL = "flash/main.swf?myVar=myVar";
	break;
case "sub_1_1.html":
	myURL = "flash/sub.swf?myVar=1_1";
	break;
case "sub_1_2.html":
	myURL = "flash/sub.swf?myVar=1_2";
	break;
case "sub_1_3.html":
	myURL = "flash/sub.swf?myVar=1_3";
	break;
case "sub_1_4.html":
	myURL = "flash/sub.swf?myVar=1_4";
	break;
case "sub_1_5.html":
	myURL = "flash/sub.swf?myVar=1_5";
	break;
case "sub_1_6.html":
	myURL = "flash/sub.swf?myVar=1_6";
	break;
case "sub_2_1.html":
	myURL = "flash/sub.swf?myVar=2_1";
	break;
case "sub_2_1_1_1.html":
	myURL = "flash/sub.swf?myVar=2_1";
	break;
case "sub_2_1_1_2.html":
	myURL = "flash/sub.swf?myVar=2_1";
	break;
case "sub_2_1_1_3.html":
	myURL = "flash/sub.swf?myVar=2_1";
	break;
//µÎ¹øÂ° ¸Þ´º
case "sub_2_2a.html":
	myURL = "flash/sub.swf?myVar=2_1";
	break;
case "sub_2_2b.html":
	myURL = "flash/sub.swf?myVar=2_1";
	break;
case "sub_2_2c.html":
	myURL = "flash/sub.swf?myVar=2_1";
	break;
case "sub_2_2d.html":
	myURL = "flash/sub.swf?myVar=2_1";
	break;
case "sub_2_3a.html":
	myURL = "flash/sub.swf?myVar=2_2";
	break;
case "sub_2_3b.html":
	myURL = "flash/sub.swf?myVar=2_1";
	break;
case "sub_2_3c.html":
	myURL = "flash/sub.swf?myVar=2_1";
	break;

//¼¼¹øÂ° ¸Þ´º //³×¹øÂ°¿Í ¸µÅ©¸¦ ¹Ù²ß´Ï´Ù.
case "sub_3_1a.html":
	myURL = "flash/sub.swf?myVar=3_1";
	break;
case "sub_3_1b.html":
	myURL = "flash/sub.swf?myVar=3_1";
	break;
case "sub_3_1c.html":
	myURL = "flash/sub.swf?myVar=3_1";
	break;
case "sub_3_2.html":
	myURL = "flash/sub.swf?myVar=3_2";
	break;

//³×¹øÂ° ¸Þ´º // ¼¼¹øÂ°¿Í ¸µÅ©¸¦ ¹Ù²ß´Ï´Ù. 
case "sub_4_1.html":
	myURL = "flash/sub.swf?myVar=4_1";
	break;
case "sub_4_2.html":
	myURL = "flash/sub.swf?myVar=4_2";
	break;

//´Ù¼¸¹øÂ° ¸Þ´º
case "sub_5_1.html":
	myURL = "flash/sub.swf?myVar=5_1";
	break;

//¿©¼¸¹øÂ° ¸Þ´º
case "list.asp?table=pds_notice_2009":
	myURL = "flash/sub.swf?myVar=6_1";
	break;
case "list.asp?table=pds_notice_2009":
	myURL = "flash/sub.swf?myVar=6_2";
	break;
case "list.asp?table=pds_notice_2009":
	myURL = "flash/sub.swf?myVar=6_3";
	break;
case "sub_4_4.html":
	myURL = "flash/sub.swf?myVar=6_4";
	break;
}


function flashNoLine(myHeight,myWidth){ 
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="') 
document.write(myHeight) 
document.write('" height="') 
document.write(myWidth) 
document.write('" id="mySwf" ><param name="movie" value="') 
document.write(myURL); 
document.write('"><param name="quality" value="high"><param name="allowScriptAccess" value="always"><param name="wmode" value="transparent" ><embed src="') 
document.write(myURL); 
document.write('" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="') 
document.write(myHeight) 
document.write('" height="') 
document.write(myWidth) 
document.write('" ></embed></object>'); 
}
function flashNoLine_url(myHeight,myWidth,myURL){ 
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="') 
document.write(myHeight) 
document.write('" height="') 
document.write(myWidth) 
document.write('" id="mySwf" ><param name="movie" value="') 
document.write(myURL); 
document.write('"><param name="quality" value="high"><param name="allowScriptAccess" value="always"><param name="wmode" value="transparent" ><embed src="') 
document.write(myURL); 
document.write('" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="') 
document.write(myHeight) 
document.write('" height="') 
document.write(myWidth) 
document.write('" ></embed></object>'); 
}
function pop_close(){
alert("Áö±Ý º¸°í ÀÖ´Â À¥ÆäÀÌÁö Ã¢À» ´ÝÀ¸·Á°í ÇÕ´Ï´Ù." + "\n" +  "ÀÌ Ã¢À» ´ÝÀ¸½Ã°Ú½À´Ï±î?");
window.close();
}
function myPopClose(){
window.close();
}
function openWin(url,width,height,name){ 
  sw=screen.availWidth; 
  sh=screen.availHeight; 

  px=(sw-width)/2; 
  py=(sh-height)/2; 

  authwin = window.open(url,name, "width="+width+",height="+height+",left="+px+",top="+py+",menubar=no,toolbar=no,location=no,status=no,scrollbars=no,resizable=no"); 
  authwin.focus(); 
} 
function popWriteDown(myVar){
document.write('<img src = "images/sub_1_5_pop_paper_')
document.write(myVar)
document.write('.jpg" width = "497" height = "725" >')
}
