<!-- Begin
if (document.images) {
home=new Image;
home.src="graphics/buttons/home.gifmo";
apartments=new Image;
apartments.src="graphics/buttons/apartmentsmo.gif";
prices=new Image;
prices.src="graphics/buttons/pricesmo.gif";
contact=new Image;
contact.src="graphics/buttons/contactmo.gif";
map=new Image;
map.src="graphics/buttons/mapmo.gif";
aboutus=new Image;
aboutus.src="graphics/buttons/about_usmo.gif";
}

function swapImage(img_name,img_src)
{
document[img_name].src=img_src;
}

function swapImage2(img_name1,img_src1,img_name2,img_src2)
{
document[img_name1].src=img_src1;
document[img_name2].src=img_src2;
}

function launchCentre(url, name, width, height, scroll) {
  var str = "scrollbars=" + scroll + ",height=" + height + ",innerHeight=" + height;
  str += ",width=" + width + ",innerWidth=" + width;
  if (window.screen) {
    var ah = screen.availHeight - 30;
    var aw = screen.availWidth - 10;

    var xc = (aw - width) / 2;
    var yc = (ah - height) / 2;

    str += ",left=" + xc + ",screenX=" + xc;
    str += ",top=" + yc + ",screenY=" + yc;
  }
  return window.open(url, name, str);
}

// End -->