function oneDepth(URL){
	switch(URL){			
		case "1" : 
			location.href="/company/greeting.html";
			break;
		case "2" : 
			location.href="/product/01_00.html";
			break;
		case "3" : 				
			location.href="/gallery/main.php";
			break;
		case "4" : 
			location.href="/pds/01.html";
			break;
		case "5" : 
			location.href="/notice/list.php?tid=noticepds";
			break;
		case "6" : 				
			location.href="/link/link1.html";
			break;
		case "7" : 
			location.href="/company/greeting.html";
			break;
	}
}
function twoDepth01(URL){
	switch(URL){			
		case "1" : 
			location.href="/company/greeting.html";
			break;
		case "2" : 
			location.href="/company/philosophy.html";
			break;
		case "3" : 				
			location.href="/company/history.html";
			break;
		case "4" : 
			location.href="/company/org.html";
			break;	
		case "5" : 
			location.href="/company/certification.html";
			break;	
		case "6" : 
			location.href="/company/location.html";
			break;
	}
}
function twoDepth02(URL){
	switch(URL){			
		case "1" : 
			location.href="/product/01_00.html";
			break;
		case "2" : 
			location.href="/product/02_00.html";
			break;
		case "3" : 				
			location.href="/product/03_00.html";
			break;
		case "4" : 
			location.href="/product/04_00.html";
			break;
		case "5" : 
			location.href="/product/05_00.html";
			break;
		case "6" : 				
			location.href="/product/06_00.html";
			break;
		case "7" : 
			location.href="/product/07_00.html";
			break;
		case "8" : 				
			location.href="/product/09_00.html";
			break;
		case "9" : 
			location.href="/product/09_00.html";
			break;
	}
}
function twoDepth03(URL){
	switch(URL){			
		case "1" : 
			location.href="/gallery/main.php";
			break;
		case "2" : 
			location.href="/question/question02.html";
			break;
		case "3" : 				
			location.href="/question/question03.html";
			break;
		case "4" : 
			location.href="/sales/list.php?big_cate=±¤ ¼±·Î ÃøÁ¤ Àåºñ&middle_cate=±¤½É¼±´ëÁ¶±â";
			break;
		case "5" : 
			location.href="/sales/list.php?big_cate=±¤ ¼±·Î ÃøÁ¤ Àåºñ&middle_cate=±¤°¨¼â±â";
			break;
		case "6" : 				
			location.href="/sales/list.php?big_cate=±¤ ¼±·Î ÃøÁ¤ Àåºñ&middle_cate=±¤ÀüÈ­±â";
			break;
		case "7" : 
			location.href="/sales/list.php?big_cate=±¤ ¼±·Î ÃøÁ¤ Àåºñ&middle_cate=°íÀåÀ§Ä¡½Äº°±â";
			break;
		case "8" : 
			location.href="/sales/list.php?big_cate=±¤ ¼±·Î ÃøÁ¤ Àåºñ&middle_cate=±¤¼Õ½ÇÃøÁ¤±â";
			break;
			
	}
}
function twoDepth04(URL){
	switch(URL){			
		case "1" : 
			location.href="/pds/01.html";
			break;
		case "2" : 
			location.href="/pds/02.html";
			break;
		case "3" : 
			//location.href="/pds/list.php?tid=pds";
			location.href="/pds/list.php?tid=pds";
			break;
		case "4" : 
			location.href="/pds/catal.html";
			break;

	}
}
function twoDepth05(URL){
	switch(URL){			
		case "1" : 
			location.href="/notice/list.php?tid=noticepds";
			break;
		case "2" : 
			location.href="/notice/list_qna.php";
			break;
		case "3" : 
			location.href="mailto:sinsung@sinsungplant.co.kr";
			break;
		case "4" : 
			location.href="/notice/sitemap.html";
			break;
		case "5" : 				
			location.href="/bbs/index.html?jami_mk=bbs3";
			break;
		case "6" : 
			location.href="/bbs/sitemap.html";
			break;
		case "7" : 
			location.href="/sales/list.php?big_cate=ÄÉÀÌºí ¸Å¼³ Å½Áö±â&middle_cate=ÇÔÃ¼";
			break;
		case "8" : 				
			location.href="";
			break;
	}
}
function twoDepth06(URL){
	switch(URL){			
		case "1" : 
			location.href="/link/link1.html";
			break;
		case "2" : 
			location.href="/link/link2.html";
			break;
		case "3" : 
			location.href="/link/link3.html";
			break;
		case "4" : 
			location.href="/sales/list.php?big_cate=±³À°¿ë ±¤Åë½Å Á¦Ç°&middle_cate=Á¡ÆÛÄÚµå";
			break;
		case "5" : 				
			location.href="/sales/list.php?big_cate=±³À°¿ë ±¤Åë½Å Á¦Ç°&middle_cate=¾Æ´äÅÍ";
			break;
		case "6" : 
			location.href="/sales/list.php?big_cate=±³À°¿ë ±¤Åë½Å Á¦Ç°&middle_cate=¹Ì´Ï ½½·¯ºê";
			break;
		case "7" : 
			location.href="/sales/list.php?big_cate=±³À°¿ë ±¤Åë½Å Á¦Ç°&middle_cate=ÇÔÃ¼";
			break;
		case "8" : 				
			location.href="";
			break;
	}
}
function twoDepth07(URL){
	switch(URL){			
		case "1" : 
			location.href="/company/greeting.html";
			break;
		case "2" : 
			location.href="/company/org.html";
			break;
		case "3" : 
			location.href="/company/location.html";
			break;
		case "4" : 
			location.href="/sales/list.php?big_cate=±âÅ¸Á¦Ç°&middle_cate=Fiber Optic Modems/Converters";
			break;
		case "5" : 				
			location.href="/sales/list.php?big_cate=±âÅ¸Á¦Ç°&middle_cate=Ethernet Products";
			break;
		case "6" : 
			location.href="/sales/list.php?big_cate=±âÅ¸Á¦Ç°&middle_cate=¹Ì´Ï ½½·¯ºê";
			break;
		case "7" : 
			location.href="/sales/list.php?big_cate=±âÅ¸Á¦Ç°&middle_cate=ÇÔÃ¼";
			break;
		case "8" : 				
			location.href="";
			break;
	}
}


function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function changeImages() {
	if (document.images && (preloadFlag == true)) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
}

var preloadFlag = false;
function preloadImages() {
	if (document.images) {
		Left3_02_over = newImage("../Main/image/Left3_02-over.gif");
		Left3_03_over = newImage("../Main/image/Left3_03-over.gif");
		Left3_04_over = newImage("../Main/image/Left3_04-over.gif");
		Left3_05_over = newImage("../Main/image/Left3_05-over.gif");
		Left3_06_over = newImage("../Main/image/Left3_06-over.gif");
		preloadFlag = true;
	}
}
preloadImages();

function scroll_h(){ 
    var current_h = document.body.scrollTop; 
   	document.all.quick.style.top = current_h + document.body.clientHeight-110 ;
}

function surfto(form) { 
  if(form.div.value==""){
    return false;
  }
	var myindex=form.div.selectedIndex 
	location.href = form.div.options[myindex].value;					//ÀÚ½Å
	//window.open(form.div.options[myindex].value, "", "");				//»õÃ¢
	form.div.selectedIndex=0;
  //if (0) this.selectedIndex=0;   ///ÀÌºÎºÐÀÌ Ç×»ó Ã¹¹øÂ° ¸Þ´º»óÅÂ·Î ¸¸µç´Ù.
}

	function startscroll()
	{ // ½ºÅ©·Ñ ½ÃÀÛ
		i=0;
		for (i in scroll_content)
			n_panel++;
			
		n_panel = n_panel -1 ;
		startPanel = Math.round(Math.random()*n_panel);
		if(startPanel == 0)
		{
			i=0;
			for (i in scroll_content) 
				insert_area(total_area, total_area++); // area »ðÀÔ
		}
		else if(startPanel == n_panel)
		{
			insert_area(startPanel, total_area);
			total_area++;
			for (i=0; i<startPanel; i++) 
			{
				insert_area(i, total_area); // area »ðÀÔ
				total_area++;
			}
		}
		else if((startPanel > 0) || (startPanel < n_panel))
		{
			insert_area(startPanel, total_area);
			total_area++;
			for (i=startPanel+1; i<=n_panel; i++) 
			{
				insert_area(i, total_area); // area »ðÀÔ
				total_area++;
			}
			for (i=0; i<startPanel; i++) 
			{
				insert_area(i, total_area); // area »ðÀÔ
				total_area++;
			}
		}
		window.setTimeout("scrolling()",waitingtime);
	}
	function scrolling(){ // ½ÇÁ¦·Î ½ºÅ©·Ñ ÇÏ´Â ºÎºÐ
		if (bMouseOver && wait_flag)
		{
			for (i=0;i<total_area;i++){
				tmp = document.getElementById('scroll_area'+i).style;
				tmp.top = parseInt(tmp.top)-scrollspeed;
				if (parseInt(tmp.top) <= -scrollerheight){
					tmp.top = scrollerheight*(total_area-1);
				}
				if (s_tmp++ > (s_amount-1)*scroll_content.length){
					wait_flag=false;
					window.setTimeout("wait_flag=true;s_tmp=0;",waitingtime);
				}
			}
		}
		window.setTimeout("scrolling()",1);
	}
	function insert_area(idx, n){ // area »ðÀÔ
		html='<div style="left: 0px; width: 100%; position: absolute; top: '+(scrollerheight*n)+'px" id="scroll_area'+n+'">\n';
		html+=scroll_content[idx]+'\n';
		html+='</div>\n';
		document.write(html);
	}
	
	
	
	
	//½ºÅ©·Ñ ¹è³Ê½ÃÀÛ
	
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 ) { // ³×Ã÷ÄÉÀÌÇÁ ¿ë ¼³Á¤
                yMenuFrom   = document["divMenu"].top;
                yMenuTo     = top.pageYOffset + 295;   // À§ÂÊ À§Ä¡
        }
        else if ( bExplorer4plus ) {  // IE ¿ë ¼³Á¤
                yMenuFrom   = parseInt (divMenu.style.top, 10);
                yMenuTo     = document.body.scrollTop + 295; // À§ÂÊ À§Ä¡
        }

        timeoutNextCheck = 500;

        if ( Math.abs (yButtonFrom - (yMenuTo + 152)) < 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 + 0;
                document["divMenu"].visibility = "visible";
        }
        else if ( bExplorer4plus ) {
                divMenu.style.top = document.body.scrollTop + 0;
                divMenu.style.visibility = "visible";
        }

        CheckUIElements();
        return true;
} 
//½ºÅ©·Ñ¹è³Ê³¡




<!-- FLASH PACH -->
function WriteEmbed(emb_id){ 
    document.write(document.getElementById(emb_id).value);
} 
<!-- FLASH PACH -->


<!--
function down(){
url = "/data/rezume.hwp";
}
//-->
<!--
function rezume(){
url = "/company/write.html";
window.open(url,'','toolbar=no,menubar=no,location=no,directions=no, scrollbars=no,status=0,width=638,height=405,top=300,left=250'); 
}
//-->
<!--
function ebro(){
url = "/ebro/ebro.html";
window.open(url,'','toolbar=no,menubar=no,location=no,directions=no, scrollbars=no,status=0,width=950,height=670,top=20,left=20'); 
}
//-->

