function PCLcc(hStr ,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 thepickuptime=yourserial_array[6];
var thedropofftime=yourserial_array[7];

var thevehicleclass=yourserial_array[8];

var now = new Date();
var serial = now.valueOf();
var nowmonth=now.getMonth()+1;

var exin=theinmonth+'/'+theintoday+'/'+theinyear
var exout=theoutmonth+'/'+theouttoday+'/'+theoutyear

var plpickuptime;

if (thepickuptime<10) {plpickuptime='0'+thepickuptime+'%3A00';}
else{plpickuptime=thepickuptime+'%3A00';}

if (thepickuptime==0) {plpickuptime='00'+'%3A05';}	

var pldropofftime;

if (thedropofftime<10) {pldropofftime='0'+thedropofftime+'%3A00';}
else{pldropofftime=thedropofftime+'%3A00';}

if (thedropofftime==0) {pldropofftime='00'+'%3A05';}
			
if (sStr=='ZZ'){sStr='';}

uArray = new Array();
	
uArray[0]='http://www.priceline.com/qp.asp?refid=CO10425736&refclickID=3158532&URL=http%3A%2F%2Fwww.priceline.com%2Fqp.asp&ProductID=8&PickUpLoc='+hStr+'&PickUpDate='+exin+'&PICKUPTIME='+plpickuptime+'&DropOffLoc=Same+as+Pick-Up&DropOffDate='+exout+'&DROPOFFTIME='+pldropofftime+'&VECHCLASS=+';
uArray[1]='http://www.priceline.com/qp.asp?refid=CO10425736&refclickID=3158532&URL=http%3A%2F%2Fwww.priceline.com%2Fqp.asp&ProductID=8&PickUpLoc='+hStr+'&PickUpDate='+exin+'&PICKUPTIME='+plpickuptime+'&DropOffLoc=Same+as+Pick-Up&DropOffDate='+exout+'&DROPOFFTIME='+pldropofftime+'&VECHCLASS=+';
uArray[2]='http://www.priceline.com/qp.asp?refid=CO10425736&refclickID=3158532&URL=http%3A%2F%2Fwww.priceline.com%2Fqp.asp&ProductID=8&PickUpLoc='+hStr+'&PickUpDate='+exin+'&PICKUPTIME='+plpickuptime+'&DropOffLoc=Same+as+Pick-Up&DropOffDate='+exout+'&DROPOFFTIME='+pldropofftime+'&VECHCLASS=+';
uArray[3]='http://www.priceline.com/qp.asp?refid=CO10425736&refclickID=3158532&URL=http%3A%2F%2Fwww.priceline.com%2Fqp.asp&ProductID=8&PickUpLoc='+hStr+'&PickUpDate='+exin+'&PICKUPTIME='+plpickuptime+'&DropOffLoc=Same+as+Pick-Up&DropOffDate='+exout+'&DROPOFFTIME='+pldropofftime+'&VECHCLASS=+';

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();
    }
}


