//document.domain = "www.kosis.kr"; var root = "http://" + document.location.host; if(document.location.host == 'nsportal.stat.go.kr') root = "http://www.kosis.kr"; else if(document.location.host == 'kosis.kr') root = "http://www.kosis.kr"; else if(document.location.host == 'www.kosis.kr:8088') root = "http://www.kosis.kr"; else if(document.location.host == 'www.kosis.kr') root = "http://www.kosis.kr"; //if(document.location.host != 'nsportal.stat.go.kr') // root = "http://nsportal.stat.go.kr"; function home(){ document.location.href= root + "/index.jsp"; } function movie_win() { window.open('/guide/media/mediap.html', 'media', 'top=1,left=1,width=507,height=520,scrollbars=no;'); } //1.±¹³»Åë°è //ÁÖÁ¦º°Åë°è function domestic_01() { document.location.href= root + "/domestic/theme/do01_index.jsp"; } //±â°üº°Åë°è function domestic_02() { document.location.href= root + "/domestic/office/do03_index.jsp"; } //¸íĪº°Åë°è function domestic_03() { document.location.href= root + "/domestic/research/do02_index.jsp"; } //±¹³»Åë°èÇöȲ ---------------// function domestic_04() { document.location.href= root + "/domestic/info/outline/dom0501_index.jsp"; } //2.±¹Á¦Åë°è //ÁÖÁ¦º°Åë°è function international_01() { document.location.href= root + "/international/theme/in01_index.jsp"; } //±¹Á¦Åë°èÀÛ¼º±â°ü -----------// function international_02() { document.location.href= root + "/international/abroad/in03_index.jsp"; } //3.±âȹÅë°è //Å׸¶º°Åë°è function plan_01() { document.location.href= root + "/planstic/stat_theme/use_index.jsp"; } //±¤º¹ÀÌÀüÅë°è ---------------// function plan_02() { document.location.href= root + "/planstic/planning_chosunstic/chosun_index.jsp"; } //Çѱ¹Åë°è¿¬°¨ 2009-11-20ÀÏ º¯°æ---------------// function plan_03() { document.location.href= root + "/planstic/yeonkam/yeonkam_index.jsp"; } //e-Áö¹æÁöÇ¥ function plan_04() { document.location.href= root + "/planstic/stat_jb/theme_index.jsp"; } //Áö¿ªÅë°è 090227 ÃÖº´¿ø // ½Ãµµº°Åë°è -> Áö¿ªÅë°è·Î ¸µÅ©ÁÖ¼Ò ¹Ù²Þ-------------// function plan_05() { document.location.href= root + "/planstic/stat_region/city_index.jsp"; } // ÀÚÈ­»ó 09.06.15ÀÏ ¿î¿µ¼­¹ö Àû¿ë Ãß°¡ function plan_06() { window.open('http://www.kosis.kr/contents/index.jsp', 'jawhasang', 'top=0,left=0,width=1012,height=691,scrollbars=no,resize=0;'); } //ºÏÇÑÅë°èÆ÷ÅÐ 09.07.05 ¿î¿µ¼­¹ö Àû¿ë// function plan_07() { var userwidth = (screen.availWidth - 10); var userheight = (screen.availHeight - 50); // 2009-12-01 ºÏÇÑÅë°èÆ÷Å» ÁÖ¼Òº¯°æ bukhan.kosis.kr --> kosis.kr/bukhan window.open('http://kosis.kr/bukhan', 'north', 'scrollbars=yes,toolbar=yes,location=yes,status=yes,menubar=yes,resizable=yes,width='+userwidth+',height='+userheight+',left=0,top=0'); } // 2009-12-14 °æ±â¼øÈ¯½Ã°è ¿ÀÇ function plan_08() { window.open('http://kosis.kr/bcc/','','resizable=no,left=0,top=0,width=1012,height=691,scrollbars=yes','_blank'); } //4.ÃÖ½Å/ÀαâÅë°è --------------// //ÃÖ½ÅÅë°è function newstar_01() { document.location.href= root + "/newstar/new/ne01_index.jsp"; } //ÀαâÅë°è function newstar_02() { document.location.href= root + "/newstar/star/ne02_index.jsp"; } //5.Åë°è±³½Ç function static_00() { document.location.href= root + "/static/st00_index.jsp"; } //ÀϹÝÀÎÅë°è±³½Ç -------------// function static_01() { document.location.href= root + "/static/man/man01/1172699_1489.jsp"; } //û¼Ò³âÅë°è±³½Ç -------------// function static_02() { document.location.href= root + "/static/teen/teen01/1172947_1500.jsp"; } //¾î¸°ÀÌÅë°è±³½Ç -------------// function static_03() { document.location.href= root + "/static/kids/kids01/kids0601.jsp"; } //Åë°è¹ýÁ¦µµ function static_04() { document.location.href= root + "/static/rule/st03_index.jsp"; } //6.°í°´¼¾ÅÍ //FAQ ----- function cp_01() { document.location.href= root + "/cp/faq/cp01_index.jsp"; } //Q&A ----- function cp_02() { document.location.href= root + "/cp/qna/cp02_index.jsp"; } //»çÀÌÆ®°³¼±ÀÇ°ß -------------// function cp_03() { document.location.href= root + "/cp/opt/cp03_index.jsp"; } //¼³¹®Á¶»ç function cp_04() { document.location.href= root + "/cp/research/cp04_index.jsp"; } //¿À¸¥ÂÊ ¸¶¿ì½º ±ÝÁö window.document.oncontextmenu = new Function("return false"); window.document.onselectstart = new Function("return false"); window.document.ondragstart = new Function("return false");