<!--
/*
var message="";

function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}

document.oncontextmenu=new Function("return false")
// -->

<!--
var omitformtags=["input", "textarea", "select"]

omitformtags=omitformtags.join("|")

function disableselect(e){
if (omitformtags.indexOf(e.target.tagName.toLowerCase())==-1)
return false
}

function reEnable(){
return true
}

if (typeof document.onselectstart!="undefined")
document.onselectstart=new Function ("return false")
else{
document.onmousedown=disableselect
document.onmouseup=reEnable
}
//-->
*/
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function Chnbg(obj, Color) 
{ 
	obj.style.backgroundColor=Color
}
//-->

<!--
function submitit2(){

  if (document.mainnews.email.value.length<1) {
   alert('E-mail can not be blank!');
   document.mainnews.email.focus();
   return false;
  }
  var mailpattern = new RegExp('^.+@.+\..{2,3}$','gi');
  txt = document.mainnews.email.value;
  if (txt.search(mailpattern)<0) {
   alert('Wrong E-mail format!!');
   document.mainnews.email.focus();
   return false;
  }

  return true;
}
//-->

function submitit(){
  if (document.main.txtName.value.length<1) {
   alert('Name can not be blank!');
   document.main.txtName.focus();
   return false;
  }
  if (document.main.txtEmail.value.length<1) {
   alert('E-mail can not be blank!');
   document.main.txtEmail.focus();
   return false;
  }
  var mailpattern = new RegExp('^.+@.+\..{2,3}$','gi');
  txt = document.main.txtEmail.value;
  if (txt.search(mailpattern)<0) {
   alert('Wrong E-mail format!!');
   document.main.txtEmail.focus();
   return false;
  }
  if (document.main.txtAddress.value.length<1) {
   alert('Address can not be blank!');
   document.main.txtAddress.focus();
   return false;
  }  
  if (document.main.txtCity.value.length<1) {
   alert('City can not be blank!');
   document.main.txtCity.focus();
   return false;
  }
  if (document.main.txtPostal_code.value.length<1) {
   alert('Postal Code can not be blank!');
   document.main.txtPostal_code.focus();
   return false;
  }
  if (document.main.txtProvince.value.length<1) {
   alert('Province can not be blank!');
   document.main.txtProvince.focus();
   return false;
  }
  if (document.main.txtCountry.value.length<1) {
   alert('Country can not be blank!');
   document.main.txtCountry.focus();
   return false;
  }  
  if (document.main.txtPhone.value.length<1) {
   alert('Phone can not be blank!');
   document.main.txtPhone.focus();
   return false;
  }
  if (document.main.txtSubject_Type.value.length<1) {
   alert('Subject Type can not be blank!');
   document.main.txtSubject_Type.focus();
   return false;
  }
  if (document.main.txtSubject.value.length<1) {
   alert('Subject can not be blank!');
   document.main.txtSubject.focus();
   return false;
  }
  if (document.main.txtComments.value.length<1) {
   alert('Inquiry can not be blank!');
   document.main.txtComments.focus();
   return false;
  }
  return true;
}