//global navigation
home="/ph/index.htm";
support="/ph/support/index.asp";
contactus="/ph/contactus/contactus.htm";
priv="/ph/etc/privacy.htm";
legal="/ph/etc/legal_notice.htm";
features="/ph/features/index.htm";
press="/ph/presscenter/index.asp";
about="/ph/aboutsamsung/index.htm";
sitemap="/ph/sitemap/sitemap.htm";
corporation="/ph/aboutsamsung/samsungcorporation/index.htm";
philippines="/ph/aboutsamsung/samsungphilippines/letterfromthepresident/index.htm";
careers="/ph/aboutsamsung/careers/index.htm";

//SAMSUNG Fun Club
funclub="http://ph.samsungmobile.com/"

//My Guide
myguide="/ph/MyGuide/default.asp";

//Download Center
download_center="/ph/support/productsupport/download/index.aspx";

//products
products="/ph/products/index.htm";

//tv, video & audio(grop)
tva="/ph/products/tvvideoaudio.htm";
tv="/ph/products/tv/index.htm";
dvd="/ph/products/dvdplayer/index.htm";

//dvdplayer
cam="/ph/products/camcorder/index.htm";

//camcorder
vcr="/ph/products/vcr/index.htm";

//vcr
settop="/ph/products/digitalsettopbox/index.htm";

//digitalsettopbox
audiop="/ph/products/digitalaudioplayer/index.htm";

//digitalaudioplayer
haudio="/ph/products/homeaudio/index.htm";

//homeaudio
paudio="/ph/products/portableaudio/index.htm";

//portableaudio //computers & related products(grop)
com_rel="/ph/products/computersrelatedproducts.htm";
notebook="/ph/products/notebookcomputer/index.htm";
handheld="/ph/products/handheldpc/index.htm";
hdd="/ph/products/harddiskdrive/index.htm";
cddvd="/ph/products/cd_dvdrom/index.htm";
cdrdvdw="/ph/products/cddvdwriter/index.htm";
monitor="/ph/products/monitor/index.htm";
printer="/ph/products/printer/index.htm";
mfp="/ph/products/multifunctionproducts/index.htm";

//phone & fax machines
ph_fax="/ph/products/phonesfaxmachines.htm";
mobile="/ph/products/gsm/index.asp";
cordless="/ph/products/cordlessphone/index.htm";
fax="/ph/products/fax/index.htm";

//home appliances
happ="/ph/products/homeappliances.htm";
refrigerator="/ph/products/refrigerator/index.htm";
aircondi="/ph/products/airconditioner/index.htm";
oven="/ph/products/microwaveoven/index.htm";
washing="/ph/products/washingmachine/index.htm";
vacuum="/ph/products/vacuumcleaner/index.htm";
//semiconductor
semi="/ph/products/semiconductor/index.htm";
dram="/ph/products/semiconductor/products/dram/index.htm";
flash="/ph/products/semiconductor/products/flash/index.htm";
sram="/ph/products/semiconductor/products/sram/index.htm";
gmemory="/ph/products/semiconductor/products/mcp/index.htm";
mcp="/ph/products/semiconductor/products/graphicsmemory/index.htm";
maskrom="/ph/products/semiconductor/products/maskrom/index.htm";
tft="/ph/products/semiconductor/products/systemlsi/index.htm";
lsi="/ph/products/semiconductor/products/tftlcdmodules/index.htm";

//tft lcd modules
tftmodules="/ph/products/semiconductor/tftlcdmodules/index.htm";

//fiber
fiber="/ph/products/fiberoptics.htm";
optical="/ph/products/opticalfiber/index.htm";
fibercable="/ph/products/fibercable/index.htm";
interconnection="/ph/products/interconnectionproducts/index.htm";

//telecommunicationsystems(grop)
tele="/ph/products/telecommunicationsystems.htm";
cdma2000="/ph/products/cdma20001x/index.htm";
cdmaevdo="/ph/products/cdma20001xev_do/index.htm";
wcdma="/ph/products/w_cdma/index.htm";
ngn="/ph/products/ngnsolution/index.htm";
bsolution="/ph/products/broadbandnetworksolution/index.htm";
enetwork="/ph/products/edgemetrosolution/index.htm";
ipn="/ph/products/ipnetwork/index.htm";
keyphone="/ph/products/keyphone/index.htm";
hinfra="/ph/products/homeinfra/index.htm";


//cctv cctv="/ph/products/cctv.htm";
cameras="/ph/products/cameras/index.htm";
smartdome="/ph/products/smartdomesystems/index.htm";
monitors="/ph/products/monitors/index.htm";
networksec="/ph/products/networksecurity/index.htm";
controllers="/ph/products/controllers/index.htm";
vcrs="/ph/products/vcrs/index.htm";
dvrs="/ph/products/dvrs/index.htm";

//compressors
compress="/ph/products/compressors.htm";
recipro="/ph/products/recipocompressor/index.htm";
rotary="/ph/products/rotarycompressor/index.htm";

//factory automation
factory="/ph/products/factoryautomation.htm";
manufacturing="/ph/products/manufacturingequipment/manufacturingequipment.htm";
robot_controller="/ph/products/robot_controller/robot_controller.htm";
precision="/ph/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 = ""
}

function LauncherWin(mypage, myname, w, h, scroll) {
  var winl = (screen.width - w) / 2;
  var wint = (screen.height - h) / 2;
  winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',noresiz'
  win = window.open(mypage, myname, winprops)
  if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
  }

function Go_global() {
  var obj = document.global;
  var url = obj.url.value;
  if (url == "") {
    alert("Select Your Country");
    obj.url.focus();
    return;
  }
  window.open(url,"","")
}
