
//******************************************************************************//
//																				//
//							Making a Booking Questions							//
//																				//			
//******************************************************************************//

function make_book_quests(){

var i;
var s1_quest = new Array();
var s1_ans = new Array();
//var s1_link = new Array();


// ------------------------------------------------------------//
// Section 1 Questions
// ------------------------------------------------------------//
s1_quest[0] = "How do I book online?";
s1_quest[1] = "How many people can I book for?";
s1_quest[2] = "What happens with the 10% deposit?";
s1_quest[3] = "What credit/debit cards can I book with?";
s1_quest[4] = "If I don’t have a credit/debit card can I still book?";
s1_quest[5] = "Does the name on the credit/debit card have to be the same as the name on the reservation?";
s1_quest[6] = "Is it safe to use my credit/debit card online?";
s1_quest[7] = "If I am getting a credit/debit card error while I am booking or waiting for my confirmation, what can I do?";
s1_quest[8] = "Can I book over the telephone or by email?";
s1_quest[9] = "Do I need to be a member to use your site or stay at one of your hostels?";
s1_quest[10] = "Do I need to book in advance?";
s1_quest[11] = "What is Gold Membership?";
s1_quest[12] = "How do I use my Gold Membership?";
s1_quest[13] = "Do I have to book accommodation to book Travel Insurance?";
s1_quest[14] = "Can you check availability for me?";
s1_quest[15] = "Can you give me directions and contact details of a hostel before I book?";
s1_quest[16] = "Can you send me a brochure?";
s1_quest[17] = "Are there age restrictions for staying in hostels?";

// ------------------------------------------------------------//
// Section 1 Answers
// ------------------------------------------------------------//
s1_ans[0] = "You need a valid credit card or debit cards to book online - we accept Visa, Visa Delta and Mastercard credit cards and Solo, Switch, JCB and Laser debit cards. Your credit card will be charged for a 10% deposit (downpayment) and a booking fee (US$2.00 unless you are a <a href='http://www.hostelworld.com/myhostelworld' target=blank>MyHostelworld</a> or <a href='http://www.hostelworld.com/goldmembership.php' target=blank>Gold Member</a>) or hold a valid discount card. Once you have selected your destination, preferred hostel, number of people and number of nights you will be prompted for your credit card details to confirm your booking. You will receive an on-screen confirmation of your reservation which you should print and bring to the hostel. The balance due when you arrive at the hostel will be clearly displayed on your booking confirmation. ";
s1_ans[1] = "You can make a reservation for up to 10 people online. If you have an enquiry for 10 or more people please fill in the group request form on the hostels microsite. We will do our best to reply to your group enquiry within 48 hours. ";
s1_ans[2] = "When you book on Hostelworld, through our online credit card processing company, we take a 10% deposit (downpayment) for your reservation plus a US$2.00 booking fee. This amount will not be refunded to you on arrival at the hostel. The balance of 90% of your accommodation cost as shown on your booking confirmation is due on arrival at the hostel.";
s1_ans[3] = "We accept Visa, Visa Delta, Visa Electron credit cards and Solo, Switch, JCB and Laser debit cards.";
s1_ans[4] = "No. You can only book using a credit/debit card on Hostelworld.com. ";
s1_ans[5] = "If you don’t have a credit card but know someone who will let you book using their card that’s ok. The name on the credit card can be different to the name on the reservation. Please remember though, in the event of a no-show the hostel will charge the credit card used for the total of the first night's accommodation. ";
s1_ans[6] = "Hostelworld.com is secured by Verisign, the world leader in Internet security. All information is encrypted online and transferred securely direct to the hostel. For further security information please read our <a href='http://www.hostelworld.com/security.php' target=blank>security section</a>";
s1_ans[7] = "Hostelworld credit/debit card bookings are secure and processed through WorldPay. There may be some reasons why your credit card transaction will not go through. Please check the following and try your transaction again:<ol type=\'square\'><li>There may be insufficient funds to cover the transaction being booked. <p><li>You may not have filled out all the information fields requested.<br>Please check that this is not the reason and try to complete your transaction again.</ol>";
s1_ans[8] = "<b>No</b>, we can only process online reservations through the Hostelworld.com website.";
s1_ans[9] = "<b>No</b>, you do not need to be a member of any youth hostel organisation to stay at any of the hostels listed on Hostelworld. You also do not need to be a member to use the Hostelworld.com site, though we do offer <a href='http://www.hostelworld.com/goldmembership.php' target=blank>Gold Membership</a> as an option for users that wish to make savings on multiple bookings. ";
s1_ans[10] = "We always recommend that you book as far in advance as possible in order to ensure you get a bed at your preferred hostel in your chosen destination. Many hostels are booked up well in advance during high season, weekends, holiday periods or during special events. ";
s1_ans[11] = "Gold Membership is a great idea if you make a lot of bookings online. Signing up for Hostelworld’s Gold Membership means you pay no $2 service charges on bookings over a 12 month period. It costs only $10 annually. If you plan on staying in 5 or more hostels this represents great value. For more information <a href='http://www.hostelworld.com/goldmembership.php' target=blank>click here</a>. ";
s1_ans[12] = "You must enter your Member ID in the Discount Number field on the booking page in order to save US$2.00 on each reservation. ";
s1_ans[13] = "No, you can book your travel insurance as part of your accommodation reservation or as a standalone purchase by itself. You can do this from the insurance section in the <a href='http://www.hostelworld.com/insurancedetails.php' target=blank>Travel Store</a>. ";
s1_ans[14] = "No. You can check realtime availability for each property listed on the Hostelworld.com website. Simply choose your country and city, enter your chosen dates and you will receive a detailed breakdown of availability. ";
s1_ans[15] = "We do not provide contact information for hostels before you book them. You will receive complete directions and contact information on your booking confirmation.";
s1_ans[16] = "Each hostel has a one page microsite showing their facilities and photographs - this is the equivalent of their brochure page. Hostelworld.com do not print any hostel brochures. ";
s1_ans[17] = "Most hostels do not have any age restrictions for guests. Hostels that do restrict guests with a minimum or maximum age limit should have this clearly displayed on their microsites. ";

var header = "<body bgcolor=#ffffff leftmargin=0 marginwidth=0 topmargin=0 marginheight=0>\n<link href=\"/images/default.html\" type=text/css rel=stylesheet>\n\n<table cellpadding=0 cellspacing=0 border=0 width=100%>\n<tr>\n<td colspan=2>\n<table cellpadding=0 cellspacing=0 border=0 width=100%>\n<tr>\n<td valign=middle><img src=\"../images/faq//hw_logo.gif\"></td>\n<td valign=bottom align=right><img src=\"../images/faq/query_support_title.gif\"></td>\n</tr>\n</table>\n</td>\n</tr>\n<tr>\n<td bgcolor='#000000' height=1 colspan=3><img src='../images/faq/trans.gif' height=1></td>\n</tr>\n<tr>\n<td colspan=2 bgcolor=\"336699\" height=25>&nbsp;<span class=SmallTitle><font color='#FFFFFF'>Questions about Hostelling</font></span></td>\n</tr>\n<tr>\n<td bgcolor='#000000' height=1 colspan=2><img src='../images/faq/trans.gif' height=1></td>\n</tr>";
var qfooter = "<tr>\n<td bgcolor='#B9D6F3' height=25 colspan=2>\n<table cellpadding=0 cellspacing=0 width=100% height=100%>\n<tr>\n<td align=center width=50%><a href='faqs.html'>Main Menu</a></td>\n<td bgcolor='#000000'><img src='../images/faq/trans.gif' height=1></td>\n<td align=center width=50%><a href='javascript:window.close()'>Close this Window</a>&nbsp;&nbsp;</td>\n</tr>\n</table>\n</td>\n</tr>\n<tr>\n<td background=\"../images/faq/drk_dots.gif\" height=1 colspan=2><img src='../images/faq/trans.gif' height=1></td>\n</tr>\n</table>";
var qafooter = "<tr>\n<td background=\"../images/faq/horz_dots.gif\" height=1 colspan=3><img src='../images/faq/trans.gif' height=1></td>\n</tr>\n<tr bgcolor='#DFEDFB'>\n<td height=25 colspan=3>\n<table cellpadding=0 cellspacing=0 width=100% height=100%>\n<tr>\n<td width=33% align=center><a href='faqs.html'>Main FAQ Menu</a></td>\n<td background='../images/faq/vert_dots.gif'><img src='../images/faq/trans.gif' height=1></td>\n<td width=34% align=center><a href='making_booking.html'>Previous Page</a></td>\n<td background='../images/faq/vert_dots.gif'><img src='../images/faq/trans.gif' height=1></td>\n<td width=33% align=center><a href='javascript:window.close()'>Close Window</a></td>\n</tr>\n</table>\n</td>\n</tr>\n<tr>\n<td background=\"../images/faq/drk_dots.gif\" height=1 colspan=3><img src='../images/faq/trans.gif' height=1></td>\n</tr>\n</table>";
var contact_us = "<table cellpadding=0 cellspacing=0 border=0 width=100% align=center class=Border bordercolor='#AAAAAA'>\n<tr>\n<td bgcolor='#EEEEEE' colspan=7 height=25>&nbsp;<span class=SmallTitle><font color='#444444'>Still haven't found what you're looking for?</font></span></td>\n</tr>\n<tr>\n<td background=\"../images/faq/horz_dots.gif\" height=1 colspan=7><img src='../images/faq/trans.gif' height=1></td>\n</tr>\n<tr valign=top>\n<td bgcolor='#FAFAFA' width=4%>&nbsp;</td>\n<td bgcolor='#FAFAFA'><p><br>Please click on the appropriate link above to find the answer to your query. If we have not answered your query at the above links use our <a href='../contactgeneralqueriessm.php' class=orange>contact form </a>and we will do our very best to help you out.<p></td>\n<td bgcolor='#FAFAFA' width=4%>&nbsp;</td>\n<td bgcolor='#FAFAFA' background='../images/faq/vert_dots.gif'><img src='../images/faq/trans.gif' height=1></td>\n<td bgcolor='#FAFAFA' width=4%>&nbsp;</td>\n<td bgcolor='#FAFAFA'><p><br><b>Please note</b> that our Customer Support Team will only answer queries that have <b>NOT</b> been dealt with in our 'Query & Support Center'.<p></td>\n<td bgcolor='#FAFAFA' width=4%>&nbsp;</td>\n</tr>\n</table>";

	var str = '' + this.location;
	var str1 = str.substring((str.indexOf('?')) + 1); 
	
	var keypairs = new Array();
	keypairs[0] = str1;
	var keyName = keypairs[0].substring(0,keypairs[0].indexOf('=')); 
    var keyValue = keypairs[0].substring((keypairs[0].indexOf('=')) + 1); 
	
	var max = s1_quest.length;
	var ans_max = s1_ans.length;
	var b4max = max-1;
	
	var id = keyValue;
	

		if(id == str)
		{	
		    
			document.write(header);
			
			for (i=0; i<max; i++)
				{
				document.write("<tr bgcolor='#EFF7FF'>\n");
				document.write(" <td height=18 width=8%>&nbsp;<img src='../images/faq/arrow.gif' align=absmiddle></td>\n");
				document.write(" <td><a href='making_booking.html?id="+i+"' class=darklink>"+s1_quest[i]+"</a><br></td>\n");
				document.write("</tr>\n");
				
				if(i >= b4max)
					{
					document.write("<tr>\n");
					document.write(" <td background='../images/faq/drk_dots.gif' height=1 colspan=2><img src='../images/faq/trans.gif' height=1></td>\n");
					document.write("</tr>\n");
					}
				else
					{
					document.write("<tr>\n");
					document.write(" <td background='../images/faq/horz_dots.gif' height=1 colspan=2><img src='../images/faq/trans.gif' height=1></td>\n");
					document.write("</tr>\n");
					}

				}
			document.write(qfooter);
			document.write(contact_us);
		}
		else
		{
			document.write(header);

			document.write("<tr bgcolor='#EFF7FF'>");
			document.write(" <td height=35 width=8% valign=middle>&nbsp;<img src='../images/faq/arrow.gif'></td>");
			document.write(" <td><span class=SmallTitle>"+s1_quest[id]+"</span><br></td>");
			document.write("</tr>");
		
			document.write("<tr bgcolor='#EFF7FF'>");
			document.write(" <td width=8%>&nbsp;</td>");
			document.write(" <td height=150 valign=middle>"+s1_ans[id]+"<br></td>");
			document.write("</tr>");

			document.write(qafooter);
			document.write(contact_us);
	    }
	
}


//******************************************************************************//
//																				//
//						Existing Reservations Questions							//
//																				//			
//******************************************************************************//

function exist_res_quests(){

var i;
var s2_quest = new Array();
var s2_ans = new Array();

// ------------------------------------------------------------//
// Section 2 Questions
// ------------------------------------------------------------//
s2_quest[0] = "I have not received my confirmation, what can I do?";
s2_quest[1] = "How do I cancel a booking?";
s2_quest[2] = "How do I amend my reservation?";
s2_quest[3] = "What happens if I don’t show up and I haven’t contacted the hostel?";
s2_quest[4] = "I have lost my password for logging onto MyHostelworld account, how can I get this resent?";
s2_quest[5] = "I am not sure if my booking was processed, can you check for me?";
s2_quest[6] = "What should I do once I see that my booking has been confirmed?";

// ------------------------------------------------------------//
// Section 2 Answers
// ------------------------------------------------------------//
s2_ans[0] = "Once you click the “Confirm” button it should only take up to 1 minute to receive confirmation of your booking on screen. Do not click the confirm button more than once or you will be charged more than once. We also send you a confirmation e-mail with your booking details if you have given us a valid e-mail address. Please note that due to the nature of the internet and individual e-mail servers that sometimes confirmation e-mails will not be received. As a precaution all your bookings are also stored in our online travel itinerary planner, MyHostelworld. By booking through Hostelworld.com you automatically become a MyHostelworld member and can access this area at any time to view your bookings.";
s2_ans[1] = "If you wish to cancel your booking you must contact the hostel directly using the contact details on your booking confirmation, please remember to quote your booking reference in any correspondence with the hostel. In the event of a cancellation the booking fee and deposit are non-refundable. You must give at least 24 hours cancellation notice to the hostel to avoid a no-show charge. The no-show charge is the total of the first night's accommodation cost and will be charged to your credit card if you do not notify the hostel in time.";
s2_ans[2] = "You should contact the hostel directly to request an amendment to your reservation. Contact details are clearly noted on your confirmation e-mail, please quote your booking reference number in any correspondence with the hostel. Acceptance of any amendments is at the discretion of the hostel concerned. If an amendment of your reservation is not possible your deposit and booking fee are non-refundable.";
s2_ans[3] = "In the event of a no show the hostel will charge your card for the first night's stay and cancel any remaining nights booked. The deposit and booking fee are non refundable.";
s2_ans[4] = "If you have forgotten your password click on the resend password option in MyHostelworld and it will be e-mailed to you.";
s2_ans[5] = "If you booked online at Hostelworld.com your travel details will be stored in your online travelogue at MyHostelworld. You can log-in using your username and password. Your username is your e-mail address, if you have lost your password click on the resend password option.";
s2_ans[6] = "Once your booking has been confirmed you are taken to a confirmation page which contains a link to your full booking details. Please click into view your full booking details from this page and make sure that you print your booking confirmation or take note of the booking reference number as the hostel will need this to check you in.";


var header = "<body bgcolor=#ffffff leftmargin=0 marginwidth=0 topmargin=0 marginheight=0>\n<link href=\"/images/default.html\" type=text/css rel=stylesheet>\n\n<table cellpadding=0 cellspacing=0 border=0 width=100%>\n<tr>\n<td colspan=2>\n<table cellpadding=0 cellspacing=0 border=0 width=100%>\n<tr>\n<td valign=middle><img src=\"../images/faq/hw_logo.gif\"></td>\n<td valign=bottom align=right><img src=\"../images/faq/query_support_title.gif\"></td>\n</tr>\n</table>\n</td>\n</tr>\n<tr>\n<td bgcolor='#000000' height=1 colspan=3><img src='../images/faq/trans.gif' height=1></td>\n</tr>\n<tr>\n<td colspan=2 bgcolor=\"336699\" height=25>&nbsp;<span class=SmallTitle><font color='#FFFFFF'>Queries About an Existing Hostelworld Reservation</font></span></td>\n</tr>\n<tr>\n<td bgcolor='#000000' height=1 colspan=2><img src='../images/faq/trans.gif' height=1></td>\n</tr>";
var qfooter = "<tr>\n<td bgcolor='#B9D6F3' height=25 colspan=2>\n<table cellpadding=0 cellspacing=0 width=100% height=100%>\n<tr>\n<td align=center width=50%><a href='faqs.html'>Main Menu</a></td>\n<td bgcolor='#000000'><img src='../images/faq/trans.gif' height=1></td>\n<td align=center width=50%><a href='javascript:window.close()'>Close this Window</a>&nbsp;&nbsp;</td>\n</tr>\n</table>\n</td>\n</tr>\n<tr>\n<td background=\"../images/faq/drk_dots.gif\" height=1 colspan=2><img src='../images/faq/trans.gif' height=1></td>\n</tr>\n</table>";
var qafooter = "<tr>\n<td background=\"../images/faq/horz_dots.gif\" height=1 colspan=3><img src='../images/faq/trans.gif' height=1></td>\n</tr>\n<tr bgcolor='#DFEDFB'>\n<td height=25 colspan=3>\n<table cellpadding=0 cellspacing=0 width=100% height=100%>\n<tr>\n<td width=33% align=center><a href='faqs.html'>Main FAQ Menu</a></td>\n<td background='../images/faq/vert_dots.gif'><img src='../images/faq/trans.gif' height=1></td>\n<td width=34% align=center><a href='existing_reservations.html'>Previous Page</a></td>\n<td background='../images/faq/vert_dots.gif'><img src='../images/faq/trans.gif' height=1></td>\n<td width=33% align=center><a href='javascript:window.close()'>Close Window</a></td>\n</tr>\n</table>\n</td>\n</tr>\n<tr>\n<td background=\"../images/faq/drk_dots.gif\" height=1 colspan=3><img src='../images/faq/trans.gif' height=1></td>\n</tr>\n</table>";
var contact_us = "<table cellpadding=0 cellspacing=0 border=0 width=100% align=center class=Border bordercolor='#AAAAAA'>\n<tr>\n<td bgcolor='#EEEEEE' colspan=7 height=25>&nbsp;<span class=SmallTitle><font color='#444444'>Still haven't found what you're looking for?</font></span></td>\n</tr>\n<tr>\n<td background=\"../images/faq/horz_dots.gif\" height=1 colspan=7><img src='../images/faq/trans.gif' height=1></td>\n</tr>\n<tr valign=top>\n<td bgcolor='#FAFAFA' width=4%>&nbsp;</td>\n<td bgcolor='#FAFAFA'><p><br>Please click on the appropriate link above to find the answer to your query. If we have not answered your query at the above links use our <a href='../contactgeneralqueriessm.php' class=orange>contact form </a>and we will do our very best to help you out.<p></td>\n<td bgcolor='#FAFAFA' width=4%>&nbsp;</td>\n<td bgcolor='#FAFAFA' background='../images/faq/vert_dots.gif'><img src='../images/faq/trans.gif' height=1></td>\n<td bgcolor='#FAFAFA' width=4%>&nbsp;</td>\n<td bgcolor='#FAFAFA'><p><br><b>Please note</b> that our Customer Support Team will only answer queries that have <b>NOT</b> been dealt with in our 'Query & Support Center'.<p></td>\n<td bgcolor='#FAFAFA' width=4%>&nbsp;</td>\n</tr>\n</table>";

	var str = '' + this.location;
	var str1 = str.substring((str.indexOf('?')) + 1); 
	
	var keypairs = new Array();
	keypairs[0] = str1;
	var keyName = keypairs[0].substring(0,keypairs[0].indexOf('=')); 
    var keyValue = keypairs[0].substring((keypairs[0].indexOf('=')) + 1); 
	
	var max = s2_quest.length;
	var ans_max = s2_ans.length;
	var b4max = max-1;
	
	var id = keyValue;
	

		if(id == str)
		{	
			document.write(header);
			
			for (i=0; i<max; i++)
				{
				document.write("<tr bgcolor='#EFF7FF'>\n");
				document.write(" <td height=25 width=8%>&nbsp;<img src='../images/faq/arrow.gif' align=absmiddle></td>\n");
				document.write(" <td><a href='existing_reservations.html?id="+i+"' class=darklink>"+s2_quest[i]+"</a><br></td>\n");
				document.write("</tr>\n");
				
				if(i >= b4max)
					{
					document.write("<tr>\n");
					document.write(" <td background='../images/faq/drk_dots.gif' height=1 colspan=2><img src='../images/faq/trans.gif' height=1></td>\n");
					document.write("</tr>\n");
					}
				else
					{
					document.write("<tr>\n");
					document.write(" <td background='../images/faq/horz_dots.gif' height=1 colspan=2><img src='../images/faq/trans.gif' height=1></td>\n");
					document.write("</tr>\n");
					}

				}
			document.write(qfooter);
			document.write(contact_us);
		}
		else
		{
			document.write(header);

			document.write("<tr bgcolor='#EFF7FF'>");
			document.write(" <td height=35 width=8% valign=middle>&nbsp;<img src='../images/faq/arrow.gif'></td>");
			document.write(" <td><span class=SmallTitle>"+s2_quest[id]+"</span><br></td>");
			document.write("</tr>");
		
			document.write("<tr bgcolor='#EFF7FF'>");
			document.write(" <td width=8%>&nbsp;</td>");
			document.write(" <td height=150 valign=middle>"+s2_ans[id]+"<br></td>");
			document.write("</tr>");

			document.write(qafooter);
			document.write(contact_us);
	    }
	
}


//******************************************************************************//
//																				//
//					Working With Hostelworld Questions							//
//																				//			
//******************************************************************************//

function work_with_hw(){

var i;
var s3_quest = new Array();
var s3_ans = new Array();

// ------------------------------------------------------------//
// Section 3 Questions
// ------------------------------------------------------------//
s3_quest[0] = "<b>Affiliate Websites:</b> Would you like your site to work with Hostelworld?";
s3_quest[1] = "<b>Hostel Owners:</b> Would you like to have your hostel featured on Hostelworld.com?";
s3_quest[2] = "<b>Tour or Activity Providers:</b> Would you like to have your tour featured on Hostelworld?";

// ------------------------------------------------------------//
// Section 3 Answers
// ------------------------------------------------------------//
s3_ans[0] = "If you have a website which focuses on the travel, student or leisure markets you can partner with Hostelworld.com by joining our affiliate programme and start earning some extra revenue today.<p>The Hostelworld.com hostel booking engine can be integrated to fit into any website design and you can then offer your customers online confirmed reservations at almost 5,000 properties in over 140 countries worldwide.<p>Our booking engine powers some of the largest student travel websites worldwide including Student Universe, Lonely Planet, Rail Europe and over 500 other affiliated sites.<p>Sign-up today and start working with us to offer this unique product to your customers.<p>You can sign up at <a href='http://sales.hostelworld.com/signup_affiliates.php' target=blank>here</a> or contact us for further information <a href='http://www.hostelworld.com/contactaffiliates.php' target=blank>here</a>.";
s3_ans[1] = "If you are a Hostel Owner or Marketing Manager, you should consider featuring your hostel on the world's busiest hostel booking website.<p>Hostelworld.com has been in operation since 1999 and currently works with almost 5,000 hostels worldwide. We are the largest online reservations provider to the hostel industry working with properties in over 140 countries worldwide.<p>You can find out more about working with Hostelworld.com <a href='http://sales.hostelworld.com' target=blank>here</a> or you can sign-up your hostel by filling in our <a href='http://sales.hostelworld.com/signup_hostels.php' target=blank>sign-up form</a><p>Once you have filled in all your information one of our representatives will be in touch with you within 48 hours to explain how to add availability and information to our site.";
s3_ans[2] = "If you are a Tour or Activity Provider or Marketing Manager, you should consider featuring your product on the world's busiest hostel booking website.<p>Hostelworld.com has been in operation since 1999 and currently works with almost 5,000 hostels and over 2,000 tours and activities worldwide. We are the largest online reservations provider to the backpacking industry working with companies in over 140 countries worldwide.<p>You can find out more about working with Hostelworld.com <a href='http://sales.hostelworld.com' target=blank>here</a> or you can sign-up your tour or activity by filling in all your information on our <a href='http://sales.hostelworld.com/signup_tours.php' target=blank>sign-up form</a><p>Once you have filled in all your information one of our representatives will be in touch with you within 48 hours to explain how to add availability and information to our site.";

var header = "<body bgcolor=#ffffff leftmargin=0 marginwidth=0 topmargin=0 marginheight=0>\n<link href=\"images/default.html\" type=text/css rel=stylesheet>\n\n<table cellpadding=0 cellspacing=0 border=0 width=100%>\n<tr>\n<td colspan=2>\n<table cellpadding=0 cellspacing=0 border=0 width=100%>\n<tr>\n<td valign=middle><img src=\"../images/faq/hw_logo.gif\"></td>\n<td valign=bottom align=right><img src=\"../images/faq/query_support_title.gif\"></td>\n</tr>\n</table>\n</td>\n</tr>\n<tr>\n<td bgcolor='#000000' height=1 colspan=3><img src='../images/faq/trans.gif' height=1></td>\n</tr>\n<tr>\n<td colspan=2 bgcolor=\"336699\" height=25>&nbsp;<span class=SmallTitle><font color='#FFFFFF'>Find out how you can work with Hostelworld.com</font></span></td>\n</tr>\n<tr>\n<td bgcolor='#000000' height=1 colspan=2><img src='../images/faq/trans.gif' height=1></td>\n</tr>";
var qfooter = "<tr>\n<td bgcolor='#B9D6F3' height=25 colspan=2>\n<table cellpadding=0 cellspacing=0 width=100% height=100%>\n<tr>\n<td align=center width=50%><a href='faqs.html'>Main Menu</a></td>\n<td bgcolor='#000000'><img src='../images/faq/trans.gif' height=1></td>\n<td align=center width=50%><a href='javascript:window.close()'>Close this Window</a>&nbsp;&nbsp;</td>\n</tr>\n</table>\n</td>\n</tr>\n<tr>\n<td background=\"../images/faq/drk_dots.gif\" height=1 colspan=2><img src='../images/faq/trans.gif' height=1></td>\n</tr>\n</table>";
var qafooter = "<tr>\n<td background=\"../images/faq/horz_dots.gif\" height=1 colspan=3><img src='../images/faq/trans.gif' height=1></td>\n</tr>\n<tr bgcolor='#DFEDFB'>\n<td height=25 colspan=3>\n<table cellpadding=0 cellspacing=0 width=100% height=100%>\n<tr>\n<td width=33% align=center><a href='faqs.html'>Main FAQ Menu</a></td>\n<td background='../images/faq/vert_dots.gif'><img src='../images/faq/trans.gif' height=1></td>\n<td width=34% align=center><a href='work_with_hw.html'>Previous Page</a></td>\n<td background='../images/faq/vert_dots.gif'><img src='../images/faq/trans.gif' height=1></td>\n<td width=33% align=center><a href='javascript:window.close()'>Close Window</a></td>\n</tr>\n</table>\n</td>\n</tr>\n<tr>\n<td background=\"../images/faq/drk_dots.gif\" height=1 colspan=3><img src='../images/faq/trans.gif' height=1></td>\n</tr>\n</table>";
var contact_us = "<table cellpadding=0 cellspacing=0 border=0 width=100% align=center class=Border bordercolor='#AAAAAA'>\n<tr>\n<td bgcolor='#EEEEEE' colspan=7 height=25>&nbsp;<span class=SmallTitle><font color='#444444'>Still haven't found what you're looking for?</font></span></td>\n</tr>\n<tr>\n<td background=\"../images/faq/horz_dots.gif\" height=1 colspan=7><img src='../images/faq/trans.gif' height=1></td>\n</tr>\n<tr valign=top>\n<td bgcolor='#FAFAFA' width=4%>&nbsp;</td>\n<td bgcolor='#FAFAFA'><p><br>Please click on the appropriate link above to find the answer to your query. If we have not answered your query at the above links use our <a href='../contactgeneralqueriessm.php' class=orange>contact form </a>and we will do our very best to help you out.<p></td>\n<td bgcolor='#FAFAFA' width=4%>&nbsp;</td>\n<td bgcolor='#FAFAFA' background='../images/faq/vert_dots.gif'><img src='../images/faq/trans.gif' height=1></td>\n<td bgcolor='#FAFAFA' width=4%>&nbsp;</td>\n<td bgcolor='#FAFAFA'><p><br><b>Please note</b> that our Customer Support Team will only answer queries that have <b>NOT</b> been dealt with in our 'Query & Support Center'.<p></td>\n<td bgcolor='#FAFAFA' width=4%>&nbsp;</td>\n</tr>\n</table>";

	var str = '' + this.location;
	var str1 = str.substring((str.indexOf('?')) + 1); 
	
	var keypairs = new Array();
	keypairs[0] = str1;
	var keyName = keypairs[0].substring(0,keypairs[0].indexOf('=')); 
    var keyValue = keypairs[0].substring((keypairs[0].indexOf('=')) + 1); 
	
	var max = s3_quest.length;
	var ans_max = s3_ans.length;
	var b4max = max-1;
	
	var id = keyValue;
	

		if(id == str)
		{	
			document.write(header);
			
			for (i=0; i<max; i++)
				{
				document.write("<tr bgcolor='#EFF7FF'>\n");
				document.write(" <td height=45 width=8%>&nbsp;<img src='../images/faq/arrow.gif' align=absmiddle></td>\n");
				document.write(" <td><a href='work_with_hw.html?id="+i+"' class=darklink>"+s3_quest[i]+"</a><br></td>\n");
				document.write("</tr>\n");
				
				if(i >= b4max)
					{
					document.write("<tr>\n");
					document.write(" <td background='../images/faq/drk_dots.gif' height=1 colspan=2><img src='../images/faq/trans.gif' height=1></td>\n");
					document.write("</tr>\n");
					}
				else
					{
					document.write("<tr>\n");
					document.write(" <td background='../images/faq/horz_dots.gif' height=1 colspan=2><img src='../images/faq/trans.gif' height=1></td>\n");
					document.write("</tr>\n");
					}

				}
			document.write(qfooter);
			document.write(contact_us);
		}
		else
		{
			document.write(header);

			document.write("<tr bgcolor='#EFF7FF'>");
			document.write(" <td height=35 width=8% valign=middle>&nbsp;<img src='../images/faq/arrow.gif'></td>");
			document.write(" <td><span class=SmallTitle>"+s3_quest[id]+"</span><br></td>");
			document.write("</tr>");
		
			document.write("<tr bgcolor='#EFF7FF'>");
			document.write(" <td width=8%>&nbsp;</td>");
			document.write(" <td height=250 valign=middle>"+s3_ans[id]+"<br></td>");
			document.write("</tr>");

			document.write(qafooter);
			document.write(contact_us);
	    }
	
}

//******************************************************************************//
//																																		   //
//					Questions about Hostelling																				   //
//																																		   //			
//******************************************************************************//

function about_hostelling(){

var i;
var s4_quest = new Array();
var s4_ans = new Array();

// ------------------------------------------------------------//
// Section 4 Questions
// ------------------------------------------------------------//
s4_quest[0] = "What facilities are available at hostels?";
s4_quest[1] = "Are the rooms ensuite (private bath)?";
s4_quest[2] = "Do the hostels close during the day, and is there any curfew?";
s4_quest[3] = "How much does it cost to book a hostel online?";
s4_quest[4] = "I stayed at a hostel booked through Hostelworld and I have a complaint";
s4_quest[5] = "Do I need to bring my own bed linen or sleeping bag?";
s4_quest[6] = "What are private rooms?";
s4_quest[7] = "What are shared rooms?";
s4_quest[8] = "What are double bunks?";
s4_quest[9] = "What are the current exchange rates?";

// ------------------------------------------------------------//
// Section 4 Answers
// ------------------------------------------------------------//
s4_ans[0] = "You will need to check the microsite for each specific hostel as facilities differ from hostel to hostel and from country to country. Most hostels have self-catering facilities and almost all have lockers for safe-keeping of valuables. Some have bars, and depending on where you go some even have swimming pools and saunas! Almost all hostels provide internet access and international telephones so you can stay in touch no matter where you are.";
s4_ans[1] = "Some rooms in hostels have ensuite facilities, i.e. private shower and/or toilet. These rooms are generally limited, however, and are very much in demand. They are also slightly more expensive.";
s4_ans[2] = "There is no curfew or closing time in most hostels but you should check the microsite for your particular hostel to confirm that this is the case with regard to your specific accommodation.";
s4_ans[3] = "A service charge of US$2 applies to each booking made. Prices stated are per person, per night and payment is made on arrival at the hostel. To place a booking online, a 10% deposit is required for each room/night booked - this deposit will be deducted from the full room rate upon payment at the hostel.";
s4_ans[4] = "The hostels on Hostelworld.com are all separate enterprises and we do not own them or manage them, we simply provide them with the facility to accept online reservations, so we do advise that you direct your complaint to the hostel in question during your stay. However we do take all complaints seriously, and will monitor them, and forward them in turn to the hostel.";
s4_ans[5] = "While some hostels do provide linen free of charge, others will apply a charge for this service. All hostels provide duvets or blankets and private rooms will usually include linen. Once again, it is worth checking the hostel's microsite before travelling.";
s4_ans[6] = "In order to secure a Private Room, you will need to book the entire room. For example, three persons booking a four-bed private room will need to select and pay for four persons if they wish to have a private room. If you set your preference to private room and there is no private room availability, the website will offer the best alternative available.";
s4_ans[7] = "Shared Rooms are dormitory style and range in size from four beds upwards. They offer mixed accommodation unless alternative arrangements have been made in advance with the hostel. Certain hostels do accomodate guests in single sex-sex dorms, if this is the case it will be indicated on the hostel's microsite.";
s4_ans[8] = "Double Bunks are queen-sized beds in a shared room, intended for 2 people. You must book both places in the bed at once, so even if you want the bed all to yourself, you'll have to pay for 2 people. Double bunks should not be confused with private rooms.";
s4_ans[9] = "When viewing room prices, you can choose to see the room rates in your chosen currency. These exchange rates are updated daily.";

var header = "<body bgcolor=#ffffff leftmargin=0 marginwidth=0 topmargin=0 marginheight=0>\n<link href=\"images/default.html\" type=text/css rel=stylesheet>\n\n<table cellpadding=0 cellspacing=0 border=0 width=100%>\n<tr>\n<td colspan=2>\n<table cellpadding=0 cellspacing=0 border=0 width=100%>\n<tr>\n<td valign=middle><img src=\"../images/faq/hw_logo.gif\"></td>\n<td valign=bottom align=right><img src=\"../images/faq/query_support_title.gif\"></td>\n</tr>\n</table>\n</td>\n</tr>\n<tr>\n<td bgcolor='#000000' height=1 colspan=3><img src='../images/faq/trans.gif' height=1></td>\n</tr>\n<tr>\n<td colspan=2 bgcolor=\"336699\" height=25>&nbsp;<span class=SmallTitle><font color='#FFFFFF'>Questions about Hostelling</font></span></td>\n</tr>\n<tr>\n<td bgcolor='#000000' height=1 colspan=2><img src='../images/faq/trans.gif' height=1></td>\n</tr>";
var qfooter = "<tr>\n<td bgcolor='#B9D6F3' height=25 colspan=2>\n<table cellpadding=0 cellspacing=0 width=100% height=100%>\n<tr>\n<td align=center width=50%><a href='faqs.html'>Main Menu</a></td>\n<td bgcolor='#000000'><img src='../images/faq/trans.gif' height=1></td>\n<td align=center width=50%><a href='javascript:window.close()'>Close this Window</a>&nbsp;&nbsp;</td>\n</tr>\n</table>\n</td>\n</tr>\n<tr>\n<td background=\"../images/faq/drk_dots.gif\" height=1 colspan=2><img src='../images/faq/trans.gif' height=1></td>\n</tr>\n</table>";
var qafooter = "<tr>\n<td background=\"../images/faq/horz_dots.gif\" height=1 colspan=3><img src='../images/faq/trans.gif' height=1></td>\n</tr>\n<tr bgcolor='#DFEDFB'>\n<td height=25 colspan=3>\n<table cellpadding=0 cellspacing=0 width=100% height=100%>\n<tr>\n<td width=33% align=center><a href='faqs.html'>Main FAQ Menu</a></td>\n<td background='../images/faq/vert_dots.gif'><img src='../images/faq/trans.gif' height=1></td>\n<td width=34% align=center><a href='about_hostelling.html'>Previous Page</a></td>\n<td background='../images/faq/vert_dots.gif'><img src='../images/faq/trans.gif' height=1></td>\n<td width=33% align=center><a href='javascript:window.close()'>Close Window</a></td>\n</tr>\n</table>\n</td>\n</tr>\n<tr>\n<td background=\"../images/faq/drk_dots.gif\" height=1 colspan=3><img src='../images/faq/trans.gif' height=1></td>\n</tr>\n</table>";
var contact_us = "<table cellpadding=0 cellspacing=0 border=0 width=100% align=center class=Border bordercolor='#AAAAAA'>\n<tr>\n<td bgcolor='#EEEEEE' colspan=7 height=25>&nbsp;<span class=SmallTitle><font color='#444444'>Still haven't found what you're looking for?</font></span></td>\n</tr>\n<tr>\n<td background=\"../images/faq/horz_dots.gif\" height=1 colspan=7><img src='../images/faq/trans.gif' height=1></td>\n</tr>\n<tr valign=top>\n<td bgcolor='#FAFAFA' width=4%>&nbsp;</td>\n<td bgcolor='#FAFAFA'><p><br>Please click on the appropriate link above to find the answer to your query. If we have not answered your query at the above links use our <a href='../contactgeneralqueriessm.php' class=orange>contact form </a>and we will do our very best to help you out.<p></td>\n<td bgcolor='#FAFAFA' width=4%>&nbsp;</td>\n<td bgcolor='#FAFAFA' background='../images/faq/vert_dots.gif'><img src='../images/faq/trans.gif' height=1></td>\n<td bgcolor='#FAFAFA' width=4%>&nbsp;</td>\n<td bgcolor='#FAFAFA'><p><br><b>Please note</b> that our Customer Support Team will only answer queries that have <b>NOT</b> been dealt with in our 'Query & Support Center'.<p></td>\n<td bgcolor='#FAFAFA' width=4%>&nbsp;</td>\n</tr>\n</table>";

	var str = '' + this.location;
	var str1 = str.substring((str.indexOf('?')) + 1); 
	
	var keypairs = new Array();
	keypairs[0] = str1;
	var keyName = keypairs[0].substring(0,keypairs[0].indexOf('=')); 
    var keyValue = keypairs[0].substring((keypairs[0].indexOf('=')) + 1); 
	
	var max = s4_quest.length;
	var ans_max = s4_ans.length;
	var b4max = max-1;
	
	var id = keyValue;
	

		if(id == str)
		{	
			document.write(header);
			
			for (i=0; i<max; i++)
				{
				document.write("<tr bgcolor='#EFF7FF'>\n");
				document.write(" <td height=25 width=8%>&nbsp;<img src='../images/faq/arrow.gif' align=absmiddle></td>\n");
				document.write(" <td><a href='about_hostelling.html?id="+i+"' class=darklink>"+s4_quest[i]+"</a><br></td>\n");
				document.write("</tr>\n");
				
				if(i >= b4max)
					{
					document.write("<tr>\n");
					document.write(" <td background='../images/faq/drk_dots.gif' height=1 colspan=2><img src='../images/faq/trans.gif' height=1></td>\n");
					document.write("</tr>\n");
					}
				else
					{
					document.write("<tr>\n");
					document.write(" <td background='../images/faq/horz_dots.gif' height=1 colspan=2><img src='../images/faq/trans.gif' height=1></td>\n");
					document.write("</tr>\n");
					}

				}
			document.write(qfooter);
			document.write(contact_us);
		}
		else
		{
			document.write(header);

			document.write("<tr bgcolor='#EFF7FF'>");
			document.write(" <td height=35 width=8% valign=middle>&nbsp;<img src='../images/faq/arrow.gif'></td>");
			document.write(" <td><span class=SmallTitle>"+s4_quest[id]+"</span><br></td>");
			document.write("</tr>");
		
			document.write("<tr bgcolor='#EFF7FF'>");
			document.write(" <td width=8%>&nbsp;</td>");
			document.write(" <td height=150 valign=middle>"+s4_ans[id]+"<br></td>");
			document.write("</tr>");

			document.write(qafooter);
			document.write(contact_us);
	    }
	
}
