function openWindow(sURL, width, height) {

  var winHeight = height + 140;
  var winWidth = width + 40;

  var sFeatures = "top=50,left=50,height=" + winHeight + ",width=" + winWidth + ",status=yes,scrollbars=no,resizable=1,menubar=";
  var win = window.open("","_newwindow",sFeatures);
  win.resizeTo(winWidth, winHeight);
  win.document.writeln("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">");
  win.document.writeln("<html>");
  win.document.writeln("<head>");
  win.document.writeln("<style>");
  win.document.writeln("body {font-family: georgia; font-size: 8pt; background-color: black; } a { color: white; }");
  win.document.writeln("</style>");
  win.document.writeln("</head>");
  win.document.writeln("<body>");
        win.document.writeln("<div align='center'>");
     
  win.document.writeln("<img src=\"" + sURL + "\" /><br /><br />");
  win.document.writeln("<a href=\"javascript:window.close()\">Close Window</a>");
  win.document.writeln("</div>");
  win.document.writeln("</body>");
  win.document.writeln("</html>");
        win.document.close();
  win.focus();
}

// (C) 2003 CodeLifter.com
// Source: CodeLifter.com
// Do not remove this header

// Set the message for the alert box
am = "Use of this image withough explicit permission from Luxury Rentals Aspen is prohibited.";

// do not edit below this line
// ===========================
bV  = parseInt(navigator.appVersion)
bNS = navigator.appName=="Netscape"
bIE = navigator.appName=="Microsoft Internet Explorer"

function nrc(e) {
   if (bIE && (event.button >1)) {
     alert(am);
     return false;
   } else if (e.which > 1){
     alert(am);
     return false;
   }
}

function disableImages() {
 var elements = document.getElementsByTagName("img");
 for (var a = 0; a < elements.length; a++) {
  disableRightClick(elements[a]);
 }
}

function disableRightClick(image) {
 image.onmousedown = nrc;
 if (document.layers)
  image.onmousedown = nrc;
  //window.captureEvents(Event.MOUSEDOWN);
 if (bNS && bV<5)
  image.onmousedown = nrc;
  //window.onmousedown = nrc;
}

function callSifr(color) {
if(typeof sIFR == "function"){
 if (color.length == 0) {
  color = '7F3542';
 }

 color = "#" + color;

// This is the preferred "named argument" syntax
  //sIFR.replaceElement(named({sSelector:"body h2", sFlashSrc:"/custom/dearSarah.swf", sColor:color, sLinkColor:color", sBgColor:"#FFFFFF", sHoverColor:"#7F3542;", nPaddingTop:6,nPaddingBottom:0, sFlashVars:"textalign=center&offsetTop=5", sWmode:"transparent"}));
  sIFR.replaceElement(named({sSelector:"span.pageHeader", sFlashSrc:"/custom/dearSarah.swf", sColor:color, sLinkColor:color, sBgColor:"#FFFFFF", sHoverColor:color + ";", nPaddingTop:6,nPaddingBottom:0, sFlashVars:"textalign=center&offsetTop=5", sWmode:"transparent"}));
  sIFR.replaceElement(named({sSelector:"h1.splashHeader", sFlashSrc:"/custom/dearSarah.swf", sColor:color, sLinkColor:color, sBgColor:"#FFFFFF", sHoverColor:color + ";", nPaddingTop:6,nPaddingBottom:0, sFlashVars:"textalign=center&offsetTop=4&offsetLeft=-2", sWmode:"transparent"}));
   //sIFR.replaceElement(named({sSelector:"body h3", sFlashSrc:"/custom/dearSarah.swf", sColor:"#7F3542", sLinkColor:"#7F3542", sBgColor:"#FFFFFF", sHoverColor:"#7F3542;", nPaddingTop:6,nPaddingBottom:0, sFlashVars:"textalign=center&offsetTop=5", sWmode:"transparent"}));


}
}
