function bluring() { try{ if(event.srcElement.tagName=='A'||event.srcElement.tagName=='IMG') { document.body.focus(); } }catch( e ) { } } try{ document.onfocusin=bluring; }catch( e ) { } var rurl = location.href; var purl = getUrl(rurl); function getUrl(url_str) { var real_url; if (url_str.indexOf('/') > 0) { real_url = url_str.split('/'); real_url = real_url[0]+'//'+real_url[2]+'/'+real_url[3]+'/'; } return real_url; } function goLocate(go_url) { document.location = purl + go_url; } function swf_include(swfUrl,swfWidth,swfHeight,bgColor,swfName,access,flashVars){ // Ç÷¡½Ã ÄÚµå Á¤ÀÇ var flashStr= ""+ ""+ ""+ ""+ ""+ ""+ ""+ ""+ ""+ ""+ ""+ ""; // Ç÷¡½Ã ÄÚµå Ãâ·Â document.write(flashStr); }; /****** menu ¸µÅ© *****************/ function menu1() { location.href = "/cubedbox23/company/company/ceo_message.php"; } function menu2() { location.href = "/cubedbox23/business/business_5.php"; } function menu3() { location.href = "/cubedbox23/product/product_01.php"; } function menu4() { location.href = "/cubedbox23/rnd/rnd_01.php";} function menu5() { location.href = "/cubedbox23/customer/notice.php"; } /******* company ¸µÅ© *****************/ function menu1sub1() { location.href = "/cubedbox23/company/company/ceo_message.php"; } function menu1sub2() { location.href = "/cubedbox23/company/institution.php"; } function menu1sub3() { location.href = "/cubedbox23/company/company/history.php"; } /******* business ¸µÅ© *****************/ function menu2sub1() { location.href = "/cubedbox23/business/business_5.php"; } function menu2sub2() { location.href = "/cubedbox23/business/business_1.php"; } function menu2sub3() { location.href = "/cubedbox23/business/business_2.php"; } function menu2sub4() { location.href = "/cubedbox23/business/business_3.php"; } function menu2sub5() { location.href = "/cubedbox23/business/business_4.php"; } /******* product ¸µÅ© *****************/ function menu3sub1() { location.href = "/cubedbox23/product/product_01.php"; } /******* b2b shop ¸µÅ© *****************/ function menu4sub1() { location.href = "/cubedbox23/rnd/rnd_01.php"; } /******* company ¸µÅ© *****************/ function menu5sub1() { location.href = "/cubedbox23/customer/notice.php"; } function menu5sub2() { location.href = "/cubedbox23/customer/recruit.php"; } function na_open_window(name, url, left, top, width, height, toolbar, menubar, statusbar, scrollbar, resizable) { toolbar_str = toolbar ? 'yes' : 'no'; menubar_str = menubar ? 'yes' : 'no'; statusbar_str = statusbar ? 'yes' : 'no'; scrollbar_str = scrollbar ? 'yes' : 'no'; resizable_str = resizable ? 'yes' : 'no'; cookie_str = document.cookie; cookie_str.toString(); pos_start = cookie_str.indexOf(name); pos_end = cookie_str.indexOf('=', pos_start); cookie_name = cookie_str.substring(pos_start, pos_end); pos_start = cookie_str.indexOf(name); pos_start = cookie_str.indexOf('=', pos_start); pos_end = cookie_str.indexOf(';', pos_start); if (pos_end <= 0) pos_end = cookie_str.length; cookie_val = cookie_str.substring(pos_start + 1, pos_end); if (cookie_name == name && cookie_val == "done") return; window.open(url, name, 'left='+left+',top='+top+',width='+width+',height='+height+',toolbar='+toolbar_str+',menubar='+menubar_str+',status='+statusbar_str+',scrollbars='+scrollbar_str+',resizable='+resizable_str); }