<!--
var qstring;
function menutoggle(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {
 var i=0; var j = (menutoggle.arguments.length)-1; var elem = 'item';
 while(i <= j) {
   if (i == 0) {
      document.getElementById(menutoggle.arguments[i]).style.display = 'block';
      document.getElementById(elem+menutoggle.arguments[i]).className = 'menuitemselected';
   } else {
      document.getElementById(menutoggle.arguments[i]).style.display = 'none';
      document.getElementById(elem+menutoggle.arguments[i]).className = 'menuitemlive'
   }
   i++;
 }
}

function mailer(dest,txt) {
 var str = '<a href="mail'+'to:'+'hydro'+'bell'+'@'+'gma'+'il.com"> '+txt+'</a>';
 return str;
}

function formCheck(obj) {
  if ((obj.id.value == '') || (obj.pw.value == '')) {alert('Please complete both fields! ');
  } else {obj.submit();}
}


function openWin(page,w,h){
  var opt; var UrlWnd;
  if (isNaN(h)) {h=600;} if (isNaN(w)) {w=650;}
  if (UrlWnd == null || UrlWnd.closed)
    {opt="scrollbars,resizable,width="+w+",height="+h+", left=10,top=50";
    UrlWnd = window.open(page, "popWindow", opt);
  }
  UrlWnd.focus();
}

// Country to ship to
function getCountry(frm,sender) {
  var i; var country; var zone; qstring = '?';
  if (frm.country.value == '' ) {alert('First, please select a country of destination for the goods from the list !');return(false);}
  if (frm.country.value == 'x') {alert('At the moment, we are not able to ship to countries other than the ones displayed in the list.\n\nWe are sorry for any inconvenience.');return(false);}
  //if (!frm.country.options[1].selected) {frm.sales_tax_factor.checked = false;}
  for(i=0;i<frm.country.length;++i) {
    if (frm.country.options[i].selected == true) {
        country = frm.country.options[i].text;
        zone = frm.country.options[i].value;
        qstring += 'p1=1&q1=1&c=' + country + '&z=' + zone + '&m=p&a=1&first=1&';
    }
  }
  if (sender == 'btn') {return(true);}
}

//-->