function WCTch(cStr, sStr, wStr) {
	
yourserial=setCookieToUser();    

var yourserial_array=yourserial.split('-');
var theintoday=yourserial_array[0];
var theinmonth=yourserial_array[1];
var theinyear=yourserial_array[2];
var theouttoday=yourserial_array[3];
var theoutmonth=yourserial_array[4];
var theoutyear=yourserial_array[5];
var therooms=yourserial_array[6];	
var theadults=yourserial_array[7];

var now = new Date();
var serial = now.valueOf();
var nowmonth=now.getMonth()+1;

var hcinmonth=theinmonth-1;
var hcoutmonth=theoutmonth-1;

if (sStr=='ZZ'){sStr='';}

uArray = new Array();

uArray[0]='http://reservations.ezeee.com/nexres/search/interstitial.cgi?src=10013740&src_aid=AB-ZZ&tab=tab0&avail=Y&currency_id=USD&search_city_vicinity=&retain=on&doa_yy='+theinyear+'&doa_mm='+theinmonth+'&doa_dd='+theintoday+'&dod_yy='+theoutyear+'&dod_mm='+theoutmonth+'&dod_dd='+theouttoday+'&num_rooms='+therooms+'&num_adults='+theadults+'&num_children=0&city='+cStr+'&state='+sStr+'&country='+wStr+'&search=SEARCH';
uArray[1]='http://reservations.ezeee.com/nexres/search/interstitial.cgi?src=10013740&src_aid=AB-GO&tab=tab0&avail=Y&currency_id=USD&search_city_vicinity=&retain=on&doa_yy='+theinyear+'&doa_mm='+theinmonth+'&doa_dd='+theintoday+'&dod_yy='+theoutyear+'&dod_mm='+theoutmonth+'&dod_dd='+theouttoday+'&num_rooms='+therooms+'&num_adults='+theadults+'&num_children=0&city='+cStr+'&state='+sStr+'&country='+wStr+'&search=SEARCH';
uArray[2]='http://reservations.ezeee.com/nexres/search/interstitial.cgi?src=10013740&src_aid=AB-GT&tab=tab0&avail=Y&currency_id=USD&search_city_vicinity=&retain=on&doa_yy='+theinyear+'&doa_mm='+theinmonth+'&doa_dd='+theintoday+'&dod_yy='+theoutyear+'&dod_mm='+theoutmonth+'&dod_dd='+theouttoday+'&num_rooms='+therooms+'&num_adults='+theadults+'&num_children=0&city='+cStr+'&state='+sStr+'&country='+wStr+'&search=SEARCH';
uArray[3]='http://reservations.ezeee.com/nexres/search/interstitial.cgi?src=10013740&src_aid=AB-MS&tab=tab0&avail=Y&currency_id=USD&search_city_vicinity=&retain=on&doa_yy='+theinyear+'&doa_mm='+theinmonth+'&doa_dd='+theintoday+'&dod_yy='+theoutyear+'&dod_mm='+theoutmonth+'&dod_dd='+theouttoday+'&num_rooms='+therooms+'&num_adults='+theadults+'&num_children=0&city='+cStr+'&state='+sStr+'&country='+wStr+'&search=SEARCH';

i=0;
	
if (GetRef()=="go"){i=1;}
if (GetRef()=="gt"){i=2;}
if (GetRef()=="ms"){i=3;}		
uPar=uArray[i];
	
var w = window.open(uPar, '', 'toolbar,menubar,scrollbars,resizable,directories,status,location,copyhistory,');

    if (w != null){
	w.opener = self;
	w.focus();
    }
}
