//global navigation
home="/me/index.htm";
digitall="/me/digitall/index.htm";
contact="http://mail.samsungelectronics.com/secmail/contact_mea.html";
priv="/me/etc/privacy.htm";
legal="/me/etc/legal_notice.htm";
sitemap="/me/sitemap/index.htm";
srch="/me/search/search.htm";
adv_srch="/me/search/search.htm";
download_center = "/me/support/productsupport/download/index.aspx";
//digitall
digitall = "/me/digitall/index.htm";

//products
products="/me/products/index.htm";

//support
support="/me/support/index.asp";

//features
features="/me/features/index.htm";

press="/me/presscenter/index.asp";

//home network
homenetwork="/me/homenetwork/index.htm";

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

//tv, video & audio(grop)
tva="/me/products/tvvideoaudio.htm";
tv="/me/products/tv/index.htm";
dvd="/me/products/dvdplayer/index.htm"; //dvdplayer
cam="/me/products/camcorder/index.htm"; //camcorder
vcr="/me/products/vcr/index.htm"; //vcr
settop="/me/products/digitalsettopbox/index.htm"; //digitalsettopbox
audiop="/me/products/digitalaudioplayer/index.htm"; //digitalaudioplayer
haudio="/me/products/homeaudio/index.htm"; //homeaudio
paudio="/me/products/portableaudio/index.htm"; //portableaudio

//computers & related products(grop)
com_rel="/me/products/computersrelatedproducts.htm";
notebook="/me/products/notebookcomputer/index.htm";
handheld="/me/products/handheldpc/index.htm"; 
 hdd="/me/products/harddiskdrive/index.htm";
 cddvd="/me/products/cd_dvdrom/index.htm";
 cdrdvdw="/me/products/cddvdwriter/index.htm";
 monitor="/me/products/monitor/index.htm"; 
  printer="/me/products/printer/index.htm"; 
 mfp="/me/products/multifunctionproducts/index.htm";
 


//phone & fax machines 
ph_fax="/me/products/phonesfaxmachines.htm";
mobile="/me/products/mobilephone/index.htm";
cordless="/me/products/cordlessphone/index.htm"; 
fax="/me/products/fax/index.htm";


//home appliances 
happ="/me/products/homeappliances.htm";
refrigerator="/me/products/refrigerator/index.htm";
aircondi="/me/products/airconditioner/index.htm";
oven="/me/products/microwaveoven/index.htm";
washing="/me/products/washingmachine/index.htm"; 
vacuum="/me/products/vacuumcleaner/index.htm"; 


//semiconductor
semi="/me/products/semiconductor/index.htm";
dram="/me/products/semiconductor/products/dram/index.htm";
flash="/me/products/semiconductor/products/flash/index.htm"; 
sram="/me/products/semiconductor/products/sram/index.htm";
gmemory="/me/products/semiconductor/products/mcp/index.htm"; 
mcp="/me/products/semiconductor/products/graphicsmemory/index.htm"; 
maskrom="/me/products/semiconductor/products/maskrom/index.htm"; 
tft="/me/products/semiconductor/products/systemlsi/index.htm"; 
lsi="/me/products/semiconductor/products/tftlcdmodules/index.htm";

//tft lcd modules 
tftmodules="/me/products/semiconductor/tftlcdmodules/index.htm";

//fiber
fiber="/me/products/fiberoptics.htm";
optical="/me/products/opticalfiber/index.htm";
fibercable="/me/products/fibercable/index.htm";
interconnection="/me/products/interconnectionproducts/index.htm";

//telecommunicationsystems(grop)
tele="/me/products/telecommunicationsystems.htm";
cdma2000="/me/products/cdma20001x/index.htm";
cdmaevdo="/me/products/cdma20001xev_do/index.htm"; 
wcdma="/me/products/w_cdma/index.htm"; 
ngn="/me/products/ngnsolution/index.htm"; 
bsolution="/me/products/broadbandnetworksolution/index.htm"; 
enetwork="/me/products/edgemetrosolution/index.htm"; 
ipn="/me/products/ipnetwork/index.htm"; 
keyphone="/me/products/keyphone/index.htm"; 
hinfra="/me/products/homeinfra/index.htm"; 

 
//cctv 
cctv="/me/products/cctv.htm";
cameras="/me/products/cameras/index.htm";
smartdome="/me/products/smartdomesystems/index.htm"; 
monitors="/me/products/monitors/index.htm"; 
networksec="/me/products/networksecurity/index.htm";
controllers="/me/products/controllers/index.htm"; 
vcrs="/me/products/vcrs/index.htm"; 
dvrs="/me/products/dvrs/index.htm"; 


//compressors 
compress="/me/products/compressors.htm";
recipro="/me/products/recipocompressor/index.htm";
rotary="/me/products/rotarycompressor/index.htm"; 

 
//factory automation
factory="/me/products/factoryautomation.htm";
manufacturing="/me/products/manufacturingequipment/manufacturingequipment.htm"; 
robot_controller="/me/products/robot_controller/robot_controller.htm"; 
precision="/me/products/precisionopticlens/precisionopticlens.htm";

//home network





function goAffiliateUrl(Str) {
location.href=eval(Str);
}


//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;
		}
	}
}

//jump menu
function move_site(frm) {
    var myindex=frm.selectedIndex
    if (frm.options[myindex].value != null) {
 window.open(frm.options[myindex].value);
    }
}

function selmodel(frm) {
    var selurl=frm.selectedModel
    if (frm.options[selurl].value != null) {
 window.open(frm.options[selurl].value);
    }
}

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_global(Str) {
    top.location.href=Str
}

//popup

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 clearText(thefield){ 
if (thefield.defaultValue==thefield.value) 
        thefield.value = "" 
} 

