/* popup open onclick="openWin(this.href,'new','500','300'); return false;" onclick="openWin(this.href,'new','full'); return false;" */ function openWin(url, name, width, height) { if(width == 'full') { // fullscreen일 때 var info = 'fullscreen,scrollbars'; } else { var info = 'width=' + width + ',height=' + height + ',resizable=no, scrollbars=yes, menubars=no,status=no'; } window.open(url, name, info); } /*================================================================= SCRIPT NAME : common EXPLAIN : menu_swapimage WRITTEN DATE : 2006.11. AUTHOR : E-MAIL : COMMENT : =================================================================*/ function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i 650) { setTimeout( function () { self.resizeTo(document.body.scrollWidth + (document.body.offsetWidth-document.body.clientWidth), parseInt(document.body.scrollHeight)); } , 100 ); } else { setTimeout( function () { self.resizeTo(document.body.scrollWidth + (document.body.offsetWidth-document.body.clientWidth), parseInt(650)); } , 100 ); } } catch (e) {} /*try { if (iframeWidth == 0) iframeWidth = document.body.scrollWidth; if (isIE()) { if (document.body.scrollHeight == 0 && getResizeCnt < 10) { setTimeout("resizeFrm()",1000); getResizeCnt++; } if (document.body.scrollHeight > 600) { self.resizeTo(iframeWidth, document.body.scrollHeight + 25); } else { self.resizeTo(iframeWidth, 630); } } else { var fname = parent.document.getElementsByTagName("iframe"); for (i = 0; i < fname.length; i++) { if (fname[i].id.indexOf("ifrm") > -1) { if (fname[i].contentWindow.document.body.scrollHeight > 100) fname[i].style.height = (fname[i].contentWindow.document.body.scrollHeight + 30) + "px"; else fname[i].style.height = "610px"; } } } getResize = true; } catch(e) { //alert(e.message); }*/ } /*================================================================= SCRIPT NAME : common EXPLAIN : leftmenu Set Function WRITTEN DATE : 2006.11. AUTHOR : E-MAIL : COMMENT : =================================================================*/ function clearMenu() { var submenu_ids_str = ",1,2,3,4,5,6,7,8,9,10,11"; var submenu_ids = submenu_ids_str.split(","); for(i=1; i'; Flash_html += ''; Flash_html += ''; Flash_html += ''; Flash_html += ''; Flash_html += ''; Flash_html += '<\/embed>'; Flash_html += ''; document.write(Flash_html); } /*================================================================= SCRIPT NAME : common EXPLAIN : Quick menu Function WRITTEN DATE : 2006.11. AUTHOR : E-MAIL : COMMENT : =================================================================*/ var stmnLEFT = 1055; var stmnGAP1 = 180; var stmnGAP2 = 100; var stmnBASE = 180; var stmnActivateSpeed = 80; var stmnScrollSpeed = 1; var stmnTimer; function RefreshStaticMenu() { var stmnStartPoint, stmnEndPoint, stmnRefreshTimer; stmnStartPoint = parseInt(STATICMENU.style.top, 10); stmnEndPoint = document.body.scrollTop + stmnGAP2; if (stmnEndPoint < stmnGAP1) stmnEndPoint = stmnGAP1; stmnRefreshTimer = stmnActivateSpeed; if ( stmnStartPoint != stmnEndPoint ) { stmnScrollAmount = Math.ceil( Math.abs( stmnEndPoint - stmnStartPoint ) / 15 ); STATICMENU.style.top = parseInt(STATICMENU.style.top, 10) + ( ( stmnEndPoint 1) for (var i=0; i