function bookmarksite(title, url){
if (document.all)
window.external.AddFavorite(url, title);
else if (window.sidebar)
window.sidebar.addPanel(title, url, "")
}

function hbcPop(key, style, country, state, city) {
if (key==""){key=document.getElementById("rs_city").value;}
if (city==""){city=document.getElementById("rs_city").value;}
var page = "http://www.hotelsbycity.com/hotels/pop_up.php?key="+key+"&style="+style+"&country="+country+"&state="+state+"&city="+city;
var windowprops = "resizable=1,scrollbars=1,menubar=1,location=1,toolbar=1,titlebar=1,width=680,height=510, top=50, left=50";
newWindow = window.open(page, '', windowprops);
newWindow.blur();
}



//ROI
var strURL = window.location.href;var strQuery = "";
if(strURL.indexOf("?")>-1)
{
var strU = strURL.split("?");
if(strU[1].indexOf("source=")>-1){var strQ = strU[1].split("&");for(x=0;x<strQ.length;x++){if(strQ[x].indexOf("source=")==0)strQuery=strQ[x];}}
imgImg = new Image(10,10);imgImg.src = "http://secure.rezserver.com/inc/roitrack.php?" + strQuery;
}
