function EXPcf(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 thenumadults=yourserial_array[8];

var thefrairport=yourserial_array[9];
var thetoairport=yourserial_array[10];

var now = new Date();
var serial = now.valueOf();
var nowmonth=now.getMonth()+1;

var exin=theinmonth+'/'+theintoday+'/'+theinyear
var exout=theoutmonth+'/'+theouttoday+'/'+theoutyear

var expickuptime
var expickupampm
	
if (thepickuptime >12) {
	expickuptime=thepickuptime-12;
	expickupampm='pm';}
else {
	expickuptime=thepickuptime;
	expickupampm='am';
	if (expickuptime==12) {expickupampm='pm';}
	if (expickuptime==0) {expickuptime=12;}
}

var exdropofftime;
var exdropoffampm;

if (thedropofftime > 12) {
	exdropofftime=thedropofftime-12;
	exdropoffampm='pm';}
else {
	exdropofftime=thedropofftime;
	exdropoffampm='am';
	if (exdropofftime==12) {exdropoffampm='pm';}
	if (exdropofftime==0) {exdropofftime=12;}
}
		
if (sStr=='ZZ'){sStr='';}

uArray = new Array();
	
uArray[0]='http://www.dpbolvw.net/click-3158532-10489996?GOTO=EXPFLTWIZ&FrAirport='+thefrairport+'&ToAirport='+thetoairport+'&FromDate='+exin+'&ToDate='+exout+'&NumAdult='+thenumadults+'&FromTime='+expickuptime+expickupampm+'&ToTime='+exdropofftime+exdropoffampm;
uArray[1]='http://www.dpbolvw.net/click-3158532-10489996?GOTO=EXPFLTWIZ&FrAirport='+thefrairport+'&ToAirport='+thetoairport+'&FromDate='+exin+'&ToDate='+exout+'&NumAdult='+thenumadults+'&FromTime='+expickuptime+expickupampm+'&ToTime='+exdropofftime+exdropoffampm;
uArray[2]='http://www.dpbolvw.net/click-3158532-10489996?GOTO=EXPFLTWIZ&FrAirport='+thefrairport+'&ToAirport='+thetoairport+'&FromDate='+exin+'&ToDate='+exout+'&NumAdult='+thenumadults+'&FromTime='+expickuptime+expickupampm+'&ToTime='+exdropofftime+exdropoffampm;
uArray[3]='http://www.dpbolvw.net/click-3158532-10489996?GOTO=EXPFLTWIZ&FrAirport='+thefrairport+'&ToAirport='+thetoairport+'&FromDate='+exin+'&ToDate='+exout+'&NumAdult='+thenumadults+'&FromTime='+expickuptime+expickupampm+'&ToTime='+exdropofftime+exdropoffampm;


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();
    }
}


