document.write(''); function GnbMainLayerClose() { try{ GnbMainLayerSetCookie("GnbMainLayer","y",1,"/","incruit.com",""); jQuery("#headTopBanner").remove(); }catch(e){ jQuery("#headTopBanner").remove(); } } function GnbMainLayerSetCookie(name,value){ try{ var expires=new Date(); var path,domain,secure; var argv=GnbMainLayerSetCookie.arguments; var argc=GnbMainLayerSetCookie.arguments.length; if(argc>2){ if(argv[2]!=""){ expires.setTime(expires.getTime()+(1000*60*60*24*argv[2])); }else{ expires=null; } }else{ expires=null; } path=(argc>3)?argv[3]:null;domain=(argc>4)?argv[4]:null;secure=(argc>5)?argv[5]:false; document.cookie=name+"="+escape(value)+((expires == null)?"":(";expires="+expires.toGMTString()))+((path == null)?"":(";path="+path))+((domain == null)?"":(";domain="+domain))+((secure==true)?";secure":""); }catch(e){ } } jQuery(document).ready(function(){ try{ if(document.cookie.indexOf("GnbMainLayer=y")<0){ jQuery("#headTopBanner").show(); } }catch(e){ jQuery("#headTopBanner").remove(); } //필수 고정 : 이벤트 진행시 꼭 있어야 함. => 메인 우측 스크롤 이슈 if (typeof scrollTools == "object") { scrollTools = $('.tools_util').offset(); } });