	// JavaScript Document
	//»õÃ¢ °¡¿îµ¥·Î ¶ç¿ì±â
	function NewWindow(mypage, myname, w, h, scroll){
		var winl = (screen.width - w) / 2;
		var wint = (screen.height - h) / 2;
		winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',noresize';
		win = window.open(mypage, myname, winprops)
		if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
	}


		//»õÃ¢ °¡¿îµ¥·Î ¶ç¿ì±â
	function new_window(mypage, myname, w, h, scroll)
	{
		var winl = (screen.width - w) / 2;
		var wint = (screen.height - h) / 2;
		winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',toolbar=yes,location=yes,status=yes,menubar=yes,resizable=yes';
		win = window.open(mypage, myname, winprops)
		if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
	} 


//Áñ°ÜÃ£±â
function goBookmark() {
	window.external.AddFavorite('http://www.hangulinternet.com/','::: ÇÑ±Û°ú ÀÎÅÍ³Ý :::');
}

function sitelink2(code,url) {
        var LinkCode2 = code
        var Linkurl = url
                // ·Î±×ÀÎ
        if (LinkCode2 == "login") {
                document.location.href = "/login/index.asp?refererUrl="+Linkurl
		}
}

function sitelink(code) {
        var LinkCode = code
                // È¨(¸ÞÀÎ)
        if (LinkCode == "home") {
                document.location.href = "/"
                // È¨(È¨ÆäÀÌÁöÁ¦ÀÛ)
	   } else if (LinkCode == "homepage_home") {
                document.location.href = "/homepage/"
                // È¨(È£½ºÆÃ)
	   } else if (LinkCode == "hosting_home") {
                document.location.href = "/hosting/"
                // È¨(½Ã½ºÅÛ°³¹ß)
	   } else if (LinkCode == "system_home") {
                document.location.href = "/system/"
                // È¨(¿Â¶óÀÎ¸¶ÄÉÆÃ)
	   } else if (LinkCode == "marketing_home") {
                document.location.href = "/marketing/"
                // È¨(ÇÑ±Û°úÀÎÅÍ³Ý)
	   } else if (LinkCode == "hangul_home") {
                document.location.href = "/hangul/"

// ¸â¹ö½± ===========================================================================================
	            // È¸¿ø°¡ÀÔ
       } else if (LinkCode == "memjoin") { 
                document.location.href = "/member/index.asp"
	            // È¸¿øÁ¤º¸¼öÁ¤
       } else if (LinkCode == "memedit") { 
                document.location.href = "/myzone/index.asp?pgNm=01"
	            // È¸¿øÁ¤º¸¼öÁ¤
       } else if (LinkCode == "memout") { 
                document.location.href = "/myzone/index.asp?pgNm=04"
	            // ·Î±×ÀÎ
       } else if (LinkCode == "login") { 
                document.location.href = "/login/index.asp"
	            // ·Î±×¾Æ¿ô
       } else if (LinkCode == "logout") { 
                document.location.href = "/login/logoutOk.asp"
	            // ¾ÆÀÌµðºñ¹øÃ£±â
       } else if (LinkCode == "idpw_search") { 
                document.location.href = "/login/search.asp"
	            // °³ÀÎÁ¤º¸Ãë±Þ¹æÄ§
       } else if (LinkCode == "privacy") { 
                document.location.href = "/member/index.asp?pgNm=12"
	            // ÀÌ¿ë¾à°ü
       } else if (LinkCode == "useagree") { 
                document.location.href = "/member/index.asp?pgNm=11"

// Ä«ÇÇ¶óÀÌÆ® ===========================================================================================
	            // È¸»ç¼Ò°³
       } else if (LinkCode == "comInfo01") { 
                document.location.href = "/hangul/company/index.asp"
	            // Á¦ÈÞ¾È³»
       } else if (LinkCode == "jehuInfo") { 
                document.location.href = "/member/index.asp?pgNm=13"
	            // È¸»çÀ§Ä¡¾È³»
       } else if (LinkCode == "comInfo02") { 
                document.location.href = "/hangul/company/index.asp?pgNm=04"
				// »çÀÌÆ®¸Ê
       } else if (LinkCode == "sitemap") { 
                document.location.href = "/sitemap.asp"

// °í°´¼¾ÅÍ ===========================================================================================
	            // ¸ÞÀÎ
       } else if (LinkCode == "customer") { 
                document.location.href = "/cs/index.asp?pgNm=04"
	            // °øÁö»çÇ×
       } else if (LinkCode == "notice") { 
                document.location.href = "/cs/board/default.asp?checkT=notice"
	            // FAQ
       } else if (LinkCode == "faq") { 
                document.location.href = "/cs/board/default.asp?checkT=faq"
	            // 1:1»ó´ã
       } else if (LinkCode == "onetoone") { 
                document.location.href = "/cs/index.asp?pgNm=03"

// ¸¶ÀÌÁ¸ ===========================================================================================
	            // ¸ÞÀÎ
       } else if (LinkCode == "myzone") { 
                document.location.href = "/myzone/index.asp"


// È¨ÆäÀÌÁö ===========================================================================================
	  
		// »ó¼¼°ßÀû¿äÃ»
       } else if (LinkCode == "estimation") { 
                document.location.href = "/homepage/estimation/index.asp?home=1&sub=4"
		// »ó¼¼°ßÀû¸®½ºÆ®
       } else if (LinkCode == "estiList") { 
                document.location.href = "/homepage/awards/index.asp?pgNm=03&home=3&sub=1"
	  // project awards 
       } else if (LinkCode == "project") { 
                document.location.href = "/homepage/awards/Default.asp?home=3&sub=1"
	 //PORTFOLIO 
       } else if (LinkCode == "portfolio") { 
                document.location.href = "/homepage/portfolio/index.asp?home=2&sub=1"

	 //SERVICE 
	     // À¥»çÀÌÆ®±¸Ãà
       } else if (LinkCode == "sub01_1") { 
                document.location.href = "/homepage/service/index.asp?home=1&sub=1"
				// Á¦ÀÛ¾È³»
       } else if (LinkCode == "sub01_2") { 
                document.location.href = "/homepage/service/index.asp?pgNm=01&home=1&sub=2"
				// À¯Áöº¸¼ö
       } else if (LinkCode == "sub01_3") { 
                document.location.href = "/homepage/service/index.asp?pgNm=02&home=1&sub=3"				
				// À¯Áöº¸¼ö½ÅÃ»
       } else if (LinkCode == "sub01_4") { 
                document.location.href = "/homepage/service/index.asp?pgNm=03&home=1&sub=3"				
				// ¼­ºñ½º½ÅÃ»³»¿ª
       } else if (LinkCode == "sub01_5") { 
                document.location.href = "/homepage/service/index.asp?pgNm=04&home=1&sub=5"				
											
				
	//EVENT
	      // ÁøÇàÁßÀÎ ÀÌº¥Æ®
       } else if (LinkCode == "ing_event") { 
                document.location.href = "/event/"
				// Áö³­ ÀÌº¥Æ®
       } else if (LinkCode == "end_event") { 
                document.location.href = "/event/board/Default.asp?checkT=end_event"
				//´çÃ·ÀÚ¹ßÇ¥
       } else if (LinkCode == "event") { 
                document.location.href = "/event/board/Default.asp?checkT=event"

// È£½ºÆÃ ===========================================================================================
		          // À¥È£½ºÆÃ»óÇ°
     } else if (LinkCode == "webhosting_pro") { 
                document.location.href = "/hosting/service/index.asp?pgNm=01&host=2&sub=1"

// ½Ã½ºÅÛ°³¹ß ===========================================================================================
         //ºñÁö´Ï½ºÄÁ¼³ÆÃ 
	        // BPR 
     } else if (LinkCode == "sys01_1") { 
                document.location.href = "/system/biz/index.asp?pgNm="
	        // ERP 
     } else if (LinkCode == "sys01_2") { 
                document.location.href = "/system/biz/index.asp?pgNm=01"
	        // CRM 
     } else if (LinkCode == "sys01_3") { 
                document.location.href = "/system/biz/index.asp?pgNm=02"
	        // KMS 
     } else if (LinkCode == "sys01_4") { 
                document.location.href = "/system/biz/index.asp?pgNm=03"
	        // GROUP WARE 
     } else if (LinkCode == "sys01_5") { 
                document.location.href = "/system/biz/index.asp?pgNm=04"

        //½Ã½ºÅÛ ³×Æ®¿öÅ© 
	        // ½Ã½ºÅÛÅëÇÕ
     } else if (LinkCode == "sys02_1") { 
                document.location.href = "/system/net/index.asp?pgNm="
	        // ³×Æ®¿öÅ©ÅëÇÕ
     } else if (LinkCode == "sys02_2") { 
                document.location.href = "/system/net/index.asp?pgNm=01"

        //¼Ö·ç¼Ç¼­ºñ½º 
	        // ¼îÇÎ¸ô¼Ö·ç¼Ç
     } else if (LinkCode == "sys03_1") { 
                document.location.href = "/system/solution/index.asp?pgNm="
	        // Á¦Á¶¹°·ù°ü¸®
     } else if (LinkCode == "sys03_2") { 
                document.location.href = "/system/solution/index.asp?pgNm=01"
	        // ±â¾÷Çüsms
     } else if (LinkCode == "sys03_3") { 
                document.location.href = "/system/solution/index.asp?pgNm=02"
	        // ¿µ¾÷Áö¿ø
     } else if (LinkCode == "sys03_4") { 
                document.location.href = "/system/solution/index.asp?pgNm=03"

        //¼º°ø»ç·Ê 
     } else if (LinkCode == "sys04_1") { 
                document.location.href = "/system/board/default.asp?checkT=case"
        // °í°´»ó´ã¹®ÀÇ
     } else if (LinkCode == "sys05_1") { 
                document.location.href = "/system/board/default.asp?checkT=qna"



// ¿Â¶óÀÎ¸¶ÄÉÆÃ ===========================================================================================
	   
		 // ÇÑ±Û°úÀÎÅÍ³ÝÁÖ¼Ò
		          // ÇÑ±Û°úÀÎÅÍ³ÝÁÖ¼Ò
     } else if (LinkCode == "on_hanad01") { 
                document.location.href = "/marketing/hanaddress/index.asp?main=1&sub=1"
							// ÇÑ±Û°úÀÎÅÍ³ÝÁÖ¼Ò Á¾·ù ¹×¾È³»
     } else if (LinkCode == "on_hanad02") { 
                document.location.href = "/marketing/hanaddress/index.asp?pgNm=01&main=1&sub=2"
							// ±âº»Çü
     } else if (LinkCode == "on_hanad0201") { 
                document.location.href = "/marketing/hanaddress/index.asp?pgNm=0101&typeNm=2&main=1&sub=2"
							// °³ÀÎÀÌ¸§Çü
     } else if (LinkCode == "on_hanad0202") { 
                document.location.href = "/marketing/hanaddress/index.asp?pgNm=0102&typeNm=3&main=1&sub=2"
							// Å¬·´Çü
     } else if (LinkCode == "on_hanad0203") { 
                document.location.href = "/marketing/hanaddress/index.asp?pgNm=0103&typeNm=4&main=1&sub=2"
								// ±×·ìÇü
     } else if (LinkCode == "on_hanad0204") { 
                document.location.href = "/marketing/hanaddress/index.asp?pgNm=0104&typeNm=4&main=1&sub=2"
								// ±×·ìÇü
     } else if (LinkCode == "on_hanad0205") { 
                document.location.href = "/marketing/hanaddress/index.asp?pgNm=0105&typeNm=4&main=1&sub=2"
								// ±×·ìÇü
     } else if (LinkCode == "on_hanad0206") { 
                document.location.href = "/marketing/hanaddress/index.asp?pgNm=0106&typeNm=4&main=1&sub=2"
								// µ¿½Ãµî·ÏÁÖ¼Ò °ü¸®¸Þ´º
     } else if (LinkCode == "on_hanad0207") { 
                document.location.href = "/marketing/hanaddress/index.asp?pgNm=0107&typeNm=4&main=1&sub=2"
								
	
	} else if (LinkCode == "on_hanad31") { 
                document.location.href = "/marketing/hanaddress/index.asp?pgNm=02&main=1&sub=3"
	} else if (LinkCode == "on_hanad32") { 
                document.location.href = "/marketing/hanaddress/index.asp?pgNm=32&typeNm=4&main=1&sub=2"
	} else if (LinkCode == "on_hanad34") { 
                document.location.href = "/marketing/hanaddress/index.asp?pgNm=35&main=1&sub=4"
	} else if (LinkCode == "on_hanad35") { 
                document.location.href = "/marketing/hanaddress/index.asp?pgNm=35&typeNm=4&main=1&sub=2"
	} else if (LinkCode == "on_hanad36") { 
                document.location.href = "/marketing/hanaddress/index.asp?pgNm=36&typeNm=4&main=1&sub=2"
	} else if (LinkCode == "on_hanad37") { 
                document.location.href = "/marketing/hanaddress/index.asp?pgNm=37&typeNm=4&main=1&sub=2"


							// ÇÑ±ÛÀÎÅÍ³ÝÁÖ¼Òµî·Ï
     } else if (LinkCode == "on_hanad03") { 
                document.location.href = "/marketing/hanaddress/index.asp?pgNm=02&main=1&sub=3"
							// ÇÑ±ÛÀÎÅ×³ÝÁÖ¼Ò±â°£¿¬Àå
     } else if (LinkCode == "on_hanad04") { 
                document.location.href = "/marketing/hanaddress/index.asp?pgNm=35&main=1&sub=4"	
							// À¯º¸¾î ºÐ·ù±âÁØ
     } else if (LinkCode == "on_hanad05") { 
                document.location.href = "/marketing/hanaddress/index.asp?pgNm=04&main=1&sub=5"	
							// ÇÑ±ÛÀÎÅÍ³ÝÁÖ¼Ò ¿î¿µÀÇ º¯
     } else if (LinkCode == "on_hanad0501") { 
                document.location.href = "/marketing/hanaddress/index.asp?pgNm=041&main=1&sub=5"	
		
				
			
		// Ã£±â±¤°í
	            // Ã£±â±¤°í»óÇ°¾È³»
     } else if (LinkCode == "on_find01") { 
                document.location.href = "/marketing/find/index.asp?main=2&sub=1"
	            // °¡°Ý ¹× °áÀç¾È³» 
     } else if (LinkCode == "on_find02") { 
                document.location.href = "/marketing/find/index.asp?pgNm=01&main=2&sub=2"
				     // ±¤°í¹®ÀÇ 
     } else if (LinkCode == "on_find03") { 
                document.location.href = "/marketing/adver.asp?key_text=1&main=2&sub=3"
				     // Ã£±â±¤°í FAQ 
     } else if (LinkCode == "on_find04") { 
                document.location.href = "/marketing/board/default.asp?checkT=find_faq&main=2&sub=4"
								
								
			// kt
	            // ±¤°í»óÇ°¾È³»
     } else if (LinkCode == "on_kt01") { 
                document.location.href = "/marketing/kt/index.asp?main=3&sub=1"
	            // µî·Ïºñ¿ë¾È³» 
     } else if (LinkCode == "on_kt02") { 
                document.location.href = "/marketing/kt/index.asp?pgNm=02&main=3&sub=2"
								
								
			// ·Î±×ºÐ¼®
	            // ·Î±×ºÐ¼®
     } else if (LinkCode == "on_log01") { 
                document.location.href = "/marketing/loganalysis/index.asp?main=4&sub=1"
			          // ·Î±×ºÐ¼®
     } else if (LinkCode == "on_log02") { 
                document.location.href = "/marketing/loganalysis/index.asp?pgNm=01&main=4&sub=2"				
								
								
	   // ¿À¹öÃß¾î
	            // ¿À¹öÃß¾î¼Ò°³
     } else if (LinkCode == "on_over01") { 
                document.location.href = "/marketing/overture/index.asp?main=5&sub=1"
	            // ¿À¹öÃß¾îÁøÇàÀýÂ÷
     } else if (LinkCode == "on_over02") { 
                document.location.href = "/marketing/overture/index.asp?pgNm=01&main=5&sub=2"
				      // ¿À¹öÃß¾î FAQ 
     } else if (LinkCode == "on_over03") { 
                document.location.href = "/marketing/board/default.asp?checkT=overture_faq&main=5&sub=3"
				      // ±¤°í¹®ÀÇ
     } else if (LinkCode == "on_over04") { 
                document.location.href = "/marketing/adver.asp?key_text=2&main=5&sub=4"
								
								
	   // ±¸±Û
	            // ±¸±Û¼Ò°³
     } else if (LinkCode == "on_google01") { 
                document.location.href = "/marketing/google/index.asp?main=6&sub=1"
	            // ±¸±ÛÁøÇàÀýÂ÷
     } else if (LinkCode == "on_google02") { 
                document.location.href = "/marketing/google/index.asp?pgNm=01&main=6&sub=2"
				     // ±¸±Û FAQ 
     } else if (LinkCode == "on_google03") { 
                document.location.href = "/marketing/board/default.asp?checkT=google_faq&main=6&sub=3"
				     // ±¤°í¹®ÀÇ
     } else if (LinkCode == "on_google04") { 
                document.location.href = "/marketing/adver.asp?key_text=3&main=6&sub=4"
								
								
	   // ³×ÀÌ¹öÅ¬¸¯ÃÊÀÌ½º
		 
	            // ³×ÀÌ¹öÅ¬¸¯ÃÊÀÌ½º¼Ò°³
     } else if (LinkCode == "on_naver01") { 
                document.location.href = "/marketing/naver/index.asp?main=7&sub=1"
	            // Ç°ÁúÁö¼öUP
     } else if (LinkCode == "on_naver02") { 
                document.location.href = "/marketing/naver/index.asp?pgNm=01&main=7&sub=2"
				      // Å¬¸¯ÃÊÀÌ½º ÁøÇàÀýÂ÷ 
     } else if (LinkCode == "on_naver03") { 
                document.location.href = "/marketing/naver/index.asp?pgNm=02"
				      // Å¬¸¯ÃÊÀÌ½º FAQ 
     } else if (LinkCode == "on_naver04") { 
                document.location.href = "/marketing/board/default.asp?checkT=naver_faq&main=7&sub=4"
				      // ÇÃ·¯½ºÇÁ·Î
     } else if (LinkCode == "on_naver06") { 
                document.location.href = "/marketing/naver/index.asp?pgNm=05&main=7&sub=5"				
				      // ±¤°í¹®ÀÇ
     } else if (LinkCode == "on_naver05") { 
                document.location.href = "/marketing/adver.asp?key_text=4&main=7&sub=6"

// ÇÑ±Û°úÀÎÅÍ³Ý ===========================================================================================
 	     // ¼­ºñ½º
		          // ¼­ºñ½º
     } else if (LinkCode == "service") { 
                document.location.href = "/hangul/service/index.asp"
		 // ÀÎÀçÃ¤¿ë
		          // ÀÎÀçÃ¤¿ë
     } else if (LinkCode == "recurit") { 
                document.location.href = "/hangul/recruit/index.asp"

// ´Ù¿î·Îµå¼¾ÅÍ ===========================================================================================
 	     // ³ÝÇÇ¾Æ ÅëÇÕÅø¹Ù
     } else if (LinkCode == "down_center01") { 
                document.location.href = "/inc/down/NetpiaToolbarSetup.exe"
		 // PCÅ¬¸°
     } else if (LinkCode == "down_center02") { 
                document.location.href = "/inc/down/PC-Cleansetup.exe"
		 // ÇÑ±ÛÀÎÅÍ³ÝÁÖ¼Ò µµ¿ì¹Ì
     } else if (LinkCode == "down_center03") { 
                document.location.href = "/inc/down/netpia_doumi.exe"

// ÇÁ·ÎÁ§Æ® »çÀÌÆ® ===========================================================================================
    // ¸ÞÀÎ È¨
     } else if (LinkCode == "project_home") { 
                document.location.href = "/project/default.asp"
    // °øÁö»çÇ×
     } else if (LinkCode == "project_notice") { 
                document.location.href = "/project/board/Default.asp?checkT=notice"
    // FAQ
     } else if (LinkCode == "project_faq") { 
                document.location.href = "/project/board/Default.asp?checkT=faq"
    // °áÁ¦ÇÏ±â
     } else if (LinkCode == "project_credit") { 
                document.location.href = "/project/index.asp?pgNm=05"

// ºÎ°¡¼­ºñ½º ===========================================================================================
    
	// ½Ç¸íÈ®ÀÎ¼­ºñ½º ¼Ò°³ 
     } else if (LinkCode == "add01") { 
    //            document.location.href = "/service/index.asp"
				  alert('¼­ºñ½º ÁØºñÁßÀÔ´Ï´Ù.');
	// SSL À¥¼­¹ö ÀÎÁõ¼­ 
     } else if (LinkCode == "add02") { 
                document.location.href = "/service/index.asp?pgNm=01"

	}
}


function foli1() { location.replace("/homepage/portfolio/index.asp?stab=2&syear=2009&home=2&sub=1"); }
function foli2() { location.replace("/homepage/portfolio/index.asp?stab=2&syear=2008&home=2&sub=1"); }
function foli3() { location.replace("/homepage/portfolio/index.asp?stab=2&syear=2007&home=2&sub=1"); }
function foli4() { location.replace("/homepage/portfolio/index.asp?stab=2&syear=2006&home=2&sub=1"); }
function foli5() { location.replace("/homepage/portfolio/index.asp?stab=2&syear=2005&home=2&sub=1"); }
function foli6() { location.replace("/homepage/portfolio/index.asp?stab=2&syear=2004&home=2&sub=1"); }
function type1() { location.replace("/homepage/portfolio/index.asp?stab=1&stype=1&home=2&sub=2"); }
function type2() { location.replace("/homepage/portfolio/index.asp?stab=1&stype=2&home=2&sub=2"); }
function type3() { location.replace("/homepage/portfolio/index.asp?stab=1&stype=3&home=2&sub=2"); }
function type4() { location.replace("/homepage/portfolio/index.asp?stab=1&stype=4&home=2&sub=2"); }


//ÇÃ·¡½Ã
function ShowFlash(obj,strMediaURL,obj_width,obj_height)  {
	var sTag = ''
		+ '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="' + obj_width + '" height="' + obj_height + '">'
		+ '<param name="movie" value="' + strMediaURL + '">'
		+ '<param name="quality" value="best">'
		+ '<param name="WMode" value="Transparent">'
		+ '<embed src="' + strMediaURL + '" quality="best" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="' + obj_width + '" height="' + obj_height + '"></embed>'
		+ '</object>'
		+ '';
	document.write (sTag);
}
function swap_image(img, txt, ext)
{
    if(img.src.indexOf(txt) == -1)
        img.src = img.src.replace(ext, txt+ext);
}
function change_image(img, src, des)
{
    if(src != des)
        img.src = img.src.replace(des, "");
}
//onfocus='blur();' ¸¦ ÇÑ¹ø¿¡
function bluring(){
	if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG") document.body.focus();
	}
	document.onfocusin=bluring;


