	// centered pop-up script
		function OpenBrWindow(theURL,winName,features, myWidth, myHeight, isCenter) { //v3.0
		  if(window.screen)if(isCenter)if(isCenter=="true"){
		    var myLeft = (screen.width-myWidth)/2;
		    var myTop = (screen.height-myHeight)/2;
		    features+=(features!='')?',':'';
		    features+=',left='+myLeft+',top='+myTop;
		  }
		  window.open(theURL,winName,features+((features!='')?',':'')+'width='+myWidth+',height='+myHeight);
		}	
	// centered pop-up script fine'
	
	// random flash script	
	var numcount = 3
	day = new Date()
	seed = day.getTime()
	ran = parseInt(((seed - (parseInt(seed/1000,10) * 1000))/10)/100*numcount + 1,10)
	
	if (ran == (1))    
	count=("1") 
	if (ran == (2))
	count=("2") 
	if (ran == (3))
	count=("3")
	// random flash script fine'
	
/*  TRAVELATRO SITE-SNIFFER */
function getSiteName(){
var url = ""
url = "" + window.location
if(url.indexOf("stg-stregisresidenceclub.svo.star")>0){
   s_server = "SRA_STAGE";
} else if (url.indexOf("stregisresidenceclub.svodev.com")>0){
   s_server = "SRA_DEV";
} else if (url.indexOf("stregisresidenceclub.svoqa.com")>0){
	s_server="SRA_QA";
} else if (url.indexOf("stg.stregisresidenceclub.com")>0){
	s_server="SRA_CORP";
} else {
   s_server = "SRA";
} //end if
return s_server;
} //end function