// ·¹ÇÁÆ® ¸Þ´º( path = ÃÖ»óÀ§ ¸Þ´º, cont = ÃÑ ¼­ºê¸Þ´º °¹¼ö , flag = ÇöÀç À§Ä¡ ¸Þ´º)
	function LeftMenu(path,cont,flag) {
		var file_path = new Array(10);
		
		if (path == 'business') // »ç¾÷°³¿ä ·¹ÇÁÆ®
		{
			file_path[0] = "http://www.hansolpns.com/html/business/aboutht.asp";
			file_path[1] = "http://www.hansolpns.com/html/business/visionht.asp";
			file_path[2] = "http://www.hansolpns.com/html/business/historyht.asp";
			file_path[3] = "http://www.hansolpns.com/html/business/ceoht.asp";
			file_path[4] = "http://www.hansolpns.com/html/business/qmsht.asp";
			file_path[5] = "http://www.hansolpns.com/html/business/dataht.asp";
			file_path[6] = "http://www.hansolpns.com/html/business/mapht.asp";
		}
		if (path == 'pr') // PR ÀÚ·á½Ç
		{
			file_path[0] = "http://www.hansolpns.com/html/pr/dataht.asp";
			file_path[1] = "http://www.hansolpns.com/html/pr/dataht02.asp";
		}
		else if (path == 'itservice') // IT¼­ºñ½º
		{
			file_path[0] = "http://www.hansolpns.com/html/outsourcing01.asp";
			file_path[1] = "http://www.hansolpns.com/html/outsourcing01.asp";
			file_path[2] = "http://www.hansolpns.com/html/outsourcing02.asp";
			file_path[3] = "http://www.hansolpns.com/html/system01.asp";
			file_path[4] = "http://www.hansolpns.com/html/system01.asp";
			file_path[5] = "http://www.hansolpns.com/html/system02.asp";
			file_path[6] = "http://www.hansolpns.com/html/system03.asp";
			file_path[7] = "http://www.hansolpns.com/html/solution01.asp";
			file_path[8] = "http://www.hansolpns.com/html/solution01.asp";
			file_path[9] = "http://www.hansolpns.com/html/solution02.asp";
		}
		else if (path == 'outsourcing') // IT¾Æ¿ô¼Ò½Ì ·¹ÇÁÆ®
		{
			file_path[0] = "http://www.hansolpns.com/html/outsourcing/outline.asp";
			file_path[1] = "http://www.hansolpns.com/html/outsourcing/resultht.asp";
			file_path[2] =  "#";
			file_path[3] = "#";
			file_path[4] = "#";
			file_path[5] = "#";
			file_path[6] = "#";
		}
		else if (path == 'system') // ½Ã½ºÅÛÅëÇÕ
		{
			file_path[0] = "http://www.hansolpns.com/html/system/industry.asp";
			file_path[1] = "http://www.hansolpns.com/html/system/business.asp";
			file_path[2] = "http://www.hansolpns.com/html/system/resultht.asp";
			file_path[3] = "#";
			file_path[4] = "#";
			file_path[5] = "#";
			file_path[6] = "#";
		}
		else if (path == 'packaging') // ÆÐÅ°Â¡¼Ö·ç¼Ç
		{
			file_path[0] = "http://www.hansolpns.com/html/packaging/outline.asp";
			file_path[1] = "http://www.hansolpns.com/html/packaging/products.asp";
			file_path[2] = "http://www.hansolpns.com/html/packaging/customer.asp";
			file_path[3] = "http://www.hansolpns.com/html/packaging/intro.asp";
			file_path[4] = "#";
			file_path[5] = "#";
			file_path[6] = "#";
		}
		else if (path == 'cti') // ±â¾÷Åë½Å»ç¾÷ÆÀ
		{
			file_path[0] = "http://www.hansolpns.com/html/cti/outline.asp";
			file_path[1] = "http://www.hansolpns.com/html/cti/concenter.asp";
			file_path[2] = "http://www.hansolpns.com/html/cti/telephony.asp";
			file_path[3] = "http://www.hansolpns.com/html/cti/kapu.asp";
			file_path[4] = "http://www.hansolpns.com/html/cti/resultht.asp";
			file_path[5] = "#";
			file_path[6] = "#";
		}
		else if (path == 'solutions') // IT ¼Ö·ç¼Ç ·¹ÇÁÆ®
		{
			file_path[0] = "http://www.hansolpns.com/html/solutions/storage_cluster.asp";
			file_path[1] = "http://www.hansolpns.com/html/solutions/itsm.asp";
			file_path[2] = "#";
			file_path[3] = "#";
			file_path[4] = "#";
			file_path[5] = "#";
			file_path[6] = "#";
		}
		else if (path == 'recruit') // Ã¤¿ëÁ¤º¸ ·¹ÇÁÆ®
		{
			file_path[0] = "http://www.hansolpns.com/html/recruit/abilityht.asp";
			file_path[1] = "http://www.hansolpns.com/html/recruit/welfareht.asp";
			file_path[2] = "http://www.hansolpns.com/html/recruit/jobht.asp";
			file_path[3] = "http://www.hansolpns.com/html/recruit/processht.asp";
			file_path[4] = "http://www.hansolpns.com/html/recruit/newsht.asp";
			file_path[5] = "http://www.hansolpns.com/html/recruit/resume.asp";
			file_path[6] = "http://www.hansolpns.com/html/recruit/qnaht.asp";
			file_path[7] = "http://www.hansolpns.com/html/recruit/hday.asp";
		}
		else if (path == 'online') // ¿Â¶óÀÎIR ·¹ÇÁÆ®
		{
			file_path[0] = "http://www.hansolpns.com/html/online/stockht.asp";
			file_path[1] = "http://www.hansolpns.com/html/online/businessht.asp";
			file_path[2] = "http://www.hansolpns.com/html/online/noticeht.asp";
			file_path[3] = "#";
			file_path[4] = "#";
			file_path[5] = "#";
			file_path[6] = "#";
		}
		else if (path == 'support') // °í°´Áö¿ø ·¹ÇÁÆ®
		{
			file_path[0] = "http://www.hansolpns.com/html/support/contactus.asp";
			file_path[1] = "http://www.hansolpns.com/html/support/inquireht.asp";
			file_path[2] = "http://www.hansolpns.com/html/support/privacy.asp";
			file_path[3] = "#";
			file_path[4] = "#";
			file_path[5] = "#";
			file_path[6] = "#";
		}


		document.writeln ("<table width=\"169\" height=\"100%\" valign=\"top\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\">");
		document.writeln ("	<tr>");
		document.writeln ("		<td valign=\"top\">");
		document.writeln ("			<table width=\"169\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" style=\"margin-left:10px\">");
		document.writeln ("				<tr>");
		document.writeln ("					<td><img src=\"/image/"+path+"/lefttitle.gif\" border=\"0\"></td>");
		document.writeln ("				</tr>");
		for (i=1;i<=cont;i++) {
			document.writeln ("			<tr>");
			if(flag == i)
			{
				document.writeln ("			<td><a href=\""+file_path[i-1]+"\"><img ONMOUSEOVER=\"document.images['leftmenu0"+i+"'].src='/image/"+path+"/leftmenu0"+i+"_on.gif'\" ONMOUSEOUT=\"document.images['leftmenu0"+i+"'].src='/image/"+path+"/leftmenu0"+i+"_on.gif'\" src=\"/image/"+path+"/leftmenu0"+i+"_on.gif\" border=\"0\" name=\"leftmenu0"+i+"\"></a></td>");
				
			}
			else
			{
				document.writeln ("			<td><a href=\""+file_path[i-1]+"\" ONMOUSEOVER=\"document.images['leftmenu0"+i+"'].src='/image/"+path+"/leftmenu0"+i+"_on.gif'\" ONMOUSEOUT=\"document.images['leftmenu0"+i+"'].src='/image/"+path+"/leftmenu0"+i+".gif'\"><img src=\"/image/"+path+"/leftmenu0"+i+".gif\" border=\"0\" name=\"leftmenu0"+i+"\"></a></td>");
				
			}

			document.writeln ("			</tr>");
		}
		document.writeln ("			</table>");
		document.writeln ("		</td>");
		document.writeln ("	</tr>");
		document.writeln ("</table>");

	}


// Ratio ¸Þ´º( path = ÃÖ»óÀ§ ¸Þ´º, cont = ÃÑ ¼­ºê¸Þ´º °¹¼ö , flag = ÇöÀç À§Ä¡ ¸Þ´º)
	function hansol_TabMenu(path,cont,flag) {
		var file_path = new Array(7);
		
		if (path == 'ratio') // ratio
		{
			file_path[0] = "http://www.hansolpns.com/html/online/ratio.asp";
			file_path[1] = "http://www.hansolpns.com/html/online/ratio02.asp";
			file_path[2] = "http://www.hansolpns.com/html/online/ratio03.asp";
			file_path[3] = "http://www.hansolpns.com/html/online/ratio04.asp";
			file_path[4] = "http://www.hansolpns.com/html/online/ratio05.asp";
			file_path[5] = "http://www.hansolpns.com/html/online/ratio06.asp";
			file_path[6] = "http://www.hansolpns.com/html/online/ratio07.asp";
		}

		document.writeln ("<table cellspacing=\"0\" cellpadding=\"0\" border=\"0\">");
		document.writeln ("	<tr>");
		
		for (i=1;i<=cont;i++) {
			if(flag == i){
				document.writeln ("		<td><a href=\""+file_path[i-1]+"\" ONMOUSEOVER=\"document.images['ratio_tab0"+i+"'].src='/image/online/ratio_tab0"+i+"_on.gif'\" ONMOUSEOUT=\"document.images['ratio_tab0"+i+"'].src='/image/online/ratio_tab0"+i+"_on.gif'\"><img src=\"/image/online/ratio_tab0"+i+"_on.gif\" border=\"0\" name=\"ratio_tab0"+i+"\"></a></td>");
			}else{
				document.writeln ("		<td><a href=\""+file_path[i-1]+"\" ONMOUSEOVER=\"document.images['ratio_tab0"+i+"'].src='/image/online/ratio_tab0"+i+"_on.gif'\" ONMOUSEOUT=\"document.images['ratio_tab0"+i+"'].src='/image/online/ratio_tab0"+i+".gif'\"><img src=\"/image/online/ratio_tab0"+i+".gif\" border=\"0\" name=\"ratio_tab0"+i+"\"></a></td>");
			}		
		}		
		document.writeln ("	</tr>");
		document.writeln ("</table>");
	}
	
// °æ°íÃ¢

function alert_test() {
		alert("Web site in English is undergoing construnction.");
	}
	
//\nIt will be opened by the end of July, 2003.



//ÀüÀÚ°ø½Ã ÆäÀÌÁö
function jumpLink(targ,selObj,restore){ //v3.0
  url = selObj.options[selObj.selectedIndex].value;
  if (restore==3) { 
	location.href(url);	
  }else  if (url!='stop') { 
	window.open(url,'link');	
  }
}
function printIR(i) { 
	document.write("	<tr>");
	document.write("		<td height=\"50\" bgcolor=\"#F5F5F5\" align=\"right\">");
	document.write("			<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\">");
    document.write("				<tr>");
	document.write("					<select  name='goto' style=\"width:300px; height:20px;\" onChange=\"javascript:jumpLink(self,this,3)\" class=\"SelectLink\">");
	document.write("						<option value=\"stop\" selected>- ÇÑ¼ÖPNS °ø½Ã º¸±â -");
	document.write("						<option value=\"noticeht.asp\">2010³â 07¿ù~12¿ù");
	document.write("						<option value=\"noticeht_15.asp\">2010³â 01¿ù~06¿ù");
	document.write("						<option value=\"noticeht_14.asp\">2009³â 07¿ù~12¿ù");
	document.write("						<option value=\"noticeht_13.asp\">2009³â 01¿ù~06¿ù");
	document.write("						<option value=\"noticeht_12.asp\">2008³â 07¿ù~12¿ù");
	document.write("						<option value=\"noticeht_11.asp\">2008³â 01¿ù~06¿ù");
	document.write("						<option value=\"noticeht_10.asp\">2007³â 07¿ù~12¿ù");
	document.write("						<option value=\"noticeht_09.asp\">2007³â 01¿ù~06¿ù");
	document.write("						<option value=\"noticeht_08.asp\">2006³â 07¿ù~12¿ù");
	document.write("						<option value=\"noticeht_07.asp\">2006³â 01¿ù~06¿ù");
	document.write("						<option value=\"noticeht_06.asp\">2005³â 07¿ù~12¿ù");
	document.write("						<option value=\"noticeht_05.asp\">2005³â 01¿ù~06¿ù");
	document.write("						<option value=\"noticeht_04.asp\">2004³â 07¿ù~12¿ù");
	document.write("						<option value=\"noticeht_03.asp\">2004³â 01¿ù~06¿ù");
	document.write("						<option value=\"noticeht_02.asp\">2001³â~2003³â");
	document.write("					</select>");
	document.write("				</tr>");
	document.write("			</table>");
	document.write("		</td>");
	document.write("	</tr>");
	}
	
//Ä«ÇÇ¶óÀÌÆ® ÇÏ´Ü ºÎºÐ
function printCopyright(i) { 


	document.write("	<tr>");
	document.write("		<td colspan=\"2\" width=\"100%\">");
	document.write("			<table cellspacing=\"0\" cellpadding=\"0\" border=\"0\">");
	document.write("				<tr>");
	document.write("					<td colspan=\"3\" bgcolor=\"#FFFFFF\"><img src=\"/image/index/leftspacer02.gif\" border=\"0\"></td>");
	document.write("				</tr>");
	document.write("				<tr>");
	document.write("					<td colspan=\"3\" bgcolor=\"#E6E6E6\"><img src=\"/image/common/spacer.gif\" width=\"1\" height=\"1\" border=\"0\"></td>");
	document.write("				</tr>");
	document.write("				<tr bgcolor=\"#EEEEEE\">");
	document.write("					<td width=\"133\"><img src=\"/image/common/spacer.gif\" width=\"133\" height=\"1\" border=\"0\"></td>");
	document.write("					<td width=\"721\" valign=\"top\">");
	document.write("						<table cellspacing=\"0\" cellpadding=\"0\" border=\"0\">");
	document.write("							<tr>");
	document.write("								<td bgcolor=\"#E7E7E7\"><img src=\"/image/common/spacer.gif\" width=\"1\" height=\"1\" border=\"0\"></td>");
	document.write("								<td><img src=\"/image/common/spacer.gif\" width=\"14\" height=\"1\" border=\"0\"></td>");
	document.write("								<td><a href=\"/html/support/privacy.asp\"><img src=\"/image/common/privacy2.gif\" border=\"0\"></a></td>");
	document.write("								<td><img src=\"/image/common/botmenulink.gif\" border=\"0\"></td>");
	document.write("								<td><a href=\"/html/company/qmsht.asp\"><img src=\"/image/common/iso2.gif\" border=\"0\"></a></td>");
	document.write("								<td><img src=\"/image/common/botmenulink.gif\" border=\"0\"></td>");
	document.write("								<td><img src=\"/image/common/mark2.gif\" border=\"0\"></td>");
	document.write("								<td><img src=\"/image/common/spacer.gif\" width=\"165\" height=\"1\" border=\"0\"></td>");
	document.write("								<td><img src=\"/image/common/familysite2.gif\" border=\"0\"></td>");
	document.write("								<td>");
	document.write("									<select  name='goto' style=\"width:150px\" onChange=\"javascript:jumpLink('_blank',this,0)\" class=\"SelectLink2\">");
	document.write("										<option value=\"stop\" selected>---- °è¿­»ç¹Ù·Î°¡±â");
	document.write("										<option value=\"http://www.hansol.com\">ÇÑ¼Ö±×·ì");
	document.write("										<option value=\"http://www.hansolpaper.co.kr\">ÇÑ¼ÖÁ¦Áö");
	document.write("										<option value=\"http://www.hansollcd.co.kr\">ÇÑ¼ÖLCD");
	document.write("										<option value=\"http://www.hansolcsn.co.kr\">ÇÑ¼ÖCSN");
	document.write("										<option value=\"http://www.hansolcon.co.kr\">ÇÑ¼Ö°Ç¼³");
	document.write("										<option value=\"http://www.hansolchemical.com\">ÇÑ¼ÖÄÉ¹ÌÄ®");
	document.write("										<option value=\"http://www.hansolhomedeco.co.kr\">ÇÑ¼ÖÈ¨µ¥ÄÚ");
	document.write("										<option value=\"http://www.hansoleme.com\">ÇÑ¼ÖÀÌ¿¥ÀÌ");
	document.write("										<option value=\"http://www.oakvalley.co.kr\">ÇÑ¼Ö°³¹ß");
	document.write("										<option value=\"http://www.hansolinticube.com\">ÇÑ¼ÖÀÎÆ¼Å¥ºê");
	document.write("									</select>");
	document.write("								</td>");
	document.write("							</tr>");
	document.write("						</table>");
	document.write("					</td>");
	document.write("					<td width=\"100%\"></td>");
	document.write("				</tr>");
	document.write("				<tr>");
	document.write("					<td colspan=\"3\" bgcolor=\"#E6E6E6\"><img src=\"/image/common/spacer.gif\" width=\"1\" height=\"1\" border=\"0\"></td>");
	document.write("				</tr>");
	document.write("				<tr>");
	document.write("					<td colspan=\"3\"><img src=\"/image/common/copy.gif\" border=\"0\"></td>");
	document.write("				</tr>");
	document.write("			</table>");
	document.write("		</td>");
	document.write("	</tr>");

}

	
//top¹öÆ°
function printGotop(i) { 
	document.write("<div id=\"divMenu\" style=\"position:absolute; left:944;\"><a href=\"#top\"><img src=\"/image/common/top.gif\" border=\"0\"></a></div>");
}

// ÆË¾÷Ã¢ ½ºÅ©¸³Æ®
	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';
			 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);
		}



//ÀÎµ¦½º ÇÃ·¡½Ã¿ë ÆË¾÷Ã¢

//ÀÚµ¿½ºÅ©·Ñ
// ½ºÄ«ÀÌ ½ºÅ©·¡ÆÛ ½ºÅ©·Ñ°ü·Ã
var bNetscape4plus = (navigator.appName == "Netscape" && navigator.appVersion.substring(0,1) >= "4");
var bExplorer4plus = (navigator.appName == "Microsoft Internet Explorer" && navigator.appVersion.substring(0,1) >= "4");
function CheckUIElements()
{
        var yMenuFrom, yMenuTo, yButtonFrom, yButtonTo, yOffset, timeoutNextCheck;

        if ( bNetscape4plus ) { // ³×Ã÷ÄÉÀÌÇÁ ¿ë ¼³Á¤
                //yButtonFrom = document["divLinkButton"].top;
                //yButtonTo   = top.pageYOffset + top.innerHeight - 55;
                yMenuFrom   = document["divMenu"].top;
                yMenuTo     = top.pageYOffset + 390;   // À§ÂÊ À§Ä¡
        }
        else if ( bExplorer4plus ) {  // IE ¿ë ¼³Á¤
                //yButtonFrom = parseInt (divLinkButton.style.top, 10);
                //yButtonTo   = document.body.scrollTop + document.body.clientHeight - 55;
                yMenuFrom   = parseInt (divMenu.style.top, 10);
                yMenuTo     = document.body.scrollTop + 390; // À§ÂÊ À§Ä¡
        }

        timeoutNextCheck = 390;

        if ( Math.abs (yButtonFrom - (yMenuTo + 100)) < 6 && yButtonTo < yButtonFrom ) {
                setTimeout ("CheckUIElements()", timeoutNextCheck);
                return;
        }


        if ( yButtonFrom != yButtonTo ) {
                yOffset = Math.ceil( Math.abs( yButtonTo - yButtonFrom ) / 10 );
                if ( yButtonTo < yButtonFrom )
                        yOffset = -yOffset;

                if ( bNetscape4plus )
                        document["divLinkButton"].top += yOffset;
                else if ( bExplorer4plus )
                        divLinkButton.style.top = parseInt (divLinkButton.style.top, 10) + yOffset;

                timeoutNextCheck = 10;
        }
        if ( yMenuFrom != yMenuTo ) {
                yOffset = Math.ceil( Math.abs( yMenuTo - yMenuFrom ) / 20 );
                if ( yMenuTo < yMenuFrom )
                        yOffset = -yOffset;

                if ( bNetscape4plus )
                        document["divMenu"].top += yOffset;
                else if ( bExplorer4plus )
                        divMenu.style.top = parseInt (divMenu.style.top, 10) + yOffset;

                timeoutNextCheck = 10;
        }

        setTimeout ("CheckUIElements()", timeoutNextCheck);
}
function OnLoad()
{
        var y;

        // ÇÁ·¹ÀÓ ¿¡¼­ ¹þ¾î³ª°Ô ÇÏ´Â ÇÔ¼öÀÔ´Ï´Ù. ÇÁ·¹ÀÓ¿¡ ³ÖÀ¸·Á¸é »èÁ¦ÇÏ¼¼¿ä
        if ( top.frames.length )
         //       top.location.href = self.location.href;

        // ÆäÀÌÁö ·Îµù½Ã Æ÷Áö¼Ç
        if ( bNetscape4plus ) {
                document["divMenu"].top = top.pageYOffset + 300;
                document["divMenu"].visibility = "visible";
                //document["divLinkButton"].top = top.pageYOffset + top.innerHeight - 55;
                //document["divLinkButton"].visibility = "visible";
        }
        else if ( bExplorer4plus ) {
                divMenu.style.top = document.body.scrollTop + 300;
                divMenu.style.visibility = "visible";
                //divLinkButton.style.top = document.body.scrollTop + document.body.clientHeight - 55;
                //divLinkButton.style.visibility = "visible";
        }

        // initializing UI update timer
        CheckUIElements();
        //if ( bExplorer4plus )
        //        setTimeout ( "FlashTitleStepIt(255)", 10 );
        return true;
}


