i2on = new Image();
i2on.src = "images/button_subdivision_o.gif";
i2off = new Image();
i2off.src = "images/button_subdivision.gif";
i3on = new Image();
i3on.src = "images/button_news_o.gif";
i3off = new Image();
i3off.src = "images/button_news.gif";
i4on = new Image();
i4on.src = "images/button_local_o.gif";
i4off = new Image();
i4off.src = "images/button_local.gif";
i5on = new Image();
i5on.src = "images/button_homeowners_o.gif";
i5off = new Image();
i5off.src = "images/button_homeowners.gif";
i6on = new Image();
i6on.src = "images/button_member_o.gif";
i6off = new Image();
i6off.src = "images/button_member.gif";
i7on = new Image();
i7on.src = "images/button_memberarea_o.gif";
i7off = new Image();
i7off.src = "images/button_memberarea.gif";
i8on = new Image();
i8on.src = "images/button_contact_o.gif";
i8off = new Image();
i8off.src = "images/button_contact.gif";
i9on = new Image();
i9on.src = "images/button_surround_o.gif";
i9off = new Image();
i9off.src = "images/button_surround.gif";
/*/
/ / This function will change the src property of element
/ / to match the src property of the image in the DOM.
/ / Returns true or false depending on success.
/*/
function swapImg(element, image)
{
  // only if there are images defined in the DOM
  if (document.images)
  {
    eval("document." + element + ".src = \"" + image.src + "\";");
    return true;
  }
  else
    return false;
}

function open_popup1(URL){
aWindow = window.open(URL,"video","toolbar=no,location=no,directories=no,status=no,scrollbars=no,resize=no,menubar=no,width=335,height=400,top=75,left=10");
}

function open_popup2(URL){
aWindow = window.open(URL,"video","toolbar=no,location=no,directories=no,status=no,scrollbars=no,resize=no,menubar=no,width=195,height=260,top=75,left=10");
}

<!--//
/*This Script allows people to enter by using a form that asks for a
UserID and Password*/
function pasuser(form) {
if (form.id.value=="subdivision") { 
if (form.pass.value=="kensington") {              
location="memberarea.html" 
} else {
alert("Invalid Password")
}
} else {  alert("Invalid UserID")
}
}
//-->