/* function MakeFlash(Url,Width,Height){ document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); } */ /* 이미지 클릭시 라인 없애는 스크립트 */ function bluring(){ if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG") document.body.focus(); } document.onfocusin=bluring; /* input 자동 칸이동 */ function checkInput(self_Val,next_Val,self_Len) { var str = self_Val.value.length; if (str == self_Len) { next_Val.focus(); } } /* 플래쉬 크로스브라우징 2012-07-23 */ function MakeFlash(swf, width, height, flashvars){ var strFlashTag = new String(); if (navigator.appName.indexOf("Microsoft") != -1) { strFlashTag += ''; strFlashTag += ''; strFlashTag += ''; strFlashTag += ''; //strFlashTag += ''; strFlashTag += ''; strFlashTag += ''; strFlashTag += ''; strFlashTag += ''; strFlashTag += ''; strFlashTag += ''; }else{ strFlashTag += ''; strFlashTag += ''; } document.write(strFlashTag); } /* 팝업창 쿠키 2012-08-24 */ function getCookie( name ){ var nameOfCookie = name + "="; var x = 0; while ( x <= document.cookie.length ) { var y = (x+nameOfCookie.length); if (document.cookie.substring( x, y ) == nameOfCookie) { if((endOfCookie=document.cookie.indexOf( ";", y )) == -1) endOfCookie = document.cookie.length; return unescape( document.cookie.substring( y, endOfCookie ) ); } x = document.cookie.indexOf( " ", x ) + 1; if ( x == 0 ) break; } return ""; } /* 팝업 레이어창 닫기 2012-08-24 */ function closeWin(get_Key) { get_Pop = eval("document.all.Popup"+get_Key); get_Pop_id = "pop"+get_Key; if (get_Pop.checked){ setCookie(get_Pop_id,"done",1); } get_layerPopup = eval("document.all.layerPopup"+get_Key); get_layerPopup.style.display = 'none'; } function setCookie(name, value, expiredays){ var todayDate = new Date(); todayDate.setDate(todayDate.getDate() + expiredays); document.cookie = name + "=" + escape(value) + "; path=/; expires=" + todayDate.toGMTString() + ";" }