//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="/news/press_center.htm";
about="/aboutsamsung/index.htm";
training="/support/training.htm";
service="/support/service.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";

		
//aboutsamsung
about="/about/index.htm";

//aboutsamsung - company profile
	company="/aboutsamsung/companyprofile/index.htm"; //company profile
		philosophy="/aboutsamsung/companyprofile/valuesphilosophy/index.htm"; //values & philosophy	
		new_manage="/aboutsamsung/companyprofile/newmanagement/index.htm"; //newmanagement
		annualreport="/aboutsamsung/companyprofile/annualreport/index.htm"; //annual report
		ceo_archive="/aboutsamsung/companyprofile/ceoresearcharchive/index.htm"; //ceo research archive
		gnetworks="/aboutsamsung/companyprofile/globalnetworks/index.htm"; //global networks
		ci="/aboutsamsung/companyprofile/corporateidentity/index.htm"; //corporate identity

//aboutsamsung - investorrelations

	ir="/aboutsamsung/investorrelations/index.htm"; //investorrelations
		
//aboutsamsung - careers	
	careers="/aboutsamsung/careers/index.htm"; //careers
	  contact_info="/aboutsamsung/careers/contact_info.htm"; //contact info
		
		online_app="/aboutsamsung/careers/onlineapplication/index.htm"; //online application
		
		recruit_events="/aboutsamsung/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);
		}
	}
}

//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 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');
window.open('/contact/Contact_Us.htm','contact_us','scrollbars=yes,resizable=no,toolbar=no,location=no,directories=no,status=no,menubar=no, width=580,height=558');
}

function MerryChristmas(){
//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');
window.open('/News/N20051216_ECard.htm','Merry_Christmas','scrollbars=no,resizable=no,toolbar=no,location=no,directories=no,status=no,menubar=no, width=650,height=442');
}

function QueryMail(Model){
//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');
window.open('/Contact/Query_Form/QueryFormMail.aspx' + '?' + Model,'Query_Mail','scrollbars=no,resizable=no,toolbar=no,location=no,directories=no,status=no,menubar=no, width=500,height=580');
}
