<!--
var gloDomain = "sympatico.ca";
var NoSpamDomain = "NOSPAMexample.com";

function getSearch(f) {
  if (f.engine.options[f.engine.selectedIndex].value == "altavista")
    window.location = "http://altavista.com/sites/search/web?q="+escape(f.query.value)+"&kl=XX";
  else if (f.engine.options[f.engine.selectedIndex].value == "google") {
    window.location = "http://www.google.com/search?hl=en&lr=&ie=ISO-8859-1&client=pub-7296347508398566&cof=L%3Ahttp%3A%2F%2Fvxt.ca%2Fimages%2Flogo_white.gif&BAH%3Acenter%3BS%3Ahttp%3A%2F%2Fvxt.ca%2F%3B&domains=vxt.ca&btnG=Google+Search&sitesearch=&q="+escape(f.query.value);
  }
  else if (f.engine.options[f.engine.selectedIndex].value == "vxt.ca")
    window.location = "http://www.google.com/custom?hl=en&lr=&ie=ISO-8859-1&client=pub-7296347508398566&cof=L%3Ahttp%3A%2F%2Fvxt.ca%2Fimages%2Flogo_white.gif%3BLH%3A58%3BLW%3A779%3BLC%3A%23005C45%3BAH%3Acenter%3BS%3Ahttp%3A%2F%2Fvxt.ca%2F%3B&domains=vxt.ca&btnG=Google+Search&sitesearch=vxt.ca&q="+escape(f.query.value);
  else if (f.engine.options[f.engine.selectedIndex].value == "excite")
    window.location = "http://search.excite.com/search.gw?c=web&search="+escape(f.query.value)+"&onload=";
  else if (f.engine.options[f.engine.selectedIndex].value == "yahoo")
    window.location = "http://search.yahoo.com/search?p="+escape(f.query.value);
  else if (f.engine.options[f.engine.selectedIndex].value == "fast")
    window.location = "http://alltheweb.com/search?cat=web&lang=any&query="+escape(f.query.value);
    
  return false;
}
function getPage(f) {
  if (f.options[f.selectedIndex].value != 0)
    window.location = "/?pageID="+f.options[f.selectedIndex].value;
}
function getOG(form) {
  if (form.OG.options[form.OG.selectedIndex].value != "") {
    window.open("/" + form.OG.options[form.OG.selectedIndex].value);
  }
}
function popup(pageURL) {
  if (window.innerWidth <= 640 || document.body.clientWidth <= 640)
    window.location = pageURL;
  else if (window.innerWidth <= 800 || document.body.clientWidth <= 800)
    window.open(pageURL,'',config='scrollbars,resizable,status,top=0,left=0');
  else
    window.open(pageURL,'',config='scrollbars,resizable,width=800,height=550,status,top=0,left=0');
}

function toggle(divName,imageName) {
  var obj;
  if (document.all) obj = document.all[divName];
  if (document.getElementById) obj = document.getElementById(divName);
  if (obj.style.display == "") {
    obj.style.display = "None";
    document[imageName].src = img2.src;
  }
  else {
    obj.style.display = "";
    document[imageName].src = img1.src;
  }
}

function ShowHideDiv(divID,force) {
  if (document.getElementById(divID).style.display == 'block' && force != 'block')
    document.getElementById(divID).style.display = 'none';
  else if (document.getElementById(divID).style.display == 'none' && force != 'none')
    document.getElementById(divID).style.display = 'block';
}

function SpamFilter(email,myDomain) {
  if (!myDomain)
    myDomain = gloDomain;

  window.location = email.replace(NoSpamDomain,myDomain);
}
//-->