//global navigation 
home="/index.htm";
products="/products/index.htm";
support="/support/index.htm";
priv="/etc/privacy.htm";
legal="/etc/legal_notice.htm";
features="/features/index.htm";
press="/presscenter/index.asp";
about="/aboutvivify/index.htm";
digitall="/digitall/index.htm";
sitemap="/sitemap/index.htm";
download_center = "/support/productsupport/download/index.aspx";
//support
support="/support/index.htm";
	prod_support="/support/productsupport/index.htm";
	svc_location="/support/servicelocations/index.htm";
	sales_location="/support/saleslocation.htm";
// global links
	globallinks="/support/globallinks.htm";
//features
features="/features/index.htm";
	brand_campaign="/features/brandcampaign/index.htm";
		brand_campaign1="/features/brandcampaign/digitall.htm";
		brand_campaign2="/features/brandcampaign/magazine.htm";
		brand_campaign3="/features/brandcampaign/prfilm.htm";
		
  technology="/features/technologyleadership/index.htm";
		technology1="/features/technologyleadership/exhibition.htm";
		technology2="/features/technologyleadership/product.htm";
		technology3="/features/technologyleadership/event.htm";
  sports="/features/sportssponsorships/index.htm";
		sports1="";
		sports2="/features/sportssponsorships/runningfestival/runningfestival.htm";
	by_the_time="/features/by_2002.htm";
    
press="/presscenter/index.asp";
	press_releases="/presscenter/pressrelease/index.asp";
	keyfeature="/presscenter/keyfeaturearticles/index.asp";
	prstory="/presscenter/prstory/index.asp";
	newsletter="/presscenter/newsletter/index.asp";

		
//aboutvivify
about="/aboutvivify/index.htm";

//aboutvivify - company profile
	company="/aboutvivify/companyprofile/index.htm"; //company profile
		philosophy="/aboutvivify/companyprofile/valuesphilosophy/index.htm"; //values & philosophy	
		new_manage="/aboutvivify/companyprofile/newmanagement/index.htm"; //newmanagement
		annualreport="/aboutvivify/companyprofile/annualreport/index.htm"; //annual report
		ceo_archive="/aboutvivify/companyprofile/ceoresearcharchive/index.htm"; //ceo research archive
		gnetworks="/aboutvivify/companyprofile/globalnetworks/index.htm"; //global networks
		ci="/aboutvivify/companyprofile/corporateidentity/index.htm"; //corporate identity

//aboutvivify - investorrelations

	ir="/aboutvivify/investorrelations/index.htm"; //investorrelations
		
//aboutvivify - careers	
	careers="/aboutvivify/careers/index.htm"; //careers
	  contact_info="/aboutvivify/careers/contact_info.htm"; //contact info
		
		online_app="/aboutvivify/careers/onlineapplication/index.htm"; //online application
		
		recruit_events="/aboutvivify/careers/recruitingevents/index.htm"; //recruiting events
			
		
/*
function GoUrl(Str) {
	location.href=eval(Str);
}
*/
function GoUrl(name, win) {	
	if (eval(name) == "") {
		alert("sorry.");
		return;	
	} else {
		if (win == null) {
			document.location.href = eval(name);
		} else {
			window.open(eval(name), win);
		}
	}
}

	
// Style Sheet //
/*
function setStyle(){
	if (navigator.appName.indexOf('Microsoft') != -1){
 		var browser = "IE"
	} else {
		var browser = "NS"
	}
	if (browser == "IE"){
			document.write('<LINK REL=stylesheet TYPE=text/css HREF=/TR/module/CSS/global.css>')
	}
	else if (browser == "NS") {
		document.write('<LINK REL=stylesheet TYPE=text/css HREF=/TR/module/CSS/global_ns.css>')
	}
}
setStyle()
	*/	
//Main Menu RollOver
function ImgPreLoad(imgTitle, imageNum) {
		imageNum++;
		rollOver = new Array(imageNum);
		rollOut = new Array(imageNum);
		for (j = 1; j <= imageNum; j++) {
			if (j < 10) {
				retmp = "_0";
			} else {
				retmp ="_";
			}
			rollOver[j] = new Image();
			rollOver[j].src = imgTitle + retmp + j + "_on.gif";
			
			rollOut[j] = new Image();
			rollOut[j].src = imgTitle + retmp + j + "_off.gif";
		}
	}

	function imgOver(Number) {		
		if (rollOver[Number] != null) {
			document["w"+Number].src = rollOver[Number].src;
		}
	}

	function imgOut(Number) {
		if (rollOver[Number] != null) {
			if (Number != _MCurrentOn) {
				document["w"+Number].src = rollOut[Number].src;
			}
		}
	}

		function go_link(frmJump) {
		    var myindex=frmJump.cmbSel.selectedIndex
		    if (frmJump.cmbSel.options[myindex].value != null) {
					document.location.href = frmJump.cmbSel.options[myindex].value;
		    }
		}
// New Window		
		function go_link2(frmJump) {
		    var myindex=frmJump.cmbSel.selectedIndex
		    if (frmJump.cmbSel.options[myindex].value != null) {
					window.open(frmJump.cmbSel.options[myindex].value);
		    }
			else {
			document.location.href = frmJump.cmbSel.options[myindex].value;
			}
		}
		
	function popup(Fn, X, Y, Scroll){
l = (screen.width) ?	(screen.width-550) / 2	: 0;
	t = (screen.height) ?	(screen.height-400) / 2 : 0;	
	NewWindow=window.open(Fn,'newwindow','width='+X+',height='+Y+',top='+t+',left='+l+',scrollbars='+Scroll+',toolbar=no,location=no,directories=no,status=no,resizable=no,menubar=no');
}


function QuickTour() {
window.open('/aboutvivify/at_a_glance/at_a_glance.htm', 'quick', 'width='+780+',height='+520+',scrollbars=no, marginwidth=0, marginheight=0, border=0');
}

function History_samsung() {
window.open('/aboutvivify/history/history_e.htm', 'quick', 'width='+760+',height='+389+',scrollbars=no, marginwidth=0, marginheight=0, border=0');
}

function History_SECHallTour() {
window.open('/aboutvivify/history/hall_tour.htm', 'quick', 'width='+560+',height='+700+',scrollbars=no, marginwidth=0, marginheight=0, border=0');
}

function ContactUs(){
window.open('http://mail.samsungelectronics.com/secmail/contact_cn.html','new','scrollbars=yes,resizable=no,toolbar=no,location=no,directories=no,status=no,resizable=no,menubar=no, width=580,height=640');
}

