function ShowOpenWin( sName, sUrl, nLeft, nTop, nWidth, nHeight,scroll, nType){ var CreateWin; if( nType == 2 || nType == 3 || nType == 4 || nType == 5 || nType == 6) { nLeft = ( window.screen.availWidth - nWidth) / 2; nTop = ( window.screen.availHeight - nHeight) / 2; if (nLeft < 0) nLeft = 0; if (nTop < 0) nTop = 0; } if( nType == 0) sFeatures = "left="+ nLeft +", top="+ nTop +", width="+ nWidth +", height="+ nHeight; else if( nType ==3) sFeatures = "fullscreen=no,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no, left="+ nLeft +", top="+ nTop +", width="+ nWidth +", height="+ nHeight; else if( nType ==4) sFeatures = "fullscreen=no,toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes, left="+ nLeft +", top="+ nTop +", width="+ nWidth +", height="+ nHeight; else if( nType ==5) sFeatures = "fullscreen=no,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes, left="+ nLeft +", top="+ nTop +", width="+ nWidth +", height="+ nHeight; else if( nType ==6) sFeatures = "fullscreen=no,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes, left="+ nLeft +", top="+ nTop +", width="+ nWidth +", height="+ nHeight; else if( nType ==7) sFeatures = "fullscreen=no,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars="+scroll+",resizable=no, left="+ nLeft +", top="+ nTop +", width="+ nWidth +", height="+ nHeight; else sFeatures = "fullscreen=no,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes, left="+ nLeft +", top="+ nTop +", width="+ nWidth +", height="+ nHeight; CreateWin = window.open( sUrl, sName, sFeatures); } var rolling_banner = function(ta){ this.ta = ta; this.ta_id = 'roll_'+(this.ta.id||this.ta.name); this.gap = 5; //¿òÁ÷ÀÌ´Â Çȼ¿´ÜÀ§ this.gap_count=0; //Ä«¿îÆÃ¿ë:°ÇµéÁö ¸¶¼¼¿ä this.gap_time = '1000'; //¿òÁ÷ÀÌ´Â ´ÜÀ§½Ã°£ this.gap_sleep = '1000'; //ȸéÀÌ ¸ØÃçÀÖÀ» ´ÜÀ§½Ã°£ this.over_stop = true; //¸¶¿ì½º¸¦ ¿Ã·ÈÀ» ¶§ ¸ØÃâ °ÍÀΰ¡? this.timer = null; eval(this.ta_id+'=this'); var temp = eval(this.ta_id); this.init_div(); } rolling_banner.prototype.start = function(){ //·Ñ¸µ ½ÃÀÛ this.ta.readonly =false; this.stop =false; if(!this.timer){ this.rolling(); } } rolling_banner.prototype.stop = function(){ //·Ñ¸µ ½ÃÀÛ this.stop =true; } rolling_banner.prototype.init_div = function(){ //