function addToFavorites()
{ if (window.external) { window.external.AddFavorite("http://www.premierrentalhomes.com","Orlando Vacation Homes, Rental Homes Near Disney"); }
else  { alert("Sorry! Your browser doesn't support this function.\nPress Ctrl+D to add this site to bookmark list."); } }


function popup(url, width, height, scrollable)
{ if(scrollable){scbars = 1;} else{scbars = 0;}
  if(url == "srlogo"){ width = 445; height = 455; url="http://www.hotelwebsitedesign.com/secureres/srpopup/"}
  if(url == "stf"){ if(height==1){height=80;} if(!height){height=0;} url="http://www.secure-res.com/emgr/stf/sendpage.asp?pg="+location.href+"&id="+width; width = 560; height += 575;   }
  newwin=window.open(url,"popup","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars="+ scbars +",resizable=0,width="+width+",height="+height); 
  newwin.focus(); }


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>");  }	}	
		
		
// This script was supplied free by Hypergurl 
// http://www.hypergurl.com -- JavaScript to interpolate random images into a page. 
var ic = 4; // Number of alternative images
var images= new Array(ic); // Array to hold filenames images[0] = "http://www.yoursite.com/graphic1.gif"; 
images[0] = "img/rotator04.jpg"; 
images[1] = "img/rotator01.jpg"; 
images[2] = "img/rotator02.jpg"; 
images[3] = "img/rotator03.jpg"; 
images[4] = "img/rotator04.jpg"; 

function pickRandom(range) 
{ if (Math.random) return Math.round(Math.random() * (range-1)); else { var now 
= new Date(); return (now.getTime() / 1000) % range; } } 
// Write out an IMG tag, using a randomly-chosen image name. 
var choice = pickRandom(ic); 