<!--
function openPopUp(myLink,windowName){
if(! window.focus)return;
var myWin=window.open("",windowName,"width=640,height=560,dependent=yes,scrollbars=yes,left=150,top=20");
myWin.focus();
myLink.target=windowName;
}

function over(img1,ref1){
  if (document.images){document.images[img1].src = ref1;}}
function notover(img1,ref1){
  if (document.images){document.images[img1].src = ref1;}}

function load_images() {
var image1 = new Image();
image1.src = '/images/home2.gif';
image1.src = '/images/accommodation2.gif';
image1.src = '/images/about2.gif';
image1.src = '/images/benefits2.gif';
image1.src = '/images/members2.gif';
image1.src = '/images/contact2.gif';
image1.src = '/images/links2.gif';}  

var message='Copyright © Canmore Hotel and Lodging Association';
function On_Click(key) { 
if (document.all) { 
if (event.button == 2) { 
alert('Copyright © Canmore Hotel and Lodging Association'); 
return false; } 
} 
if (document.layers) { 
if (key.which == 3) { 
alert('Copyright © Canmore Hotel and Lodging Association');
return false; }
}
} 
if (document.layers) { 
document.captureEvents(Event.MOUSEDOWN); } 
document.onmousedown=On_Click; 

function checkForm(){
 if (document.forms.realname.value.length ==0){
  alert("Please enter your Name.")
  document.forms.realname.focus()
  return false}
 if (document.forms.email.value=="") {
  alert("Please enter your Email Address.")
  document.forms.email.focus()
  return false}
  var foundAt = document.forms.email.value.indexOf("@",0)
   if (foundAt < 1) {
    alert ("Email address should contain an @ character!")
    document.forms.email.focus()
    return false}
  var foundDot = document.forms.email.value.indexOf(".",0)
   if (foundDot < 1) {
    alert ("Email address should contain a . character!")
    document.forms.email.focus()
    return false}
 if (document.forms.Comments.value.length ==0){
  alert("Please enter your comments, questions or suggestions.")
  document.forms.Comments.focus()
  return false}
}

function NoSpamMail(esilk_text,esilk_subj,esilk_ext,esilk_dom,esilk_usr){
var esilk_dot = "&#46;"
var esilk_at = "&#064;"
var esilk_recip = esilk_usr + esilk_at + esilk_dom + esilk_dot + esilk_ext
var esilk_s = "&#63;&#83;&#117;&#98;&#106;&#101;&#99;&#116;&#61;"
var esilk_m = "&#109;&#097;&#105;&#108;"
var esilk_t = "&#116;&#111;&#58;"
var esilk_url = esilk_m + esilk_t + esilk_recip + esilk_s + esilk_subj
var a = "<a href=\""
var b = "\">"
var c = "</a>"
document.write(a + esilk_url + b + esilk_text + c)
}

//-->