function makeGenericFrame(title, names,values,delimiter, win, mode){
	var contentstr ="";
	var namesArray = names.split(delimiter);
	var valuesArray = values.split(delimiter);
	var i=0;
	var lines =0;
	contentstr="<table width=100% border=0 cellspacing=0 cellpadding=0 id=contentTable>";
	for (i=0; i< namesArray.length; i++) {
		if((i+1)%2==0) contentstr+="<tr class='alter'>";
		else  contentstr+="<tr class='alternatingbgcolor'>";
		if(valuesArray[i]==null){ valuesArray[i] ==" ";}
		if(namesArray[i]+""=="-")
			contentstr += "<td class=\"sep\">&nbsp;</td><td class=\"value\" colspan=\"2\">" +valuesArray[i]+"</td></tr>";
		else
			contentstr += "<td class=\"name\" >"+namesArray[i] + "</td><td class=\"sep\">:</td><td class=\"value\">" +valuesArray[i]+"</td></tr>";
		var len1 = new String(namesArray[i]).length;
		var len = new String(valuesArray[i]).length;
		if(len <= len1 ) len = len1; 
		lines += (len-(len%30))/30 +1;
	}
	contentstr += "<tr ><td height='50' colspan=\"3\" ></td></tr></table>";
	this.frameHeight= (lines* 14 )+ 80;
	
	var okLinkHTMLStr = "<img src=\"/web/images/internal/arr.gif\" border=\"0\" alt=\"\">";
	var nameTagHTMLStr = "<b>" + title + "</b>";
	var closeLinkHTMLStr = "<a onmouseover=\"style.cursor='hand';\" onclick=\"javascript:wp.hideGenericFrame();\"><img src=\"/web/images/internal/close.gif\" border=\"0\" alt=\"close\"></a>";
	var title  = "<table cellpadding=2 cellspacing=0 border=0 width=\"100%\"><tr >";
	title += "<td width=\"8%\" align=\"center\"  class=\"rowheader\">"+okLinkHTMLStr+"</td>";
	title += "<td width=\"87%\" align=\"left\"  class=\"rowheader\">"+nameTagHTMLStr+"</td>";
	title += "<td align=\"right\" class=\"rowheader\">"+closeLinkHTMLStr+"</td>";
	title += "</tr></table>";

	dumpGenericContent(title,contentstr,win);
}

function makeNetJetsProgramDetailsFrame(win)
{
 	var contentstr ='<table border=0 cellpadding=2 cellspacing=0 width=\"500\"><tr><Td colspan=\"2\"><span class=\"alinkred2\"></span><br>Complimentary hours are subject to normal Savoya terms and conditions including, but not limited to, a two (2) hour cancellation policy and a two (2) hour minimum charge per unique sedan trip.  For &quot;no-show&quot; trips and trips cancelled or modified within two (2) hours of the scheduled pickup time, hours will be depleted at the two (2) hour minimum charge per trip. SUV, Van, and Limousine usage shall deplete these hours at a rate of 1.5 hours for each one (1) hour of usage. Flat rate sedan transfer trips shall deplete these hours at a rate of two (2) hours per one way sedan transfer trip. Complimentary hours are not usable during pre-defined Savoya &quot;Special Events&quot;. Complimentary hours expire one (1) year after activation. Not transferable; valid only for active NetJets Owners and Marquis Jet Card Owners.</td></tr></table>';
 	var okLinkHTMLStr = "<img src=\"/web/images/internal/arr.gif\" border=\"0\" alt=\"\">";
 	var nameTagHTMLStr = "<b >Program Details.</b>";
 	var closeLinkHTMLStr = "<a onmouseover=\"style.cursor='hand';\" onclick=\"javascript:wp.hideGenericFrame();\"><img src=\"/web/images/internal/close.gif\" border=\"0\" alt=\"close\"></a>";
 	var title  = "<table cellpadding=2 cellspacing=0 border=0 width=\"100%\"><tr >";
 	title += "<td width=\"8%\" align=\"center\"  class=\"rowheader\">"+okLinkHTMLStr+"</td>";
 	title += "<td width=\"85%\" align=\"left\"  class=\"rowheader\">"+nameTagHTMLStr+"</td>";
 	title += "<td align=\"right\" class=\"rowheader\">"+closeLinkHTMLStr+"</td>";
 	title += "</tr></table>";
 
 	dumpGenericContent(title,contentstr,win);
}


function show_netjets_programdetails_frame(event,frameName)
{
 	setFrame(frameName);
   	this.winGenericNotes=eval('window.frames.'+frameName);
 	makeNetJetsProgramDetailsFrame(this.winGenericNotes);
 	
 	this.showGenericFrame('505px','170px');
 	getMouseXY(event);
 	setFrameSettings();
}


function setpickup(form,operation,operationvalue,submitThis){
	if((form1 = eval("document.all."+form))!=null){
		if (eval("form1."+operation) )
			operationvalue=eval("form1."+operation+".value= operationvalue");
	}
	hideGenericFrame();
	if(submitThis) { 
		show_loading_frame(window.event,'LoadingFrame','Updating Reservation');form1.submit();
		return true;
	}
	return true;
}

function makeGenericFrameForCommFlight(title, names,values,delimiter, win, mode, form, showflightviewbuttons, url){
	var contentstr ="";
	var namesArray = names.split(delimiter);
	var valuesArray = values.split(delimiter);
	var i=0;
	var lines =0;
	contentstr="<table width=100% border=0 cellspacing=0 cellpadding=0 id=contentTable>";
	for (i=0; i< namesArray.length; i++) {
		if((i+1)%2==0) contentstr+="<tr class='alter'>";
		else  contentstr+="<tr class='alternatingbgcolor'>";
		if(valuesArray[i]==null){ valuesArray[i] ==" ";}
		if(namesArray[i]+""=="-")
			contentstr += "<td class=\"sep\">&nbsp;</td><td class=\"value\" colspan=\"2\">" +valuesArray[i]+"</td></tr>";
 		else
		{
			if (valuesArray[i] == "")
				contentstr += "<td class=\"name\" ><b><font size=\"3\">"+namesArray[i] + "</font></b></td><td class=\"sep\"></td><td class=\"value\"> </td></tr>";
			else
				contentstr += "<td class=\"name\" >"+namesArray[i] + "</td><td class=\"sep\">:</td><td class=\"value\">" +valuesArray[i]+"</td></tr>";
		}
		var len1 = new String(namesArray[i]).length;
		var len = new String(valuesArray[i]).length;
		if(len <= len1 ) len = len1; 
		lines += (len-(len%30))/30 +1;
	}
	if (showflightviewbuttons != null && showflightviewbuttons == "true")
	{
		onClickStr1="return wp.setpickup('"+form+"','operation','clearflighttrackinginfo',true)";
		onClickStr2="return wp.setpickup('"+form+"','operation','updateAndClearFlightInfo',true)";
		contentstr +="<tr><td colspan=\"3\" height=\"20\"></td></tr>";
		contentstr +="<tr><td colspan=\"3\" align=\"center\"><input type='image' onmouseover=\"style.cursor='hand';\" name='submit'  id='submit' src='/web/images/internal/clearflighttracking.gif' alt='Clear Flight Tracking' border='0' onClick=\""+onClickStr1+";\"></td></tr>";
		contentstr +="<tr><td colspan=\"3\" height=\"20\"></td></tr>";
		contentstr +="<tr><td colspan=\"3\" align=\"center\"><input type='image' onmouseover=\"style.cursor='hand';\" name='submit'  id='submit' src='/web/images/internal/updateclearflighttracking1.gif' alt='Update arrival Time and Clear Flight Tracking' border='0' onClick=\""+onClickStr2+";\"></td></tr>";
		if (url != "")
		{
			contentstr +="<tr><td colspan=\"3\" height=\"20\"></td></tr>";
			contentstr +="<tr><td colspan=\"3\" align=\"center\"><a  href=\"javascript:wp.redirect('"+url+"');\"><img src=\"/web/images/internal/clearflighttrackingandupdate.gif\" border=\"0\" alt=\"close\"></a></td></tr>";
		}
		this.frameHeight= (lines* 14 )+ 130;
	}
	else
		this.frameHeight= (lines* 14 )+ 80;
	contentstr += "<tr ><td height='50' colspan=\"3\" ></td></tr></table>";
	
	var okLinkHTMLStr = "<img src=\"/web/images/internal/arr.gif\" border=\"0\" alt=\"\">";
	var nameTagHTMLStr = "<b>" + title + "</b>";
	var closeLinkHTMLStr = "<a onmouseover=\"style.cursor='hand';\" onclick=\"javascript:wp.hideGenericFrame();\"><img src=\"/web/images/internal/close.gif\" border=\"0\" alt=\"close\"></a>";
	var title  = "<table cellpadding=2 cellspacing=0 border=0 width=\"100%\"><tr >";
	title += "<td width=\"8%\" align=\"center\"  class=\"rowheader\">"+okLinkHTMLStr+"</td>";
	title += "<td width=\"87%\" align=\"left\"  class=\"rowheader\">"+nameTagHTMLStr+"</td>";
	title += "<td align=\"right\" class=\"rowheader\">"+closeLinkHTMLStr+"</td>";
	title += "</tr></table>";

	dumpGenericContent(title,contentstr,win);
}

function makeGenericFramePub(title, names,values,delimiter, win, mode){
	var contentstr ="";
	var namesArray = names.split(delimiter);
	var valuesArray = values.split(delimiter);
	var i=0;
	var lines =0;
	contentstr="<table width=100% border=0 cellspacing=0 cellpadding=0 id=contentTable>";
	for (i=0; i< namesArray.length; i++) {
		if((i+1)%2==0) contentstr+="<tr class=\"textrightpublic\" >";
		else  contentstr+="<tr class=\"textrightpublic\" bgcolor=\"#FFFFFF\">";
		if(valuesArray[i]==null){ valuesArray[i] ==" ";}
		if(namesArray[i]+""=="-")
			contentstr += "<td class=\"sep\">&nbsp;</td><td class=\"value\" colspan=\"2\">" +valuesArray[i]+"</td></tr>";
		else
			contentstr += "<td class=\"name\" >"+namesArray[i] + "</td><td class=\"sep\">:</td><td class=\"value\">" +valuesArray[i]+"</td></tr>";
		var len1 = new String(namesArray[i]).length;
		var len = new String(valuesArray[i]).length;
		if(len <= len1 ) len = len1; 
		lines += (len-(len%30))/30 +1;
	}
	contentstr += "<tr ><td height='50' colspan=\"3\" ></td></tr></table>";
	this.frameHeight= (lines* 14 )+ 80;
	
	var okLinkHTMLStr = "<img src=\"/web/images/internal/arr2.gif\" border=\"0\" alt=\"\">";
	var nameTagHTMLStr = "<b>" + title + "</b>";
	var closeLinkHTMLStr = "<a onmouseover=\"style.cursor='hand';\" onclick=\"javascript:wp.hideGenericFrame();\"><img src=\"/web/images/internal/close2.gif\" border=\"0\" alt=\"close\"></a>";
	var title  = "<table cellpadding=2 cellspacing=0 border=0 width=\"100%\"><tr bgcolor=\"#8A0000\" >";
	title += "<td width=\"8%\" align=\"center\"  class=\"myaccountheadpublic\">"+okLinkHTMLStr+"</td>";
	title += "<td width=\"87%\" align=\"left\"  class=\"myaccountheadpublic\">"+nameTagHTMLStr+"</td>";
	title += "<td align=\"right\" class=\"myaccountheadpublic\">"+closeLinkHTMLStr+"</td>";
	title += "</tr></table>";

	dumpGenericContent(title,contentstr,win);
}
function makeGenericAffFrame(title, values, win,mode){
	this.frameHeight= 200;
	var okLinkHTMLStr = "<img src=\"/web/images/internal/arr.gif\" border=\"0\" alt=\"\">";
	var nameTagHTMLStr = "<b>" + title + "</b>";
	var closeLinkHTMLStr = "<a onmouseover=\"style.cursor='hand';\" onclick=\"javascript:wp.hideGenericFrame();\"><img src=\"/web/images/internal/close.gif\" border=\"0\" alt=\"close\"></a>";
	var title  = "<table cellpadding=2 cellspacing=0 border=0 width=\"100%\"><tr >";
	title += "<td width=\"8%\" align=\"center\"  class=\"rowheader\">"+okLinkHTMLStr+"</td>";
	title += "<td width=\"87%\" align=\"left\"  class=\"rowheader\">"+nameTagHTMLStr+"</td>";
	title += "<td align=\"right\" class=\"rowheader\">"+closeLinkHTMLStr+"</td>";
	title += "</tr></table>";
	dumpGenericContent(title,values,win);
}

function makeGroupGenericFrame(title, names,values,delimiter, win, mode){
	var contentstr ="";
	var namesArray = names.split(delimiter);
	var valuesArray = values.split(delimiter);
	var i=0;
	var lines =0;
	contentstr="<table width=100% border=0 cellspacing=0 cellpadding=0 id=contentTable>";
	for (i=0; i< namesArray.length; i++) {
		if((i+1)%2==0) contentstr+="<tr >";
		else  contentstr+="<tr class='alternatingbgcolor'>";
		if(valuesArray[i]==null){ valuesArray[i] ==" ";}
		if(namesArray[i]+""=="-")
			contentstr += "<td class=\"sep\">&nbsp;</td><td class=\"value\" colspan=\"2\">" +valuesArray[i]+"</td></tr>";
		else
			contentstr += "<td class=\"name\" >"+namesArray[i] + "</td><td class=\"sep\">:</td><td class=\"value\">" +valuesArray[i]+"</td></tr>";
		var len1 = new String(namesArray[i]).length;
		var len = new String(valuesArray[i]).length;
		if(len <= len1 ) len = len1; 
		lines += (len-(len%30))/30 +1;
	}
	contentstr += "<tr ><td height='50' colspan=\"3\" ></td></tr></table>";
	this.frameHeight= (lines* 14 )+ 80;
	
	var okLinkHTMLStr = "<img src=\"/web/images/internal/arr.gif\" border=\"0\" alt=\"\">";
	var nameTagHTMLStr = "<b>" + title + "</b>";
	var closeLinkHTMLStr = "<a onmouseover=\"style.cursor='hand';\" onclick=\"javascript:wp.hideGenericFrame();\"><img src=\"/web/images/internal/close.gif\" border=\"0\" alt=\"close\"></a>";
	var title  = "<table cellpadding=2 cellspacing=0 border=0 width=\"100%\"><tr >";
	title += "<td width=\"8%\" align=\"center\"  class=\"rowheader\">"+okLinkHTMLStr+"</td>";
	title += "<td width=\"87%\" align=\"left\"  class=\"rowheader\">"+nameTagHTMLStr+"</td>";
	title += "<td align=\"right\" class=\"rowheader\">"+closeLinkHTMLStr+"</td>";
	title += "</tr></table>";

	dumpGenericContent(title,contentstr,win);
}

function makeLoginhelpFrame(win){
	var contentstr ='<table border=0 cellpadding=2 cellspacing=0 width=\"500\"> <tr> <Td colspan=\"2\"><br> <span class=\"alinkred2\">Your Login information is always transmitted in &quot;Secure Mode&quot;.</span><br> Secure mode provides you with extra protection for your password transmission using SSL technology. </TD> </tr> <tr> <td align=right valign=top>&#149; </td> <td class=\"alink2\"> <b>What does &quot;Remember me on this computer&quot; mean?</b> </td> </tr> <tr> <td align=right valign=top>&nbsp;</td> <td > <div> For your convenience, we can make your browser &quot;remember&quot; your Login ID and password  until you logout explicitly. If you check the &quot;Remember&quot; box, you won\'t have to Login each time you come back.  We do this with something called a persistent cookie.  </div> </td> </tr> <tr> <td align=right valign=top>&#149; </td> <td class=\"alink2\"> <b>Should I check it or not?</b> </td> </tr> <tr> <td align=right valign=top>&nbsp;</td> <td > <div> If you\'re concerned that other people might accidentally  access your account don\'t check the &quot;Remember me&quot; box. Make sure to click &quot;Logout&quot; when you leave your computer.  This will ensure that we ask for your Login ID and password the next time you access your account. <br><br>If you use a shared computer (in a library, Internet cafe, university, airport, or other common area)  do not check the &quot;Remember me&quot; checkbox.  </div> </td> </tr>	 <tr> <td align=right valign=top>&#149; </td> <td class=\"alink2\"> <b>What if I change my mind?</b> </td> </tr> <tr> <td align=right valign=top>&nbsp;</td> <td > <div> You can logout of your account at any time by clicking the &quot;Logout&quot; link at the top of each page.  Once you\'ve signed out, you can login again and choose whether your browser &quot;remembers&quot; or not.  </div> </td> </tr> <tr> <td align=right valign=top>&#149; </td> <td class=\"alink2\"> <b>What if I forgot my ID or password?</b> </td> </tr> <tr> <td align=right valign=top>&nbsp;</td> <td> <div> Click <span class=\"alinkred2\" href=\"findpassword\"> Forgot Password</span> to retrieve your password. You will be asked to  enter your Login ID, then your password will be sent to the email address provided in your account. <br><br> If you do not remember your Login ID or cannot access your email, please contact our 24-Hour customer support for further assistance. </div> </td> </tr>	 </table>';


	var okLinkHTMLStr = "<img src=\"/web/images/internal/arr.gif\" border=\"0\" alt=\"\">";
	var nameTagHTMLStr = "<b >Login Help.</b>";
	var closeLinkHTMLStr = "<a onmouseover=\"style.cursor='hand';\" onclick=\"javascript:wp.hideGenericFrame();\"><img src=\"/web/images/internal/close.gif\" border=\"0\" alt=\"close\"></a>";
	var title  = "<table cellpadding=2 cellspacing=0 border=0 width=\"100%\"><tr >";
	title += "<td width=\"8%\" align=\"center\"  class=\"rowheader\">"+okLinkHTMLStr+"</td>";
	title += "<td width=\"85%\" align=\"left\"  class=\"rowheader\">"+nameTagHTMLStr+"</td>";
	title += "<td align=\"right\" class=\"rowheader\">"+closeLinkHTMLStr+"</td>";
	title += "</tr></table>";

	dumpGenericContent(title,contentstr,win);
}
function makeAffiliateLoginhelpFrame(win){
	var contentstr ='<table border=0 cellpadding=2 cellspacing=0 width=\"500\"> <tr> <Td colspan=\"2\"><br> <span class=\"alinkred2\">Your Login information is always transmitted in &quot;Secure Mode&quot;.</span><br> Secure mode provides you with extra protection for your password transmission using SSL technology. </TD> </tr> <tr> <td align=right valign=top>&#149; </td> <td class=\"alink2\"> <b>What does &quot;Remember me on this computer&quot; mean?</b> </td> </tr> <tr> <td align=right valign=top>&nbsp;</td> <td > <div> For your convenience, we can make your browser &quot;remember&quot; your Login ID. If you check the &quot;Remember&quot; box, you won\'t have to enter Login Id each time you come back.  We do this with something called a persistent cookie.  </div> </td> </tr> <tr> <td align=right valign=top>&#149; </td> <td class=\"alink2\"> <b>Should I check it or not?</b> </td> </tr> <tr> <td align=right valign=top>&nbsp;</td> <td > <div> If you\'re concerned that other people might accidentally  access your account don\'t check the &quot;Remember me&quot; box. Make sure to click &quot;Logout&quot; when you leave your computer. <br></div> </td> </tr>	 <tr> <td align=right valign=top>&#149; </td> <td class=\"alink2\"> <b>What if I change my mind?</b> </td> </tr> <tr> <td align=right valign=top>&nbsp;</td> <td > <div> You can logout of your account at any time by clicking the &quot;Logout&quot; link at the top of each page.  Once you\'ve signed out, you can login again and choose whether your browser &quot;remembers&quot; or not.  </div> </td> </tr> <tr> <td align=right valign=top>&#149; </td> <td class=\"alink2\"> <b>What if I forgot my ID or password?</b> </td> </tr> <tr> <td align=right valign=top>&nbsp;</td> <td><div>If you do not remember your Login ID or Password, please contact our 24-Hour customer support for further assistance. </div> </td> </tr>	 </table>';


	var okLinkHTMLStr = "<img src=\"/web/images/internal/arr.gif\" border=\"0\" alt=\"\">";
	var nameTagHTMLStr = "<b >Login Help.</b>";
	var closeLinkHTMLStr = "<a onmouseover=\"style.cursor='hand';\" onclick=\"javascript:wp.hideGenericFrame();\"><img src=\"/web/images/internal/close.gif\" border=\"0\" alt=\"close\"></a>";
	var title  = "<table cellpadding=2 cellspacing=0 border=0 width=\"100%\"><tr >";
	title += "<td width=\"8%\" align=\"center\"  class=\"rowheader\">"+okLinkHTMLStr+"</td>";
	title += "<td width=\"85%\" align=\"left\"  class=\"rowheader\">"+nameTagHTMLStr+"</td>";
	title += "<td align=\"right\" class=\"rowheader\">"+closeLinkHTMLStr+"</td>";
	title += "</tr></table>";

	dumpGenericContent(title,contentstr,win);
}
function makeInternalLoginhelpFrame(win){
	var contentstr ='<table border=0 cellpadding=2 cellspacing=0 width=\"500\"> <tr> <Td colspan=\"2\"><br> <span class=\"alinkred2\">Your Login information is always transmitted in &quot;Secure Mode&quot;.</span><br> Secure mode provides you with extra protection for your password transmission using SSL technology. </TD> </tr> <tr> <td align=right valign=top>&#149; </td> <td class=\"alink2\"> <b>What does &quot;Remember me on this computer&quot; mean?</b> </td> </tr> <tr> <td align=right valign=top>&nbsp;</td> <td > <div> For your convenience, we can make your browser &quot;remember&quot; your Login ID and password  until you logout explicitly. If you check the &quot;Remember&quot; box, you won\'t have to Login each time you come back.  We do this with something called a persistent cookie.  </div> </td> </tr> <tr> <td align=right valign=top>&#149; </td> <td class=\"alink2\"> <b>Should I check it or not?</b> </td> </tr> <tr> <td align=right valign=top>&nbsp;</td> <td > <div> If you\'re concerned that other people might accidentally  access your account don\'t check the &quot;Remember me&quot; box. Make sure to click &quot;Logout&quot; when you leave your computer.  This will ensure that we ask for your Login ID and password the next time you access your account. <br><br>If you use a shared computer (in a library, Internet cafe, university, airport, or other common area)  do not check the &quot;Remember me&quot; checkbox.  </div> </td> </tr>	 <tr> <td align=right valign=top>&#149; </td> <td class=\"alink2\"> <b>What if I change my mind?</b> </td> </tr> <tr> <td align=right valign=top>&nbsp;</td> <td > <div> You can logout of your account at any time by clicking the &quot;Logout&quot; link at the top of each page.  Once you\'ve signed out, you can login again and choose whether your browser &quot;remembers&quot; or not.  </div> </td> </tr> <tr> <td align=right valign=top>&#149; </td> <td class=\"alink2\"> <b>What if I forgot my ID or password?</b> </td> </tr> <tr> <td align=right valign=top>&nbsp;</td> <td> <div> Please contact your local administrator for your ID and password.</div> </td> </tr>	 </table>';


	var okLinkHTMLStr = "<img src=\"/web/images/internal/arr.gif\" border=\"0\" alt=\"\">";
	var nameTagHTMLStr = "<b >Login Help.</b>";
	var closeLinkHTMLStr = "<a onmouseover=\"style.cursor='hand';\" onclick=\"javascript:wp.hideGenericFrame();\"><img src=\"/web/images/internal/close.gif\" border=\"0\" alt=\"close\"></a>";
	var title  = "<table cellpadding=2 cellspacing=0 border=0 width=\"100%\"><tr >";
	title += "<td width=\"8%\" align=\"center\"  class=\"rowheader\">"+okLinkHTMLStr+"</td>";
	title += "<td width=\"85%\" align=\"left\"  class=\"rowheader\">"+nameTagHTMLStr+"</td>";
	title += "<td align=\"right\" class=\"rowheader\">"+closeLinkHTMLStr+"</td>";
	title += "</tr></table>";

	dumpGenericContent(title,contentstr,win);
}

function makeVehicleTypeFrame(win){
	var contentstr ='<TABLE summary=\"\" cellspacing=\"0\" border=\"0\" cellpadding=\"0\" > <tr> <td align=\"left\" bgcolor=\"#DDDDDD\" > <TABLE SUMMARY=\"\" cellspacing=\"1\" width=\"500\" border=\"0\" cellpadding=\"4\"> <tr class=\"rowheader\" valign=\"bottom\" align=\"left\"  bgcolor=\"#FFFFFF\"> <td width=\"20%\"> Vehicle Type </td> <td width=\"15%\"> Seating Capacity </td> <td nowrap width=\"60%\"> Luggage Capacity </td> </tr> <tr align=\"left\" bgcolor=\"#FFFFFF\"> <td> Sedan </td> <td> 2 to 3 </td> <td> Accommodates luggage for 2 with golf clubs (in soft bag) or just baggage for 3 people </td> </tr> <tr align=\"left\" bgcolor=\"#FFFFFF\"> <td> 6 passenger Limousine </td> <td> 4 to 6 </td> <td> Same trunk space as a Sedan </td> </tr> <tr align=\"left\" bgcolor=\"#FFFFFF\"> <td> 8 passenger Limousine </td> <td> 6 to 8 </td> <td> Same trunk space as a Sedan </td> </tr> <tr align=\"left\" bgcolor=\"#FFFFFF\"> <td> 10 passenger Limousine </td> <td> 8 to 10 </td> <td> Same trunk space as a Sedan </td> </tr> <tr align=\"left\" bgcolor=\"#FFFFFF\"> <td> SUV </td> <td> 3 to 6 </td> <td> Accommodates luggage for 3 - 4 and possibly 1-2 sets of golf clubs (in soft bag) </td> </tr> <tr align=\"left\" bgcolor=\"#FFFFFF\"> <td> Van </td> <td> 6 to 10 </td> <td> Depending on the configuration of the van, will accommodate luggage for 4 - 6 people </td> </tr> <tr align=\"left\" bgcolor=\"#FFFFFF\"> <td> Excecutive Van </td> <td> up to 5 </td> <td> Same trunk space as a Sedan </td> </tr> <tr align=\"left\" bgcolor=\"#FFFFFF\"> <td> Mini-Bus </td> <td> 15 to 33 </td> <td> Depending on the size of the luggage compartment, will accommodate luggage for 12 - 20 people </td> </tr> <tr align=\"left\" bgcolor=\"#FFFFFF\"> <td> Limo-Bus </td> <td> 10 to 18 </td> <td> Depending on the configuration of the Limo-Bus, will accommodate luggage for 8 - 10 people </td> </tr> <tr align=\"left\" bgcolor=\"#FFFFFF\"> <td> Coach Bus </td> <td> 47 to 52 </td> <td> Depending on the size of the Coach, will accommodate luggage for 40 - 50 people </td> </tr><tr align=\"left\" bgcolor=\"#FFFFFF\"> <td> MPV </td> <td>up to 6</td> <td>Accommodates luggage for 3-4 </td> </tr> </TABLE></td> </tr> </table>';
	var okLinkHTMLStr = "<img src=\"/web/images/internal/arr.gif\" border=\"0\" alt=\"\">";
	var nameTagHTMLStr = "<b>Vehicle Type Information </b>";
	var closeLinkHTMLStr = "<a onmouseover=\"style.cursor='hand';\" onclick=\"javascript:wp.hideGenericFrame();\"><img src=\"/web/images/internal/close.gif\" border=\"0\" alt=\"close\"></a>";
	var title  = "<table cellpadding=2 cellspacing=0 border=0 width=\"100%\"><tr>";
	title += "<td width=\"8%\" align=\"center\"  class=\"rowheader\">"+okLinkHTMLStr+"</td>";
	title += "<td width=\"87%\" align=\"left\"  class=\"rowheader\">"+nameTagHTMLStr+"</td>";
	title += "<td align=\"right\" class=\"rowheader\">"+closeLinkHTMLStr+"</td>";
	title += "</tr></table>";

	dumpGenericContent(title,contentstr,win);
}

function makeVehicleTypeFrameLic(win){
	var contentstr ='<TABLE summary=\"\" cellspacing=\"0\" border=\"0\" cellpadding=\"0\" > <tr> <td align=\"left\" bgcolor=\"#DDDDDD\" > <TABLE SUMMARY=\"\" cellspacing=\"1\" width=\"500\" border=\"0\" cellpadding=\"4\"> <tr class=\"rowheader\" valign=\"bottom\" align=\"left\"  bgcolor=\"#FFFFFF\"> <td width=\"20%\"> Vehicle Type </td> <td width=\"15%\"> Seating Capacity </td> <td nowrap width=\"60%\"> Luggage Capacity </td> </tr> <tr align=\"left\" bgcolor=\"#FFFFFF\"> <td> Sedan </td> <td> 2 to 3 </td> <td> Accommodates luggage for 2 with golf clubs (in soft bag) or just baggage for 3 people </td> </tr> <tr align=\"left\" bgcolor=\"#FFFFFF\"> <td> 6 passenger Limousine </td> <td> 4 to 6 </td> <td> Same trunk space as a Sedan </td> </tr> <tr align=\"left\" bgcolor=\"#FFFFFF\"> <td> 8 passenger Limousine </td> <td> 6 to 8 </td> <td> Same trunk space as a Sedan </td> </tr> <tr align=\"left\" bgcolor=\"#FFFFFF\"> <td> 10 passenger Limousine </td> <td> 8 to 10 </td> <td> Same trunk space as a Sedan </td> </tr> <tr align=\"left\" bgcolor=\"#FFFFFF\"> <td> SUV </td> <td> 3 to 6 </td> <td> Accommodates luggage for 3 - 4 and possibly 1-2 sets of golf clubs (in soft bag) </td> </tr> <tr align=\"left\" bgcolor=\"#FFFFFF\"> <td> Van </td> <td> 6 to 10 </td> <td> Depending on the configuration of the van, will accommodate luggage for 4 - 6 people </td> </tr> <tr align=\"left\" bgcolor=\"#FFFFFF\"> <td> Excecutive Van </td> <td> up to 5 </td> <td> Same trunk space as a Sedan </td> </tr> <tr align=\"left\" bgcolor=\"#FFFFFF\"> <td> Mini-Bus </td> <td> 15 to 33 </td> <td> Depending on the size of the luggage compartment, will accommodate luggage for 12 - 20 people </td> </tr> <tr align=\"left\" bgcolor=\"#FFFFFF\"> <td> Limo-Bus </td> <td> 10 to 18 </td> <td> Depending on the configuration of the Limo-Bus, will accommodate luggage for 8 - 10 people </td> </tr> <tr align=\"left\" bgcolor=\"#FFFFFF\"> <td> Coach Bus </td> <td> 47 to 52 </td> <td> Depending on the size of the Coach, will accommodate luggage for 40 - 50 people </td> </tr></TABLE></td> </tr> </table>';
	var okLinkHTMLStr = "<img src=\"/web/images/internal/arr.gif\" border=\"0\" alt=\"\">";
	var nameTagHTMLStr = "<b>Vehicle Type Information </b>";
	var closeLinkHTMLStr = "<a onmouseover=\"style.cursor='hand';\" onclick=\"javascript:wp.hideGenericFrame();\"><img src=\"/web/images/internal/close.gif\" border=\"0\" alt=\"close\"></a>";
	var title  = "<table cellpadding=2 cellspacing=0 border=0 width=\"100%\"><tr>";
	title += "<td width=\"8%\" align=\"center\"  class=\"rowheader\">"+okLinkHTMLStr+"</td>";
	title += "<td width=\"87%\" align=\"left\"  class=\"rowheader\">"+nameTagHTMLStr+"</td>";
	title += "<td align=\"right\" class=\"rowheader\">"+closeLinkHTMLStr+"</td>";
	title += "</tr></table>";

	dumpGenericContent(title,contentstr,win);
}

function makeVehicleTypeFramePublic(win){
	var contentstr ='<TABLE summary=\"\" cellspacing=\"0\" border=\"0\" cellpadding=\"0\" > <tr> <td align=\"left\" bgcolor=\"#DDDDDD\" > <TABLE SUMMARY=\"\" cellspacing=\"1\" width=\"500\" border=\"0\" cellpadding=\"4\"> <tr class=\"newrowheaderpublic\" valign=\"bottom\" align=\"left\"> <td class=\"newrowheaderpublic\" width=\"20%\"><b> Vehicle Type<b> </td> <td class=\"newrowheaderpublic\" width=\"15%\"><b> Seating Capacity</b> </td> <td class=\"newrowheaderpublic\"nowrap width=\"60%\"><b> Luggage Capacity</b> </td> </tr> <tr align=\"left\" class=\"textrightpublic\" bgcolor=\"#FFFFFF\"> <td class=\"textrightpublic\"> Sedan </td> <td class=\"textrightpublic\"> 2 to 3 </td> <td class=\"textrightpublic\"> Accommodates luggage for 2 with golf clubs (in soft bag) or just baggage for 3 people </td> </tr> <tr class=\"textrightpublic\" align=\"left\" bgcolor=\"#FFFFFF\"> <td class=\"textrightpublic\"> 6 passenger Limousine </td> <td class=\"textrightpublic\"> 4 to 6 </td> <td class=\"textrightpublic\"> Same trunk space as a Sedan </td> </tr> <tr class=\"textrightpublic\" align=\"left\" bgcolor=\"#FFFFFF\"> <td class=\"textrightpublic\"> 8 passenger Limousine </td> <td class=\"textrightpublic\"> 6 to 8 </td> <td class=\"textrightpublic\"> Same trunk space as a Sedan </td> </tr> <tr class=\"textrightpublic\"align=\"left\" bgcolor=\"#FFFFFF\"> <td class=\"textrightpublic\"> 10 passenger Limousine </td> <td class=\"textrightpublic\"> 8 to 10 </td> <td class=\"textrightpublic\"> Same trunk space as a Sedan </td> </tr> <tr class=\"textrightpublic\" align=\"left\" bgcolor=\"#FFFFFF\"> <td class=\"textrightpublic\"> SUV </td> <td class=\"textrightpublic\"> 3 to 6 </td> <td class=\"textrightpublic\"> Accommodates luggage for 3 - 4 and possibly 1-2 sets of golf clubs (in soft bag) </td> </tr> <tr class=\"textrightpublic\" align=\"left\" bgcolor=\"#FFFFFF\"> <td class=\"textrightpublic\"> Van </td> <td class=\"textrightpublic\"> 6 to 10 </td> <td class=\"textrightpublic\"> Depending on the configuration of the van, will accommodate luggage for 4 - 6 people </td> </tr> <tr class=\"textrightpublic\" align=\"left\" bgcolor=\"#FFFFFF\"> <td class=\"textrightpublic\"> Excecutive Van </td> <td class=\"textrightpublic\"> up to 5 </td> <td class=\"textrightpublic\"> Same trunk space as a Sedan </td> </tr> <tr class=\"textrightpublic\" align=\"left\" bgcolor=\"#FFFFFF\"> <td class=\"textrightpublic\"> Mini-Bus </td> <td> 15 to 33 </td> <td class=\"textrightpublic\"> Depending on the size of the luggage compartment, will accommodate luggage for 12 - 20 people </td> </tr> <tr class=\"textrightpublic\" align=\"left\" bgcolor=\"#FFFFFF\"> <td class=\"textrightpublic\"> Limo-Bus </td> <td class=\"textrightpublic\"> 10 to 18 </td> <td class=\"textrightpublic\"> Depending on the configuration of the Limo-Bus, will accommodate luggage for 8 - 10 people </td> </tr> <tr class=\"textrightpublic\" align=\"left\" bgcolor=\"#FFFFFF\"> <td class=\"textrightpublic\"> Coach Bus </td> <td class=\"textrightpublic\"> 47 to 52 </td> <td class=\"textrightpublic\"> Depending on the size of the Coach, will accommodate luggage for 40 - 50 people </td> </tr> </TABLE></td> </tr> </table>';
	var okLinkHTMLStr = "<img src=\"/web/images/internal/arr2.gif\" border=\"0\" alt=\"\">";
	var nameTagHTMLStr = "<font color=\"#FFFFFF\"><b>Vehicle Information </b></font>";
	var closeLinkHTMLStr = "<a onmouseover=\"style.cursor='hand';\" onclick=\"javascript:wp.hideGenericFrame();\"><img src=\"/web/images/internal/close2.gif\" border=\"0\" alt=\"close\"></a>";
	var title  = "<table cellpadding=2 cellspacing=0 border=0 width=\"100%\"><tr class=\"myaccountheadpublic\" bgcolor=\"#8A0000\">";
	title += "<td width=\"8%\" align=\"center\"  class=\"myaccountheadpublic\">"+okLinkHTMLStr+"</td>";
	title += "<td width=\"87%\" align=\"left\"  class=\"myaccountheadpublic\">"+nameTagHTMLStr+"</td>";
	title += "<td align=\"right\" class=\"myaccountheadpublic\">"+closeLinkHTMLStr+"</td>";
	title += "</tr></table>";

	dumpGenericContent(title,contentstr,win);
}

function dumpGenericContent( title,contentstr,win){
	if (ns)	{
		// For NS6
		this.IFrameGenericNotesDoc.getElementById('title').innerHTML = title;
		this.IFrameGenericNotesDoc.getElementById('contentID').innerHTML = contentstr;
	}
	else if (ie55dn){
		win.writeContent(title,contentstr);
	}
 	else{
		this.IFrameGenericNotesDoc.all.title.innerHTML = title;
		this.IFrameGenericNotesDoc.all.contentID.innerHTML = contentstr;		
	}
}
function hideGenericFrame(){
	if(ie)
		this.IFrameGenericNotes.style.display='none';
	else{
		this.IFrameGenericNotes.style.width='0px';
		this.IFrameGenericNotes.style.height='0px';
	}
}
function redirect(url){
	if(ie)
		this.IFrameGenericNotes.style.display='none';
	else{
		this.IFrameGenericNotes.style.width='0px';
		this.IFrameGenericNotes.style.height='0px';
	}
	window.parent.location.href=url;
}

function showGenericFrame(width,height){
	if(ie){ this.IFrameGenericNotes.style.display='block';}
	this.IFrameGenericNotes.style.width= width;
	this.IFrameGenericNotes.style.height=height;
}
function show_frame(event,frameName,title, names,values,delimiter,mode){
	setFrame(frameName);
  	this.winGenericNotes=eval('window.frames.'+frameName);
	this.frameHeight = 0;
	makeGenericFrame(title,names,values,delimiter,this.winGenericNotes,mode);
	if(ns)
		this.showGenericFrame('432px',this.frameHeight);
	else 
		this.showGenericFrame('429px',this.frameHeight);
	
	getMouseXY(event);
	setFrameSettings();
}

function show_frame_forCommflight(event,frameName,title, names,values,form,showflightviewbuttons,url,delimiter,mode){
	setFrame(frameName);
  	this.winGenericNotes=eval('window.frames.'+frameName);
	this.frameHeight = 0;
	makeGenericFrameForCommFlight(title, names,values,delimiter, this.winGenericNotes, mode, form, showflightviewbuttons,url);
	if(ns)
		this.showGenericFrame('432px',this.frameHeight);
	else 
		this.showGenericFrame('429px',this.frameHeight);
	
	getMouseXY(event);
	setFrameSettings();
}


function show_framepub(event,frameName,title, names,values,delimiter,mode){
	setFrame(frameName);
  	this.winGenericNotes=eval('window.frames.'+frameName);
	this.frameHeight = 0;
	makeGenericFramePub(title,names,values,delimiter,this.winGenericNotes,mode);
	if(ns)
		this.showGenericFrame('432px',this.frameHeight);
	else 
		this.showGenericFrame('429px',this.frameHeight);
	
	getMouseXY(event);
	setFrameSettings();
}
function show_affiliate_frame(event,frameName,title,values,mode){
	setFrame(frameName);
  	this.winGenericNotes=eval('window.frames.'+frameName);
	this.frameHeight = 0;
	makeGenericAffFrame(title,values,this.winGenericNotes,mode);
	if(ns)
		this.showGenericFrame('350px',this.frameHeight);
	else 
		this.showGenericFrame('350px',this.frameHeight);
	
	getMouseXY(event);
	setFrameSettings();
}

function show_group_cont_frame(event,frameName,title, names,values,delimiter,mode){
	setFrame(frameName);
  	this.winGenericNotes=eval('window.frames.'+frameName);
	this.frameHeight = 0;
	makeGroupGenericFrame(title,names,values,delimiter,this.winGenericNotes,mode);
	if(ns)
		this.showGenericFrame('432px',this.frameHeight);
	else 
		this.showGenericFrame('429px',this.frameHeight);
	
	getMouseXY(event);
	setFrameSettings();
}

function show_vehicletype_frame(event,frameName){
	setFrame(frameName);
  	this.winGenericNotes=eval('window.frames.'+frameName);
	makeVehicleTypeFrame(this.winGenericNotes);
	this.showGenericFrame('506px','410px');
	getMouseXY(event);
	setFrameSettings();
}
function show_vehicletype_frame_lic(event,frameName){
	setFrame(frameName);
  	this.winGenericNotes=eval('window.frames.'+frameName);
	makeVehicleTypeFrameLic(this.winGenericNotes);
	this.showGenericFrame('506px','410px');
	getMouseXY(event);
	setFrameSettings();
}
function show_vehicletype_frame_public(event,frameName){
	setFrame(frameName);
  	this.winGenericNotes=eval('window.frames.'+frameName);
	makeVehicleTypeFramePublic(this.winGenericNotes);
	this.showGenericFrame('506px','410px');
	getMouseXY(event);
	setFrameSettings();
}
function show_loginhelp_frame(event,frameName){
	
	setFrame(frameName);
  	this.winGenericNotes=eval('window.frames.'+frameName);
	makeLoginhelpFrame(this.winGenericNotes);
	
	this.showGenericFrame('515px','415px');
	getMouseXY(event);
	setFrameSettings();
}
function show_affiliateloginhelp_frame(event,frameName){
	
	setFrame(frameName);
  	this.winGenericNotes=eval('window.frames.'+frameName);
	makeAffiliateLoginhelpFrame(this.winGenericNotes);
	
	this.showGenericFrame('515px','415px');
	getMouseXY(event);
	setFrameSettings();
}
function show_internalloginhelp_frame(event,frameName){
	
	setFrame(frameName);
  	this.winGenericNotes=eval('window.frames.'+frameName);
	makeInternalLoginhelpFrame(this.winGenericNotes);
	
	this.showGenericFrame('515px','400px');
	getMouseXY(event);
	setFrameSettings();
}
function show_loading_frame(event,frameName,values){
	if (ns || ie4up)
		this.IFrameLoadingNotes=document.getElementById(frameName); 
	else
		this.IFrameLoadingNotes=document.frames[frameName];
	
	if (this.IFrameLoadingNotes.contentDocument)
		this.IFrameLoadingNotesDoc = this.IFrameLoadingNotes.contentDocument; // For NS6
	else if (this.IFrameLoadingNotes.contentWindow) 
		this.IFrameLoadingNotesDoc = this.IFrameLoadingNotes.contentWindow.document;		   		// For IE5.5 and IE6
	else if (this.IFrameLoadingNotes.document)
   		this.IFrameLoadingNotesDoc = this.IFrameLoadingNotes.document;// For IE5
		
  	this.winLoadingNotes=eval('window.frames.'+frameName);
	var loadingStr = "<table width=100% border=0 cellspacing=0 cellpadding=0 ><tr valign='middle' align='center'><td height='100'class='pageheadertextred'> Loading "+values+" ....</td></tr>";
	if (ns)
		this.IFrameLoadingNotesDoc.getElementById('contentID').innerHTML = loadingStr;
	else if (ie55dn)
		winLoadingNotes.writeContent(" ",loadingStr);
 	else
		this.IFrameLoadingNotesDoc.all.contentID.innerHTML = loadingStr;
	this.IFrameLoadingNotes.style.width= '400px';
	this.IFrameLoadingNotes.style.height='106px';
   	this.IFrameLoadingNotes.style.top=300;
	this.IFrameLoadingNotes.style.left=200;
	if(ie){ this.IFrameLoadingNotes.style.display='block';}
}

function setFrame(frameName){
	if (ns || ie4up)
		this.IFrameGenericNotes=document.getElementById(frameName); 
	else
		this.IFrameGenericNotes=document.frames[frameName];
	
	if (this.IFrameGenericNotes.contentDocument)
		this.IFrameGenericNotesDoc = this.IFrameGenericNotes.contentDocument; // For NS6
	else if (this.IFrameGenericNotes.contentWindow) 
		this.IFrameGenericNotesDoc = this.IFrameGenericNotes.contentWindow.document;		   		// For IE5.5 and IE6
	else if (this.IFrameGenericNotes.document)
   		this.IFrameGenericNotesDoc = this.IFrameGenericNotes.document;// For IE5
}
function setFrameSettings(){
	var  doc_width = 800, doc_height = 600;
	var eL=0, eT=0,eH=0, eH=0, eW=0, dH=0, dW=0, sT=0, sL=0;
	if (ns) {
		doc_width = self.innerWidth;
		doc_height = self.innerHeight;
		sT = self.pageYOffset;
		sL = self.pageXOffset;
		var str = new String(this.IFrameGenericNotes.style.height);
		dH=str.substr(0,str.length-2);
		str=new String(this.IFrameGenericNotes.style.width)
		dW=str.substr(0,str.length-2);
	}
	else{
		doc_width = document.body.clientWidth;
		doc_height = document.body.clientHeight;
		sT = document.body.scrollTop;
		sL = document.body.scrollLeft;
		dH=this.IFrameGenericNotes.style.pixelHeight;
		dW=this.IFrameGenericNotes.style.pixelWidth;
	}

	eL=this.tempX;
	eT=this.tempY+10;
	var hOffset = parseInt(eT)-parseInt(dH);	
	var wOffset = parseInt(eL)-parseInt(dW);
	
	var sum  = parseInt(eT)+parseInt(eH)+parseInt(dH);
	var sum1 = parseInt(doc_height)+parseInt(sT);

	var wSum=parseInt(eL)+parseInt(dW);
	
   	if(hOffset >= sT && sum > sum1)
     	this.IFrameGenericNotes.style.top=eT-dH;
   	else
     	this.IFrameGenericNotes.style.top=eT+eH;
	
	if( wSum >=	doc_width)
		if(wOffset < 0) this.IFrameGenericNotes.style.left = sL;
		else this.IFrameGenericNotes.style.left =eL-dW+eW;
	else 
		this.IFrameGenericNotes.style.left=eL;
	//alert("eT = "+eT+" ; eL = "+eL+"\neH = "+eH+" ; eW = "+eW+"\ndH = "+dH+" ; dW = "+dW+"\ndoc_height = "+doc_height+" ; doc_width = "+doc_width+"\nhOffset = "+hOffset+" ; wOffset = "+wOffset+"\nsT = "+sT+" ; sL = "+sL+"\n  sum = "+sum+" ; sum1 = "+ sum1 + " \nIFrame.style.top = " + this.IFrameGenericNotes.style.top +" ; this.IFrameGenericNotes.style.left = " + this.IFrameGenericNotes.style.left);
}


