/****************************************************** * @author : 2009.03.20 BJ.Chu * Description : Show Main Index Mulitizone flash * parameter : position : main , cp (¸ÞÀοë, cp¿ë) * type : P,G,O (Æ÷Åä,°¶·¯¸®) *******************************************************/ function show_main_flash(position, strType) { strType=strType.toUpperCase(); position = position.toUpperCase(); if(position != "CP"){strQuery="?cp=n";} else {strQuery="?cp=y"} switch (strType) { case "P": swf_name="photo.swf"+strQuery; break; case "G": swf_name="gallery.swf"+strQuery; break; default: swf_name="photo.swf"+strQuery; break; } main_flash(swf_name); } function main_flash(swf_name) { var yearMonth = "200903" document.write(''); document.write(''); document.write(''); document.write(''); } function PopUpWindow(Url,windowName,Width,Height,scroll,resize){ if((scroll==null) || (scroll=="")){ scroll = "no"; } if((resize==null) || (resize=="")){ resize = "no"; } var win = window.open(Url,windowName,"toolbar=no,location=no,directory=no,status=yes,menubar=no,scrollbars="+ scroll +",resizable=" + resize + ",top=200,left=350,width="+ Width +",height="+ Height); win.focus(); } function pop_pt(idx) { var p_url = "http://photostory.joins.com/player.asp?idx=" + idx PopUpWindow(p_url,'indexPopup','950','562','no','no'); } function fn_LinkUrl(URL,tg){ var startidx; for (startidx=0;startidx<7;startidx++){ if(URL.indexOf("amp;")>0) URL=URL.substring(0,URL.indexOf("amp;"))+URL.substring((URL.indexOf("amp;")+4),URL.length); } if (tg=="_blank") window.open(URL); else window.top.document.location.href=URL; } function showOpenWin(no){ window.open('http://olympic.sbs.co.kr/pop/olympic_player.jsp?uniqNo='+no,'new','width=725, height=600'); } function ShowOpenWin(no){ window.open('http://olympic.sbs.co.kr/pop/olympic_player.jsp?uniqNo='+no,'new','width=725, height=600'); }