//global navigation 
home="/mx/index.htm";
support="/mx/support/index.asp";
contactus="/mx/contactus/contactus.htm";
priv="/mx/etc/privacy.htm";
legal="/mx/etc/legal_notice.htm";
features="/mx/features/index.htm";
press="/mx/presscenter/index.asp";
about="/mx/aboutsamsung/index.htm";
sitemap="/mx/sitemap/sitemap.htm";
download_center = "/mx/support/productsupport/download/index.aspx";

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

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

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


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


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


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

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

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

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

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


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

 
//factory automation
factory="/mx/products/factoryautomation.htm";
manufacturing="/mx/products/manufacturingequipment/manufacturingequipment.htm"; 
robot_controller="/mx/products/robot_controller/robot_controller.htm"; 
precision="/mx/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 = "" 
} 

/***********************************************
* Product related Bar script- by Giovani Vazquez SDS SEM
***********************************************/


function relateproductimage(strurl,strimage)
{
document.write ('<div id="topbar" style="left:636px;width: 145px; position: absolute; top: 550px; height: 200px">');
document.write ('<table width=145 style="width:145px;height:200px" border=0 cellpadding="0" cellspacing="0"><tr><td>');
document.write ('<a href="' + strurl + '"><IMG style="width:145px;height:200px" width=135 alt="Producto relacionado" hspace=0 src="/mx/products/images/relatedproduct/' +  strimage + '"  border=0 ></a>');
document.write ('</td></tr>');
document.write ('</table>');
document.write ('</div>');
}
function relateproduct(strtext)
{
document.write ('<div id="topbar" style="left: 630px;width: 145px; position: absolute; top: 550px; height: 200px">');
document.write ('<table width=145 style="width:135px" border=0 cellpadding="0" cellspacing="0"><tr><td height="21" align="center" bgcolor="#B1B1B1" class="copy-b"></td></tr><tr><td>');
document.write ( strtext );
document.write ('</td></tr>');
document.write ('</table>');
document.write ('</div>');
}