//global navigation
home="/mx/index.htm";
products="/mx/products/index.htm";
contact="http://mail.samsungelectronics.com/secmail/contact_mx.html";
priv="/mx/etc/privacy.htm";
legal="/mx/etc/legal_notice.htm";
sitemap="/mx/sitemap/sitemap.htm";
srch="/mx/search/search.htm";
adv_srch="/mx/search/search.htm";
download_center = "/mx/support/productsupport/download/index.aspx";
//support
support="/mx/support/index.asp";
	prod_support="/mx/support/productsupport/index.htm";
	svc_location="/mx/support/servicelocations/index.asp";
	sales_location="/mx/support/servicelocator/index.htm";
// global links
	globallinks="/mx/support/globallinks.htm";
//features
features="/mx/features/index.htm";
	brand_campaign="/mx/features/brandcampaign/index.htm";
		brand_campaign1="/mx/features/brandcampaign/digitall.htm";
		brand_campaign2="/mx/features/brandcampaign/magazine.htm";
		brand_campaign3="/mx/features/brandcampaign/prfilm.htm";

  technology="/mx/features/technologyleadership/index.htm";
		technology1="/mx/features/technologyleadership/exhibition.htm";
		technology2="/mx/features/technologyleadership/product.htm";
		technology3="/mx/features/technologyleadership/event.htm";
  sports="/mx/features/sportssponsorships/index.htm";
		sports1="";
		sports2="/mx/features/sportssponsorships/runningfestival/runningfestival.htm";
	by_the_time="/mx/features/by_2002.htm";

press="/mx/presscenter/index.asp";	//press="/mx/presscenter/pressrelease/index.asp";
	//press_releases="/mx/presscenter/pressrelease/index.asp";
	//keyfeature="/mx/presscenter/keyfeaturearticles/keyfeaturearticles.htm";
	//prstory="/mx/presscenter/prstory/index.htm";
	//newsletter="/mx/presscenter/newsletter/newsletter.htm";
//home network
homenetwork="/mx/homenetwork/index.htm";
	hn="/mx/homenetwork/samsungshomenetwork/overview/index.htm";
		overview_hn="/mx/homenetwork/samsungshomenetwork/overview/index.htm";
		introduce_hn="/mx/homenetwork/samsungshomenetwork/overview/introducehomevita.htm";
		solutions_hn="/mx/homenetwork/samsungshomenetwork/homevitasolutions/index.htm";
		homevita="/mx/homenetwork/samsungshomenetwork/homevitasolutions/homevita.htm";
		liftvita_hn="/mx/homenetwork/samsungshomenetwork/lifewithhomevita/index.htm";
		event_hn="/mx/homenetwork/samsungshomenetwork/eventpromotion/index.htm";

	aboutnetwork="/mx/homenetwork/abouthomenetwork/whatshomenetwork/index.htm";
		what_hn="/mx/homenetwork/abouthomenetwork/whatshomenetwork/index.htm";
		why_hn="/mx/homenetwork/abouthomenetwork/whyhomenetwork/index.htm";
		news_hn="/mx/homenetwork/abouthomenetwork/news/index.htm";
		techinfo_hn="/mx/homenetwork/abouthomenetwork/technicalinformation/index.htm";
			techinfo_hn1="/mx/homenetwork/abouthomenetwork/technicalinformation/ethernet.htm";
			techinfo_hn2="/mx/homenetwork/abouthomenetwork/technicalinformation/wirelesslan.htm";
		glossary_hn="/mx/homenetwork/abouthomenetwork/glossary/glossary_a.htm";

//business partner
biz_partner="/mx/biz_partner/index.htm";
	viewall="/mx/biz_partner/viewall.htm";
	sales_partner="/mx/biz_partner/sales_partner/index.htm";
		sales_partner1="/mx/biz_partner/sales_partner/index.htm";
		sales_partner2="/mx/biz_partner/sales_partner/semi_biz.htm";
		sales_partner3="/mx/biz_partner/sales_partner/display_biz.htm";
		sales_partner4="/mx/biz_partner/sales_partner/contact_na.htm";
		sales_partner5="/mx/biz_partner/sales_partner/order.htm";

	supplier="/mx/biz_partner/supplier/index.htm";
		supplier1="/mx/biz_partner/supplier/index.htm";
		supplier2="/mx/biz_partner/supplier/e_procurement.htm";
		supplier3="/mx/biz_partner/supplier/tobe_partner.htm";
		supplier4="/mx/biz_partner/supplier/contact_kr.htm";
		supplier5="/mx/biz_partner/supplier/faq.htm";
 	engineer_partner="/mx/biz_partner/engineer_partner/index.htm";
 	svc_partner="/mx/biz_partner/svc_partner/index.htm";
		svc_partner1="/mx/biz_partner/svc_partner/index.htm";
		svc_partner2="/mx/biz_partner/svc_partner/cs_material.htm";
		svc_partner3="/mx/biz_partner/svc_partner/cs_training.htm";

 investors="/mx/viewpage/investors.htm";
 journalists="/mx/viewpage/jounalists.htm";
 prospective_employee="/mx/viewpage/employee.htm";
 students="/mx/viewpage/student.htm";

//aboutsamsung
about="/mx/aboutsamsung/index.htm";

//aboutsamsung - company profile
	company="/mx/aboutsamsung/companyprofile/index.htm"; //company profile
		philosophy="/mx/aboutsamsung/companyprofile/valuesphilosophy/index.htm"; //values & philosophy

		new_manage="/mx/aboutsamsung/companyprofile/newmanagement/index.htm"; //newmanagement

		annualreport="/mx/aboutsamsung/companyprofile/annualreport/index.htm"; //annual report
			annualreport1="/mx/aboutsamsung/companyprofile/annualreport/index.htm"; //annual report - samsung
			annualreport2="/mx/aboutsamsung/companyprofile/annualreport/sec_annualreport01.htm"; //annual report - samsung electronics

		ceo_archive="/mx/aboutsamsung/companyprofile/ceoresearcharchive/index.htm"; //ceo research archive
			ceo_archive1="/mx/aboutsamsung/companyprofile/ceoresearcharchive/index.htm"; //ceo research archive - chairman
			ceo_archive2="/mx/aboutsamsung/companyprofile/ceoresearcharchive/ceo.htm"; //ceo research archive - ceo

		timeline="/mx/aboutsamsung/companyprofile/timelinehistory/index.htm"; //timeline & history
			timeline1="/mx/aboutsamsung/companyprofile/timelinehistory/timeline01.htm"; //timeline & history - samsung
			timeline2="/mx/aboutsamsung/companyprofile/timelinehistory/timeline02.htm";
			timeline3="/mx/aboutsamsung/companyprofile/timelinehistory/timeline03.htm";
			timeline4="/mx/aboutsamsung/companyprofile/timelinehistory/timeline04.htm";
			timeline5="/mx/aboutsamsung/companyprofile/timelinehistory/timeline05.htm";
			timeline6="/mx/aboutsamsung/companyprofile/timelinehistory/timeline06.htm";
			timeline7="/mx/aboutsamsung/companyprofile/timelinehistory/index.htm";
			sec_timeline="/mx/aboutsamsung/companyprofile/timelinehistory/sec_timeline10.htm"; //timeline & history - samsung electronics
			sec_timeline1="/mx/aboutsamsung/companyprofile/timelinehistory/sec_timeline01.htm"; //timeline & history - samsung electronics
			sec_timeline2="/mx/aboutsamsung/companyprofile/timelinehistory/sec_timeline02.htm";
			sec_timeline3="/mx/aboutsamsung/companyprofile/timelinehistory/sec_timeline03.htm";
			sec_timeline4="/mx/aboutsamsung/companyprofile/timelinehistory/sec_timeline04.htm";
			sec_timeline5="/mx/aboutsamsung/companyprofile/timelinehistory/sec_timeline05.htm";
			sec_timeline6="/mx/aboutsamsung/companyprofile/timelinehistory/sec_timeline06.htm";
			sec_timeline7="/mx/aboutsamsung/companyprofile/timelinehistory/sec_timeline07.htm";
			sec_timeline8="/mx/aboutsamsung/companyprofile/timelinehistory/sec_timeline08.htm";
			sec_timeline9="/mx/aboutsamsung/companyprofile/timelinehistory/sec_timeline09.htm";
			sec_timeline10="/mx/aboutsamsung/companyprofile/timelinehistory/sec_timeline10.htm";

		gnetworks="/mx/aboutsamsung/companyprofile/globalnetworks/index.htm"; //global networks
			samsung_electronics="/mx/aboutsamsung/companyprofile/globalnetworks/index.htm"; //global networks
			global_electronics="/mx/aboutsamsung/companyprofile/globalnetworks/affilliate_electronic.htm"; //electronics industries
			global_machinery="/mx/aboutsamsung/companyprofile/globalnetworks/affilliate_machinery.htm"; //machinery  heavy industries
			global_chemicals="/mx/aboutsamsung/companyprofile/globalnetworks/affilliate_chemicals.htm"; //chemicals industries
			global_financial="/mx/aboutsamsung/companyprofile/globalnetworks/affilliate_financial.htm"; //financial services
			global_otherco="/mx/aboutsamsung/companyprofile/globalnetworks/affilliate_otherco.htm"; //other affiliated companies

		ci="/mx/aboutsamsung/companyprofile/corporateidentity/index.htm"; //corporate identity

		electro_init="/mx/aboutsamsung/companyprofile/electronicsinitiatives/index.htm"; //electronics initiatives
			electro_init1="/mx/aboutsamsung/companyprofile/electronicsinitiatives/index.htm"; //electronics initiatives - digital vision
			electro_init2="/mx/aboutsamsung/companyprofile/electronicsinitiatives/digital_media.htm"; //electronics initiatives - business area
			electro_init3="/mx/aboutsamsung/companyprofile/electronicsinitiatives/investment_rnd.htm"; //electronics initiatives - investment in r^d
			electro_init4="/mx/aboutsamsung/companyprofile/electronicsinitiatives/majorstrategic.htm"; //electronics initiatives - major strategic alliances


//aboutsamsung - investorrelations

	ir="/mx/aboutsamsung/investorrelations/index.htm"; //investorrelations

		code_ethics="/mx/aboutsamsung/investorrelations/samsungcodeofethics/index.htm"; //management information
		manage_info="/mx/aboutsamsung/investorrelations/managementinformation/index.htm"; //management information
			manage_info01="/mx/aboutsamsung/investorrelations/managementinformation/publicannouncement/index.htm"; //public announce
			manage_info02="/mx/aboutsamsung/investorrelations/managementinformation/managementnews/index.htm"; //management news
			manage_info03="/mx/aboutsamsung/investorrelations/managementinformation/boardofdirectors/index.htm"; //composition bod
			manage_info04="/mx/aboutsamsung/investorrelations/managementinformation/creditratings/index.htm"; //credit ratings

		stock_info="/mx/aboutsamsung/investorrelations/stockinformation/index.htm"; //stock information
			stock_info01="/mx/aboutsamsung/investorrelations/stockinformation/index.htm";
			stock_info02="/mx/aboutsamsung/investorrelations/stockinformation/dividends.htm";
			stock_info03="/mx/aboutsamsung/investorrelations/stockinformation/treasurystock.htm";
			stock_info04="/mx/aboutsamsung/investorrelations/stockinformation/stockoptions.htm";

		financial_info="/mx/aboutsamsung/investorrelations/financialinformation/index.htm"; //financil information
			financial_info01="/mx/aboutsamsung/investorrelations/financialinformation/index.htm";
			financial_info02="/mx/aboutsamsung/investorrelations/financialinformation/financial_history.htm";
			financial_info03="/mx/aboutsamsung/investorrelations/financialinformation/audited_statements.htm";

		ir_events="/mx/aboutsamsung/investorrelations/irevents/index.htm"; //ir events
		ir_faqs="/mx/aboutsamsung/investorrelations/irfaqs/index.htm"; //ir faqs

//aboutsamsung - careers
	careers="/mx/aboutsamsung/careers/index.htm"; //careers
	  contact_info="/mx/aboutsamsung/careers/contact_info.htm"; //contact info

		online_app="/mx/aboutsamsung/careers/onlineapplication/index.htm"; //online application

		recruit_events="/mx/aboutsamsung/careers/recruitingevents/index.htm"; //recruiting events

		recruit_area="/mx/aboutsamsung/careers/recruitingarea/index.htm"; //recruiting area
			recruit_area1="/mx/aboutsamsung/careers/recruitingarea/index.htm"; //recruiting area - digital media system business
			recruit_area2="/mx/aboutsamsung/careers/recruitingarea/info_communication.htm"; //recruiting area - information & communication business
			recruit_area3="/mx/aboutsamsung/careers/recruitingarea/semiconductor.htm"; //recruiting area - semiconductor business
			recruit_area4="/mx/aboutsamsung/careers/recruitingarea/homeappliance.htm"; //recruiting area - home appliance business
			recruit_area5="/mx/aboutsamsung/careers/recruitingarea/cor_dcenter.htm"; //recruiting area - corporate r&d center
			recruit_area6="/mx/aboutsamsung/careers/recruitingarea/coexestaff.htm"; //recruiting area - corporate executive staff and others

		internship="/mx/aboutsamsung/careers/internships/index.htm"; //internship

		training="/mx/aboutsamsung/careers/training/index.htm"; //training
			training1="/mx/aboutsamsung/careers/training/index.htm"; //training - overview
			training2="/mx/aboutsamsung/careers/training/leadership.htm"; //training - leadership training
			training3="/mx/aboutsamsung/careers/training/marketing.htm"; //training - marketing training
			training4="/mx/aboutsamsung/careers/training/technology.htm"; //training - technology training
			training5="/mx/aboutsamsung/careers/training/gbmsites.htm"; //training - gpm sites
			training6="/mx/aboutsamsung/careers/training/newemployee.htm"; //training - new employees training

		recruit_faqs="/mx/aboutsamsung/careers/recruitingfaqs/index.htm"; //recruiting faqs

//aboutsamsung - affiliatedcompanies
	affiliates="/mx/aboutsamsung/affiliatedcompanies/index.htm"; //affiliatedcompanies
		affiliated_ir="/mx/aboutsamsung/affiliatedcompanies/affiliated_ir.htm";
		affiliated_careers="/mx/aboutsamsung/affiliatedcompanies/affiliated_careers.htm"; //affiliated_careers
		electronics="/mx/aboutsamsung/affiliatedcompanies/electronicsindustries/index.htm"; //electronics industries
		machinery_heavy="/mx/aboutsamsung/affiliatedcompanies/machineryheavyindustries/index.htm"; //machinery  heavy industries
		chemicals="/mx/aboutsamsung/affiliatedcompanies/chemicalindustries/index.htm"; //chemicals industries
		financial_svc="/mx/aboutsamsung/affiliatedcompanies/financialservices/index.htm"; //financial services
		other_co="/mx/aboutsamsung/affiliatedcompanies/otheraffiliatedcompanies/index.htm"; //other affiliated companies

//aboutsamsung - socialcommitment
	social_commit="/mx/aboutsamsung/socialcommitment/index.htm"; //socialcommitment
		social_repons="/mx/aboutsamsung/socialcommitment/socialresponsibilities/index.htm"; //social reponsibilities
			social_repons1="/mx/aboutsamsung/socialcommitment/socialresponsibilities/index.htm"; //social reponsibilities - community relations
			social_repons2="/mx/aboutsamsung/socialcommitment/socialresponsibilities/communityactivity.htm"; //social reponsibilities - community activity

		community_svc="/mx/aboutsamsung/socialcommitment/communityservices/index.htm"; //community services

		ehs_report="/mx/aboutsamsung/socialcommitment/ehsreport/index.htm"; //ehs report
			ehs_report1="/mx/aboutsamsung/socialcommitment/ehsreport/whatisgreenmanagement/index.htm"; //ehs report - what is green management
			ehs_report2="/mx/aboutsamsung/socialcommitment/ehsreport/greenmanagementreport/index.htm"; //ehs report - green management report
				manage_report1="/mx/aboutsamsung/socialcommitment/ehsreport/greenmanagementreport/index.htm";
				manage_report2="/mx/aboutsamsung/socialcommitment/ehsreport/greenmanagementreport/highlights_2001.htm";
				manage_report3="/mx/aboutsamsung/socialcommitment/ehsreport/greenmanagementreport/policies.htm";
				manage_report4="/mx/aboutsamsung/socialcommitment/ehsreport/greenmanagementreport/system.htm";
				manage_report5="/mx/aboutsamsung/socialcommitment/ehsreport/greenmanagementreport/vision.htm";
				manage_report6="/mx/aboutsamsung/socialcommitment/ehsreport/greenmanagementreport/control.htm";
				manage_report7="/mx/aboutsamsung/socialcommitment/ehsreport/greenmanagementreport/awards.htm";
				manage_report8="/mx/aboutsamsung/socialcommitment/ehsreport/greenmanagementreport/annual_ehs.htm";

			ehs_report3="/mx/aboutsamsung/socialcommitment/ehsreport/greenexperiencecenter/index.htm"; //ehs report - green experience center
				experience1="/mx/aboutsamsung/socialcommitment/ehsreport/greenexperiencecenter/index.htm";
				experience2="/mx/aboutsamsung/socialcommitment/ehsreport/greenexperiencecenter/lessons.htm";
				experience3="/mx/aboutsamsung/socialcommitment/ehsreport/greenexperiencecenter/life_product.htm";
				experience4="/mx/aboutsamsung/socialcommitment/ehsreport/greenexperiencecenter/green_stories.htm";

		humantech="/mx/aboutsamsung/socialcommitment/humantechthesis/index.htm"; //humantech thesis
			humantech1="/mx/aboutsamsung/socialcommitment/humantechthesis/index.htm"; //humantech thesis - what is htp
			humantech2="/mx/aboutsamsung/socialcommitment/humantechthesis/eligibility.htm"; //humantech thesis - how to submit
			humantech3="/mx/aboutsamsung/socialcommitment/humantechthesis/winningpapers.htm"; //humantech thesis - winning paper

	function Go_global(Str) {
		top.location.href=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');
		if (parseInt(navigator.appVersion) >= 4) { NewWindow.window.focus(); }
	}





	function QuickTour() {
	window.open('/mx/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('/mx/aboutsamsung/history/history_e.htm', 'quick', 'width='+760+',height='+389+',scrollbars=no, marginwidth=0, marginheight=0, border=0');
	}

	function History_SECHallTour() {
	window.open('/mx/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_mx.html','new','scrollbars=yes,resizable=no,toolbar=no,location=no,directories=no,status=no,resizable=no,menubar=no, width=550,height=640');
	}
	*/

	function ContactUs(){
	    popup('http://mail.samsungelectronics.com/secmail/contact_mx.html',590,600,'yes');
	}


//Flash function
function WriteSwf(img,wsize,hsize,opt){
	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>");

    if(opt != null){
    	var params = opt.split("&");

    	for(var i=0;i<params.length;i++){
    		  var tmp = params[i];
		      var paramss = tmp.split(">>");

		      var strAtt = paramss[0];
		      var strVal = paramss[1];

		      document.write("<param name="+strAtt+" value="+strVal+"> \n");

		      strAtt="";
		      strVal="";

    	}
    }

    document.write("<embed src=\""+img+"\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\""+wsize+"\" height=\""+hsize+"\"></embed>");
	document.write("</object>");
}

function WriteMov(img,wsize,hsize){
	document.write("<OBJECT ID=\"MediaPlayer\" WIDTH="+wsize+" HEIGHT="+hsize+" ");
	document.write("CLASSID=\"CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95\"");
	document.write("STANDBY=\"Loading Windows Media Player components...\" ");
	document.write("TYPE=\"application/x-oleobject\">");
	document.write("<PARAM NAME=\"FileName\" VALUE=\""+img+"\">");
	document.write("<PARAM NAME=\"autoStart\" VALUE=\"true\">");
	document.write("<PARAM NAME=\"showControls\" VALUE=\"false\">");
	document.write("<EMBED TYPE=\"application/x-mplayer2\" SRC=\""+img+"\"");
	document.write("  autoStart=1");
	document.write("  showControls=0");
	document.write(" NAME=\"MediaPlayer\"");
	document.write(" WIDTH="+wsize+"");
	document.write(" HEIGHT="+hsize+"");
	document.write(" PLUGINSPAGE=\"http://www.microsoft.com/windows/windowsmedia/download/\">");
	document.write("</EMBED>");
	document.write("</OBJECT>");
}