var menus_url = window.location.href.toLowerCase();

var websiteHost = "http://www.itravel2000.com";
var websitePath = "";

var locationHost = window.location.host.toLowerCase();
if (locationHost == 'localhost')
{
	var websiteHost = "http://localhost";
	var websitePath = "/itravel2000v2";
}       
document.write("<script language='JavaScript' type='text/javascript' src='" + websiteHost + "/JavaScript/Travx.iTravel2000/global.js'></script>") ;
document.write("<script src=\"http://www.google-analytics.com/ga.js\" type=\"text/javascript\"></script>");

function TopMenu(currentOption, hideTitle)
{
	TopMenu2000(currentOption, hideTitle);
	BeginContent();
}

function itravelInclude()
{
	document.write("<link href='" + websiteHost + "/styles/Travx.iTravel2000/menu.css' rel='stylesheet' type='text/css'>") ;
	document.write("<link href='" + websiteHost + "/styles/Travx.iTravel2000/affiliate.css' rel='stylesheet' type='text/css'>") ;
}
		
function TopMenu2000(currentOption, hideTitle)
{
document.write(" <!-- header  --> ") ;
document.write("<div class='it2kBody' align='center'><table align='center' width='960' border='0' cellpadding='0' cellspacing='0'><tr><td>");
document.write("<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr><td align='right' height=30 vAlign='middle'>");
document.write("<img border='0' src='" + websiteHost +  "/Images/TRAVX.ITRAVEL2000/CallCenterHours_toronto.gif'/></td>");
document.write("</td></tr></table></td></tr><tr><td>");
document.write("<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr><td width='309px'>");
document.write("<a href='" + websiteHost + websitePath + "/'><img border='0' src='" + websiteHost +  "/Images/Travx.iTravel2000/nav/header_itravellogo.gif' alt='itravel2000.com' /></a></td>");
document.write("<td width='221px'><img border='0' src='" + websiteHost +  "/Images/Travx.iTravel2000/nav/header_img_mid.jpg' width='221' height='66' /></td>");
document.write("<td bgcolor='#ffffff'><img border='0' src='" + websiteHost +  "/Images/Travx.iTravel2000/nav/home_east.gif' height='66' /></td>");
document.write("<td><a href='" + websiteHost + websitePath + "/pricematch.aspx'><img border='0' src='" + websiteHost +  "/Images/Travx.iTravel2000/nav/header_img_pricematch.gif' width='126' height='66' /></a></td></tr>");
document.write("</table></td></tr><tr><td>");

document.write("<div id='nav' class='nav'><ul>");
document.write("<li><span class='nav1' onClick=\"window.location='" + websiteHost + websitePath + "/homepage.aspx'\" " + GetMouseOver(false, 1) + "> Home </span></li>");
document.write("<li><span class='nav2" +(currentOption == "packages" ? "h":"") +"' onClick=\"window.location='" + websiteHost + websitePath + "/vacations.aspx'\" " + GetMouseOver(currentOption == "packages" ,2) +">Vacations</span></li>");
document.write("<li><span class='nav3" +(currentOption == "flights" ? "h":"") +"' onClick=\"window.location='" + websiteHost + websitePath + "/flights.aspx'\" " +GetMouseOver(currentOption == "flights", 3) + ">Flights</span></li>");
document.write("<li><span class='nav4" +(currentOption == "hotels" ? "h":"") +"' onClick=\"window.location='" + websiteHost + websitePath + "/hotels.aspx'\" " +GetMouseOver(currentOption == "hotels", 4) + ">Hotels</span></li>");
document.write("<li><span class='nav5" +(currentOption == "cars" ? "h":"") +"' onClick=\"window.location='" + websiteHost + websitePath + "/cars.aspx'\" " +GetMouseOver(currentOption == "cars", 5) + ">Cars</span></li>");
document.write("<li><span class='nav6" +(currentOption == "cruises" ? "h":"") +"' onClick=\"window.location='" + websiteHost + websitePath + "/cruises.aspx'\" " +GetMouseOver(currentOption == "cruises",6) + ">Cruises</span></li>");

document.write("<li><span class='nav7' onClick=\"window.location='" + websiteHost + websitePath + "/LastMinuteDeals.aspx'\" " + GetMouseOver(false, 7) + ">Last Minute Deals</span></li>");
document.write("<li><span class='nav8'>&nbsp;</span></li>");
document.write("<li><span class='nav9' onClick=\"window.location='" + websiteHost + websitePath + "/Deals.aspx?cat=pk'\" " + GetMouseOver(false, 9) + ">Deals</span></li>");
document.write("<li><span class='nav10' onClick=\"window.location='" + websiteHost + websitePath + "/newsletter.aspx'\" " + GetMouseOver(false, 10) + ">Newsletter</span></li>");
document.write("<li><span class='nav11' onClick=\"window.location='" + websiteHost + websitePath + "/AccountSignIn.aspx'\" " + GetMouseOver(false, 11) + ">My itravel</span></li>");
document.write("</ul></div>");

document.write("</td></tr>");
document.write("<tr><td height='5'><img src='" + websiteHost + "/Images/TRAVX.ITRAVEL2000/spacer.gif' width='1' height='1' /></td></tr>");
document.write("</table>");
document.write("<!-- main menu /--> ") ;
if(hideTitle==null)
{
	document.write("<table align='center' width='960px' border='0' cellpadding='0' cellspacing='0'>");
	document.write("<tr><td width='8'><img border='0' src='" + websiteHost + "/Images/TRAVX.ITRAVEL2000/SectionHead_L.gif' width='8' height='40'></td>");
	document.write("<td class='headertitle'><h1>");
	if(currentOption=="cars")
		document.write("Cars Search") ;
	else if(currentOption == "packages")
		document.write("Vacations Search") ;
	else if(currentOption == "flights")
		document.write("Flights Search") ;
	else if(currentOption == "hotels")
		document.write("Hotels Search") ;
	else
		document.write("Search Results") ;
	document.write("</h1></td><td class='headertitle'>&nbsp;</td>");
	document.write("<td width='8'><img border='0' src='" + websiteHost + "/Images/TRAVX.ITRAVEL2000/SectionHead_R.gif' width='8' height='40'></td>");
	document.write("</tr></table>");
	document.write("<table align='center' width='960px' border='0' cellspacing='0' cellpadding='0'><tr>");
	document.write("	<td height='5'><img border='0' src='" + websiteHost + "/Images/TRAVX.ITRAVEL2000/spacer.gif' width='1' height='5' /></td>");
	document.write("</tr></table>");
}
}
function GetMouseOver(activeTab, index)
{
    return activeTab ? "" : "onMouseOver=\"this.className='nav"+index+"h';\" onMouseOut=\"this.className='nav"+index+"';\"" ;
}

function BottomMenu()
{
	EndContent();
	BottomMenu2000();
}

function BottomMenu2000()
{

document.write("<!-- footer  -->") ;
document.write("<table align=center width='960' border='0' cellpadding='0' cellspacing='0'>");
document.write("    <tr>");
document.write("      <td height='5'><img border='0' src='" + websiteHost + "/Images/TRAVX.ITRAVEL2000/spacer.gif' width='1' height='1' /></td>");
document.write("    </tr>");
document.write("    <tr>");
document.write("      <td><table width='100%' border='0' cellspacing='0' cellpadding='0'>");
document.write("        <tr>");
document.write("          <td width='6'><img border='0' src='" + websiteHost + "/Images/TRAVX.ITRAVEL2000/RndBox_TL.gif' width='6' height='6' /></td>");
document.write("          <td background='" + websiteHost + "/Images/TRAVX.ITRAVEL2000/RndBox_T.gif'><img border='0' src='" + websiteHost + "/Images/TRAVX.ITRAVEL2000/RndBox_T.gif' width='1' height='6' /></td>");
document.write("          <td width='6'><img border='0' src='" + websiteHost + "/Images/TRAVX.ITRAVEL2000/RndBox_TR.gif' width='6' height='6' /></td>");
document.write("        </tr>");
document.write("        <tr>");
document.write("          <td background='" + websiteHost + "/Images/TRAVX.ITRAVEL2000/RndBox_L.gif'><img border='0' src='" + websiteHost + "/Images/TRAVX.ITRAVEL2000/RndBox_L.gif' width='6' height='1' /></td>");
document.write("          <td background='" + websiteHost + "/Images/TRAVX.ITRAVEL2000/Footer_BGColour.gif'><table width='100%' border='0' cellpadding='0' cellspacing='0' class='footer'>");
document.write("            <tr>");
document.write("              <td align='center'><br/>");

document.write("<h1>100 Travel Agents are Fighting to Save you Money! For expert advice call 1-800-859-2920</h1>");
document.write("<p><a class='footerLink' href='" + websiteHost + websitePath + "/Homepage.aspx'>Home</a> | " + 
	"<a class='footerLink' href='" + websiteHost + websitePath + "/Vacations.aspx'>Vacations</a> | " + 
	"<a class='footerLink' href='" + websiteHost + websitePath + "/Flights.aspx'>Flights</a> | " + 
	"<a class='footerLink' href='" + websiteHost + websitePath + "/Hotels.aspx'>Hotels</a> | " + 
	"<a class='footerLink' href='" + websiteHost + websitePath + "/Vacations.aspx'>Flight+Hotel</a> | " + 
	"<a class='footerLink' href='" + websiteHost + websitePath + "/Cars.aspx'>Cars</a> | " + 
	"<a class='footerLink' href='" + websiteHost + websitePath + "/Cruises.aspx'>Cruises</a> | " + 
	"<a class='footerLink' href='" + websiteHost + websitePath + "/LastMinuteDeals.aspx'>Last Minute Deals</a> | " + 
	"<a class='footerLink' href='" + websiteHost + websitePath + "/Deals.aspx?cat=pk.aspx'>Travel Deals</a> | " + 
	"<a class='footerLink' href='" + websiteHost + websitePath + "/Newsletter.aspx'>Newsletter</a> | " + 
	"<a class='footerLink' href='" + websiteHost + websitePath + "/SignIn.aspx'>My itravel</a> | " + 
	"<a class='footerLink' href='" + websiteHost + websitePath + "/ToolsFeatures.aspx'>Tools &amp; Features</a> | ");

document.write("<a class='footerLink' href='" + websiteHost + websitePath + "/CustomerService.aspx'>Customer Service</a><br />" + 
	"<a class='footerLink' href='" + websiteHost + websitePath + "/FeatureHotels.aspx'>Featured Hotels &amp; Resorts</a> | " + 
	"<a class='footerLink' href=\"http://www.itravelcanada.ca/\" target=_blank>itravelCanada</a> | " + 
	"<a class='footerLink' href=\"http://www.mexico.itravel2000.com/\" target=_blank>itravelMexico</a> | " + 
	"<a class='footerLink' href=\"http://www.itravel2000.com/DestinationWeddings2.aspx\">Get Married in Paradise</a> | " + 
	"<a class='footerLink' href=\"https://www.igoinsured.com/training/direct/start.aspx?ag=it200\">Manulife Travel Insurance</a><br />");
	
document.write("<a class='footerLink' href='" + websiteHost + websitePath + "/IncentivesHome.aspx'>Group/Corporate/Incentives</a> | " + 
	"<a class='footerLink' href='" + websiteHost + websitePath + "/SiteMap.aspx'>Site Map</a> | " + 
	"<a class='footerLink' href='" + websiteHost + websitePath + "/Careers.aspx'>Careers</a> | " +
	"<a class='footerLink' href='" + websiteHost + websitePath + "/mediaCurrent.aspx'>Media Relations</a> | " + 
	"<a class='footerLink' href='" + websiteHost + websitePath + "/Privacy.aspx'>Privacy &amp; Security</a> | " + 
	"<a class='footerLink' href='" + websiteHost + websitePath + "/TermsConditions.aspx'>Terms &amp; Conditions</a>");
document.write("<br/><br/></p></td></tr>");

document.write("<tr>");
document.write("<td align=\"center\" bgcolor=\"#ffffff\">" +
		"<a href='https://seal.verisign.com/splash?form_file=fdf/splash.fdf&dn=SECURE.ITRAVEL2000.COM&lang=en' target=_blank ><img border='0' src='" + websiteHost + "/Images/TRAVX.ITRAVEL2000/verisign.gif' width='95' height='30' border='0'/></a>&nbsp;&nbsp;" +
		"<a target=_new href='http://www.bbbmwo.ca'><img border='0' src='" + websiteHost + "/Images/TRAVX.ITRAVEL2000/bbb.gif' width='90' height='31' border='0'  /></a>&nbsp;&nbsp;" +
		"<img border='0' src='" + websiteHost + "/Images/Travx.iTravel2000/FR/acta.gif' width='62' height='30' border='0'/>&nbsp;&nbsp;" +
		"<img border='0' src='" + websiteHost + "/Images/TRAVX.ITRAVEL2000/Clia_logo.gif' border='0' />&nbsp;&nbsp;" +
		"<img border='0' src='" + websiteHost + "/Images/TRAVX.ITRAVEL2000/igltacolor.gif' border='0' />&nbsp;&nbsp;" +
		"<a href='http://www.itravel2000.com/PetroPointsPrograms.aspx'><img src='" + websiteHost + "/Images/TRAVX.ITRAVEL2000/petropoints.gif' border='0'/></a>&nbsp;&nbsp;" +
		"<a href='https://www.igoinsured.com/training/direct/start.aspx?ag=it200'><img src='" + websiteHost + "/Images/TRAVX.ITRAVEL2000/footerlogo_manulife.gif' border='0'/></a>" +
		"</td>");
document.write("</tr>");
document.write("<tr>");
document.write("              <td align='center'>2350 Matheson Blvd East, Mississauga, ON L4W 5G9 Ontario   |  Registration:50007916  |   Reservations: 416-695-9999   |  Toll Free: 1-800-859-2920 </td>");
document.write("            </tr>");
document.write("          </table></td>");
document.write("          <td background='" + websiteHost + "/Images/TRAVX.ITRAVEL2000/RndBox_R.gif'><img border='0' src='" + websiteHost + "/Images/TRAVX.ITRAVEL2000/RndBox_R.gif' width='6' height='1' /></td>");
document.write("        </tr>");
document.write("        <tr>");
document.write("          <td><img border='0' src='" + websiteHost + "/Images/TRAVX.ITRAVEL2000/RndBox_BL.gif' width='6' height='6' /></td>");
document.write("          <td background='" + websiteHost + "/Images/TRAVX.ITRAVEL2000/RndBox_B.gif'><img border='0' src='" + websiteHost + "/Images/TRAVX.ITRAVEL2000/RndBox_B.gif' width='1' height='6' /></td>");
document.write("          <td><img border='0' src='" + websiteHost + "/Images/TRAVX.ITRAVEL2000/RndBox_BR.gif' width='6' height='6' /></td>");
document.write("        </tr>");
document.write("      </table></td>");
document.write("    </tr>");
document.write("  </table>");
document.write("<table align='center' width='960' border='0' cellpadding='0' cellspacing='0'>");
document.write("    <tr>");
document.write("      <td align='center'>");
document.write("  <div class='terms'><a class='termsLink' href='" + websiteHost + websitePath + "/Privacy.aspx'>Privacy and Security</a> and <a class='termsLink' href='" + websiteHost + websitePath + "/TermsConditions.aspx'>Terms and Conditions</a><br />");
document.write("    <br />");
var curDate = new Date();
document.write("itravel2000 protects your online privacy and security through VeriSign. itravel2000 customer funds are protected in Ontario by TICO (#50007916) and by the OPC in Qu&#233;bec (#702761). <br/>For travel services booked by Qu&#233;bec residents, prices do not include the client's contribution to the <br/>indemnity Fund amounting to $ 3.50 per $ 1,000.00 of travel services purchased which will be added to your invoice.<br/> Sponsor or Supplier trademarks under license to 4358376 CANADA INC. (dba itravel2000). All rights reserved. Let it Snow is a trademark of 4358376 CANADA INC. (dba itravel2000)<br/>&copy; 1998 &ndash; " + curDate.getFullYear() + " 4358376 CANADA INC.  Trademarks licensed to 4358376 Canada Inc.. All rights reserved.");
document.write("</div>");
document.write("</td></tr></table>");
document.write("</div>");

var pageTracker = _gat._getTracker("UA-1837090-1");
pageTracker._setDomainName(".itravel2000.com");
pageTracker._initData();
pageTracker._addIgnoredRef(".itravel2000.com");
pageTracker._addIgnoredRef(".itravel2000.ca");				
pageTracker._trackPageview();

/*document.write("<script type=\"text/javascript\">");
document.write("_uacct = \"UA-1837090-1\";");
document.write("urchinTracker();");
document.write("</script>");*/
}

function BeginContent()
{
	document.write("<table align='center' width='960px' border='0' cellspacing='0' cellpadding='0'>");
	document.write("<tr>");
	document.write("	<td width='6'><img border='0' src='" + websiteHost + "/Images/TRAVX.ITRAVEL2000/RndBox_TL.gif' width='6' height='6' /></td>");
	document.write("	<td background='" + websiteHost + "/Images/TRAVX.ITRAVEL2000/RndBox_T.gif'><img border='0' src='" + websiteHost + "/Images/TRAVX.ITRAVEL2000/RndBox_T.gif' width='1' height='6' /></td>");
	document.write("	<td width='6'><img border='0' src='" + websiteHost + "/Images/TRAVX.ITRAVEL2000/RndBox_TR.gif' width='6' height='6' /></td>");
	document.write("</tr>");
	document.write("<tr>");
	document.write("	<td background='" + websiteHost + "/Images/TRAVX.ITRAVEL2000/RndBox_L.gif'>");
	document.write("		<img border='0' src='" + websiteHost + "/Images/TRAVX.ITRAVEL2000/RndBox_L.gif' width='6' height='1' />");
	document.write("	</td>");
	document.write("	<td style='background:#FFFFFF;'><table border='0' cellspacing='0' cellpadding='0'><tr><td class='resultBody'>");
}

function EndContent()
{
	document.write("</td></tr></table>");
	document.write("</td>");
	document.write("	<td background='" + websiteHost + "/Images/TRAVX.ITRAVEL2000/RndBox_R.gif'><img border='0' src='" + websiteHost + "/Images/TRAVX.ITRAVEL2000/RndBox_R.gif' width='6' height='1' /></td>");
	document.write("</tr>");
	document.write("<tr>");
	document.write("	<td><img border='0' src='" + websiteHost + "/Images/TRAVX.ITRAVEL2000/RndBox_BL.gif' width='6' height='6' /></td>");
	document.write("	<td background='" + websiteHost + "/Images/TRAVX.ITRAVEL2000/RndBox_B.gif'><img border='0' src='" + websiteHost + "/Images/TRAVX.ITRAVEL2000/RndBox_B.gif' width='1' height='6' /></td>");
	document.write("	<td><img border='0' src='" + websiteHost + "/Images/TRAVX.ITRAVEL2000/RndBox_BR.gif' width='6' height='6' /></td>");
	document.write("</tr>");
	document.write("</table>");
}

function PutImage(imageName)
{
	document.write(" <img border='0' src='" + websiteHost+ "/images/Travx.iTravel2000/"+ imageName +".gif' border='0'/>") ;
}
