document.write(''); jQuery(document).ready(function(){ try{ if(MobileMainLayerGetCookie("MobileMainLayer") != "y"){ jQuery("#main_popBanner").show(); } }catch(e){ jQuery("#main_popBanner").remove(); } //필수 고정 : 이벤트 진행시 꼭 있어야 함. => 메인 우측 스크롤 이슈 if (typeof scrollTools == "object") { scrollTools = $('.tools_util').offset(); } }); function MobileMainLayerClose() { try{ MobileMainLayerSetCookie("MobileMainLayer","y",1,"/","incruit.com",""); jQuery("#main_popBanner").remove(); }catch(e){ jQuery("#main_popBanner").remove(); } } function MobileMainLayerSetCookie(name,value){ try{ var expires=new Date(); var path,domain,secure; var argv=MobileMainLayerSetCookie.arguments; var argc=MobileMainLayerSetCookie.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){ } } function MobileMainLayerGetCookie(name){ try{ var nameStr=name+"="; var nameLen=nameStr.length; var cookieLen=document.cookie.length; var i=0; while(i