
function goHome()
{
		document.location = '/en/index.php';
}

//1.company
function go1(chk)
{
			
		if (chk==0) {
			document.location = '/en/company/company01.php'; // 
		} else if (chk==1) {
			document.location = '/en/company/company01.php'; // 1.ceo
		} else if (chk==2) {
			document.location = '/en/company/company02.php'; // 2.history
		} else if (chk==3) {
			document.location = '/en/company/company03.php'; // 3.organization
		} else if (chk==4) {
			document.location = '/en/company/company04.php'; // 4.location
		} else if (chk==5) {
			document.location = '/en/company/company05.php'; // 5.partner
		} else if (chk==6) {
			document.location = '/en/company/company06.php'; // 6.vision
		} else if (chk==7) {
			document.location = '/en/company/company07.php'; // 7.certification
		} 
}


//2.business
function  go2(chk)
{
		if (chk==0) {
			document.location = '/en/business/business01.php'; // 1.
		} else if (chk==1) {
			document.location = '/en/business/business01.php'; // 1.
		} else if (chk==2) {
			document.location = '/en/business/business02.php'; // 2.
		} else if (chk==3) {
			document.location = '/en/business/business03.php'; // 3.
		} else if (chk==4) {
			document.location = '/en/business/business04.php'; // 4.
		}
}


// 3.product
function go3(chk)
{
	
		if (chk==0) {
			document.location = '/en/product/product01.php'; // DC4I
		} else if (chk==1) {
			document.location = '/en/product/product01.php'; // 1.DC4I
		} else if (chk==2) {
			document.location = '/en/product/product02.php'; // 2.XIG
		} else if (chk==3) {
			document.location = '/en/product/product03.php'; // 3.VBS
		} else if (chk==4) {
			 //alert("Sorry, this page is under construction.");
			 //return;
			document.location = '/en/product/product04.php'; // 4.CNR-SIM
		} else if (chk==5) {
			document.location = '/en/product/product05.php'; // 5.hardware
		} else if (chk==6) {
			document.location = '/en/product/product06.php'; // 6.SM-VMS

		}
}


// 4.support
function go4(chk)
{
		if (chk==0) {
			document.location = '/enboard/bbs/gmboard.php?mode=list&db=engqna'; //qna
		} else if (chk==1) {
			document.location = '/enboard/bbs/gmboard.php?mode=list&db=engqna'; //1.qna
		} else if (chk==2) {
			document.location = '/enboard/bbs/faq.php'; //2.faq
		} else if (chk==3) {
			document.location = '/enboard/bbs/gmboard.php?mode=list&db=englibrary'; //3.data
		} else if (chk==4) {
			document.location = '/enboard/bbs/gmboard.php?mode=list&db=engnotice';  //4.notice
		} else if (chk==6) {
			document.location = '/enboard/bbs/gmboard.php?mode=list&db=newsletter'; //6.newsletter
		} 
}




// »çÀÌÆ®¸Ê
function go5(chk)
{
		if (chk==0) {
			document.location = '/en/sitemap/sitemap.php'; // sitemap
		} else if (chk==1) {
			document.location = '/en/sitemap/sitemap.php'; // sitemap
		} 
}

// ¾ð¾î¼±ÅÃ
function lang (chk)
{
		if (chk==1) {
			document.location = '/kr/index.php'; // 
		} else if (chk==2) {
			document.location = '/en/index.php'; // 
		} 
}

function copy_clip(){
  //alert("Sorry, this page is under construction.");
  //return;

   meintext = "http://www.naviworks.com/board/bbs/rss.php?db=newsletter";
   if (window.clipboardData) 
   {   
    // IE ÀÏ°æ¿ì
    window.clipboardData.setData("Text", meintext);   
   }
   else if (window.netscape) 
   { 
	   // Netscape ÀÏ°æ¿ì
	   netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
		  
	   var clip = Components.classes['@mozilla.org/widget/clipboard;1'].createInstance(Components.interfaces.nsIClipboard);
	   if (!clip) return;
	   
	   // maak een transferable
	   var trans = Components.classes['@mozilla.org/widget/transferable;1'].createInstance(Components.interfaces.nsITransferable);
	   if (!trans) return;   
	   
	   trans.addDataFlavor('text/unicode');	   
	   
	   var str = new Object();
	   var len = new Object();
	   
	   var str = Components.classes["@mozilla.org/supports-string;1"].createInstance(Components.interfaces.nsISupportsString);
	   
	   var copytext=meintext;
	   
	   str.data=copytext;
	   
	   trans.setTransferData("text/unicode",str,copytext.length*2);
	   
	   var clipid=Components.interfaces.nsIClipboard;
	   
	   if (!clip) return false;
	   
	   clip.setData(trans,null,clipid.kGlobalClipboard);
   
   }
       alert("RSS adress(http://www.naviworks.com/board/bbs/rss.php?db=newsletter) is copied.\nRegister in the RSS reader.\nYou can enter it by pasting on the RSS reader with CTRL + V.");
	   url = "/board/bbs/rss.php?db=newsletter";
	   POP = window.open( url, "WIN_SUB", "status=0,scrollbars=yes,resizable=0,left=50,top=50,width=1000,height=800" ); 
	   POP.focus(); 
  
   //return false;
}

function movie()
{
       POP = window.open( "/en/popup/popup.php", "WIN_SUB", "status=0,scrollbars=no,menubars=no,resizable=0,left=50,top=50,width=590,height=510" ); 
	   POP.focus();
}

