  function addToFavorites()
	{
		if (window.external) { window.external.AddFavorite("http://www.grosvenorsuites.com/?WT.cg_n=bookmarkreturn","Grosvenor Suites San Francisco"); }
		else { alert("Sorry! Your browser doesn't support this function."); }
	}

function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=1, scrollbars=1, location=0, status=0, menubar=0, resizable=1, width=785, height=600, left = 250, top = 150');");
}

function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}

function popup(url) {
sealWin=window.open(url,"win",'toolbar=1,location=0,directories=0,status=1,menubar=0,scrollbars=1,resizable=1,width=700,height=450,left = 250, top = 100');
self.name = "mainWin"; 

}
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function generate_address( un, hn, sty, lnk ) {

        var atsign = "&#64;";
        var addr = un + atsign + hn;
        if(!lnk)
                        { document.write( 
          "<" + "a" + " class=" + sty + " href=" + "mail" + "to:" + addr + ">" +
          addr + "</a>");      }
                        else {
                        document.write( 
          "<" + "a" + " class=" + sty + " href=" + "mail" + "to:" + addr + ">" +
          lnk + "</a>");  }
}

function Vpopup(url) {
emailWin=window.open(url,"win",'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=445,height=455');
self.name = "mainWin"; }

function stfpop(url) {
emailWin=window.open(url,"win",'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=560,height=550');
self.name = "mainWin"; }