//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.html";
about="aboutsamsung/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.html";
	press_releases="presscenter/pressrelease/index.html";
	keyfeature="presscenter/keyfeaturearticles/index.html";
	prstory="presscenter/prstory/index.html";
	newsletter="presscenter/newsletter/index.html";


//aboutsamsung
about="aboutsamsung/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);
		}
	}
}

function Go_global1() {
	var u = document.all("url").value;
	if (u == "") {
		alert("Select Your Country");
		document.all("url").focus();
	return false;
	}
	window.open(u,"","")
}


// 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('/aboutsamsung/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('/aboutsamsung/history/history_e.htm', 'quick', 'width='+760+',height='+389+',scrollbars=no, marginwidth=0, marginheight=0, border=0');
}

function History_SECHallTour() {
window.open('/aboutsamsung/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');
}

//Flash function
function WriteSwf(img,wsize,hsize){
	document.write("<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0\" width=\""+wsize+"\" height=\""+hsize+"\">");
    document.write("<param name=\"movie\" value=\""+img+"\">");
    document.write("<param name=\"quality\" value=\"high\">");
    document.write("<param name=\"wmode\" value=\"transparent\">");
    document.write("<embed src=../../../×Ô¼º/bjb120/samsung.files//""+img+"/" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\""+wsize+"\" height=\""+hsize+"\"></embed>");
	document.write("</object>");
}