//global navigation 
home="/my/index.htm";
support="/my/support/index.asp";
contactus="/my/contactus/contactus.htm";
priv="/my/etc/privacidad.asp";
legal="/my/etc/legal.asp";
features="/my/features/index.asp";
press="/my/presscenter/index.asp";
about="/my/aboutsamsung/index.htm";
global="/my/aboutsamsung/samsungglobal/index.htm";
malaysia="/my/aboutsamsung/samsungelectronicsmalaysia/index.htm";
profile="/my/aboutsamsung/samsungelectronicsmalaysia/companyprofile/index.htm";
careers="/my/aboutsamsung/samsungelectronicsmalaysia/careers/whysamsung/index.htm";
scholarship="/my/aboutsamsung/samsungelectronicsmalaysia/scholarship/index.htm";
meetmanagement="/my/aboutsamsung/samsungelectronicsmalaysia/meetmanagement/index.htm";
procurement="/my/aboutsamsung/samsungelectronicsmalaysia/procurement/insideipc/index.htm";
sitemap="/my/sitemap/sitemap.htm";
warranty="/my/support/warrantyterms/index.htm";
download_center="/my/support/productsupport/download/index.aspx";

//products
products="/my/products/index.htm";

//tv, video & audio(grop)
tva="/my/products/tvvideoaudio.htm";
tv="/my/products/tv/index.htm";
dvd="/my/products/dvdplayer/index.htm"; //dvdplayer
cam="/my/products/camcorder/index.htm"; //camcorder
vcr="/my/products/vcr/index.htm"; //vcr
settop="/my/products/digitalsettopbox/index.htm"; //digitalsettopbox
audiop="/my/products/digitalaudioplayer/index.htm"; //digitalaudioplayer
haudio="/my/products/homeaudio/index.htm"; //homeaudio
paudio="/my/products/portableaudio/index.htm"; //portableaudio

//computers & related products(grop)
com_rel="/my/products/computersrelatedproducts.htm";
notebook="/my/products/notebookcomputer/index.htm";
handheld="/my/products/handheldpc/index.htm"; 
 hdd="/my/products/harddiskdrive/index.htm";
 cddvd="/my/products/cd_dvdrom/index.htm";
 cdrdvdw="/my/products/cddvdwriter/index.htm";
 monitor="/my/products/monitor/index.htm"; 
  printer="/my/products/printer/index.htm"; 
 mfp="/my/products/multifunctionproducts/index.htm";
 


//phone & fax machines 
ph_fax="/my/products/phonesfaxmachines.htm";
mobile="/my/products/mobilephone/index.htm";
cordless="/my/products/cordlessphone/index.htm"; 
fax="/my/products/fax/index.htm";


//home appliances 
happ="/my/products/homeappliances.htm";
refrigerator="/my/products/refrigerator/index.htm";
aircondi="/my/products/airconditioner/index.htm";
oven="/my/products/microwaveoven/index.htm";
washing="/my/products/washingmachine/index.htm"; 
vacuum="/my/products/vacuumcleaner/index.htm"; 


//semiconductor
semi="/my/products/semiconductor/index.htm";
dram="/my/products/semiconductor/products/dram/index.htm";
flash="/my/products/semiconductor/products/flash/index.htm"; 
sram="/my/products/semiconductor/products/sram/index.htm";
gmemory="/my/products/semiconductor/products/mcp/index.htm"; 
mcp="/my/products/semiconductor/products/graphicsmemory/index.htm"; 
maskrom="/my/products/semiconductor/products/maskrom/index.htm"; 
tft="/my/products/semiconductor/products/systemlsi/index.htm"; 
lsi="/my/products/semiconductor/products/tftlcdmodules/index.htm";

//tft lcd modules 
tftmodules="/my/products/semiconductor/tftlcdmodules/index.htm";

//fiber
fiber="/my/products/fiberoptics.htm";
optical="/my/products/opticalfiber/index.htm";
fibercable="/my/products/fibercable/index.htm";
interconnection="/my/products/interconnectionproducts/index.htm";

//telecommunicationsystems(grop)
tele="/my/products/telecommunicationsystems.htm";
cdma2000="/my/products/cdma20001x/index.htm";
cdmaevdo="/my/products/cdma20001xev_do/index.htm"; 
wcdma="/my/products/w_cdma/index.htm"; 
ngn="/my/products/ngnsolution/index.htm"; 
bsolution="/my/products/broadbandnetworksolution/index.htm"; 
enetwork="/my/products/edgemetrosolution/index.htm"; 
ipn="/my/products/ipnetwork/index.htm"; 
keyphone="/my/products/keyphone/index.htm"; 
hinfra="/my/products/homeinfra/index.htm"; 

 
//cctv 
cctv="/my/products/cctv.htm";
cameras="/my/products/cameras/index.htm";
smartdome="/my/products/smartdomesystems/index.htm"; 
monitors="/my/products/monitors/index.htm"; 
networksec="/my/products/networksecurity/index.htm";
controllers="/my/products/controllers/index.htm"; 
vcrs="/my/products/vcrs/index.htm"; 
dvrs="/my/products/dvrs/index.htm"; 


//compressors 
compress="/my/products/compressors.htm";
recipro="/my/products/recipocompressor/index.htm";
rotary="/my/products/rotarycompressor/index.htm"; 

 
//factory automation
factory="/my/products/factoryautomation.htm";
manufacturing="/my/products/manufacturingequipment/manufacturingequipment.htm"; 
robot_controller="/my/products/robot_controller/robot_controller.htm"; 
precision="/my/products/precisionopticlens/precisionopticlens.htm";

//home network





function GoUrl(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);
    }
}

//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 = "" 
} 

//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=\""+img+"\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\""+wsize+"\" height=\""+hsize+"\"></embed>");
    document.write("</object>");
}
