function CAD(USD) {
	document.write("CA$"+Math.round(USD*1.166));
}

function CAD9(USD) {
	document.write("CA$"+Math.round(USD*1.06));
}


indemnification = "I acknowledge that El Tour is not an insurer, that the potential claims, losses, damages, and expenses arising out of my participation in the activities of the Tour may be great in proportion to the fees I have paid to El Tour and that it is not reasonable for El Tour to assume the risk of liability that maybe incurred in connection which such activities. Accordingly, in consideration of the acceptance of my application for the Tour, and not withstanding any statute or rule of law to the contrary, I shall indemnify El Tour, its officers, directors, agents and sponsors from and against all claims, losses, damages, and expenses (including legal expenses on a solicitor and his/her own client basis) arising out of or relating to my taking part or being connected to any activity of El Tour, even if caused by the negligence, gross negligence, or other fault of El Tour, its officers, directors, agents and sponsors. This indemnity shall be binding on my heirs, executors, and assigns.<br><br>In registering for this Tour, I acknowledge that I am physically fit and capable of cycling the tour distances. I also acknowledge that El Tour reserves the right to deny my registration and not allow my participation for any reason.<br><br>I authorize the use by El Tour, or anyone authorized by them, of any and all photographs taken of myself while participating in this tour, without further compensation.";

terms = "No refund or credit is given for unused tour services or leaving a tour early for whatever reason: culture shock, inadequate physical conditioning, health, injury, mechanical, etc. Refund will not be given to anyone asked to leave the tour because he or she is, in the opinion of tour guides, compromising the safety, security or success of the tour.<br><br>Full payment is due 60 days prior to the start of the tour. If payment has not been received and no special arrangements have been made, we reserve the right to assume withdrawal and fill the space.<br><br>All payments to us are completely non-refundable for any reason whatsoever, unless a prior agreement with us has been made. Changes in medical circumstances are not considered as exceptions to our normal refund policy. Insurance coverage for trip cancellation/interruption is available from several companies.<br><br>If tour is canceled by us, all monies paid to us for services not performed in accordance with the contract will be refunded, unless the participant requests that we apply the money to another tour.<br><br>We do not escort groups during air travel. If you would like, we will help you book your flight. We have extensive knowledge of alternative arrangements for reaching our destinations with reliable and competitively priced services. There is no extra charge for this service. We are also willing to help you plan and book your extended travel arrangements before and after your tour.<br><br>Participants are fully responsible for their own bicycle and personal equipment, though we will help where we can.<br><br>Participants are responsible for carrying their own belongings during the tour. Baggage is at owners' risk throughout the tour. Baggage allowances for airlines vary so contact the airline for their current policy. Excess baggage charges must be borne by passenger.<br><br>Participants are responsible for their own travel documents. Participants must carry a valid passport. Visas may be required. Participants are responsible for acquiring the necessary visas.<br><br>Participants are responsible for their own health. For the safety and enjoyment of everyone, good physical and mental health is essential for these tours. We reserve the right to refuse acceptance of anyone whom we deem unsuitable for a trip.<br><br>Tours often operate in areas remote from modern medical facilities. We provide information and guidelines to help participants stay healthy, but assume no responsibility for medical care or advice, or for a participant's physical or mental health, prior to, during or after the tour.<br><br>Personal health insurance, travel, evacuation and baggage insurance is strongly recommended. Bicycle touring has inherent risks. Even the most conscientious behavior does not guarantee against illness or injury.";

function Popup(TitleBar,Text) {
	PopWin = open("", "PopWin", "alwaysRaised,dependent,height=240,width=320,screenY="+(screen.availHeight-240)/2+",screenX="+(screen.availWidth-320)/2+",scrollbars,titlebar");
	PopWin.document.open("text/html","replace");
	PopWin.document.writeln("<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 3.2//EN'>");
	PopWin.document.writeln("<HTML>");
	PopWin.document.writeln("<HEAD>");
	PopWin.document.writeln("<TITLE>"+TitleBar+"</TITLE>");
	PopWin.document.writeln("<LINK REL='stylesheet' TYPE='text/css' HREF='css/css.popup.txt.css'>");
	PopWin.document.writeln("</HEAD>");
	PopWin.document.writeln("<BODY BGCOLOR='#003030' TEXT='#ffff88' LINK='#ffffff' VLINK='#dddddd' ALINK='#ff0000' onBlur='focus();' onClose='window.opener.focus();' onLoad='self.moveTo("+(screen.availWidth-320)/2+","+(screen.availHeight-240)/2+");'>");
	PopWin.document.writeln(Text);
	PopWin.document.writeln("<br><br><center><form><input type='button' name='closer' value='Close Window' onClick='window.close()'></form></center>");
	PopWin.document.writeln("</BODY>");
	PopWin.document.writeln("</HTML>");
	PopWin.document.close();
}

function Popuplite() {
	Popup("LITE Difficulty","You must have a basic level of fitness and at least aspire to be able to complete the distances in this tour (we <b>know</b> you can!). Distances average around 60 km, and are always less the 100 km per day. Roads are flat and generally not demanding.")
}

function Popupregular() {
	Popup("REGULAR Difficulty","A good level of fitness is required. Distances average around 50 - 80 km per day (depending on hills), and are always less than 120 km. Roads range from flat to very hilly. We may climb up to 1500 metres on a hard day.")
}

function Popupchallenge() {
	Popup("CHALLENGE Difficulty","You need to have excellent fitness and good cycling experience. Distances generally average about 70 - 110 km per day (depending on hills), and are always less than 150 km. Roads range from flat to Sierra Madre (mountainous!). We may climb up to 3000 metres in a day.")
}

function PopupTerms() {
	Popup("Indemnification","<b>Waiver</b><br><br>"+indemnification+"<br><br>"+"<b>Terms and Conditions</b><br><br>"+terms)
}

function PopupConverter() {
	PopWin=open('http://www.oanda.com/convert/classic?user=basily&margin_fixed=4&expr=EUR&lang=en&pref_list=USD_AUD_CAD_EUR_MXP&menu_rows=1&date_fmt=normal&exch=USD', 'PopWin', 'alwaysRaised,dependent,height=270,width=480,screenY='+(screen.height-250)/2+',screenX='+(screen.width-175)/2+',titlebar')
}

function PopupEmail() {
	Popup("Preventing SPAM, junk email","Please don't include you email address here.<br><br>Just let us know if we may display it or not. It will be displayed as a <b>graphic</b> to prevent it from being used for junk mail.<br><br>Thanks again for signing the guestbook!")
}

function xprintTable(){
	var head = "about:<html><head></head><body onLoad='this.print()'>";
	var body = document.getElementById('printTable').innerHTML;
	var foot = "</body></html>";
	window.open(head + body + foot,'','');
}

function printTable() { 
  var disp_setting="toolbar=no,location=no,directories=no,menubar=no,"; 
      disp_setting+="scrollbars=no,width=620, height=900, left=100, top=25"; 
  var content_vlue = document.getElementById("printTable").innerHTML; 
  
  var docprint=window.open("","",disp_setting); 
   docprint.document.open(); 
   docprint.document.write('<html><head><link rel="stylesheet" type="text/css" href="css/registration.print.css">'); 
   docprint.document.write('</head><body xonLoad="self.print()" onClose="window.opener.focus();">');          
   docprint.document.write(content_vlue);          
   docprint.document.write('</body></html>'); 
   docprint.document.close(); 
   xdocprint.focus(); 
}




