// JavaScript Document
   $(document).ready(function() {
	   $('#detailbox').hide();
	   $('#highlightsbox').hide();
	   //$('#daysbox').hide();
	   $('#hotelbox').hide();
	   $('#imagebox').hide();
	   $('#bookingbox').hide();
	   $('#consultantbox').hide();
	   $('#pricebox').hide();
	   
	   // shows the slickbox on clicking the noted link  
	  $('a#showcase-show').click(function() {
		$('#showcasebox').show('slow');
		return false;
	  });
	   
	  $('a#showcase-show1').click(function() {
		$('#showcasebox').show('slow');
		return false;
	  }); 
	 // hides the slickbox on clicking the noted link  
	  $('a#showcase-hide').click(function() {
		$('#showcasebox').hide('fast');
		return false;
	  });
	  
	  
	   // shows the consultantbox on clicking the noted link  
	  $('a#consultant').click(function() {
		$('#consultantbox').show('slow');
		return false;
	  });
	   
	  $('a#consultant-show').click(function() {
		$('#consultantbox').show('slow');
		return false;
	  }); 
	 // hides the consultantbox on clicking the noted link  
	  $('a#consultant-hide').click(function() {
		$('#consultantbox').hide('fast');
		return false;
	  });
	  
	  // shows the detailbox on clicking the noted link  
	  $('a#detail-show').click(function() {
		$('#detailbox').show('slow');
		return false;
	  }); 
	 $('a#detail-show1').click(function() {
		$('#detailbox').show('slow');
		return false;
	  });
	  
	  // hides the detailbox on clicking the noted link  
	  $('a#detail-hide').click(function() { 
		$('#detailbox').hide('fast');
		return false;
	  });

	  // shows the highlightsbox on clicking the noted link  
	  $('a#highlights-show').click(function() {
		$('#highlightsbox').show('slow');
		return false;
	  }); 
	$('a#highlights-show1').click(function() {
		$('#highlightsbox').show('slow');
		return false;
	  });
	  
	   // hides the highlightsbox on clicking the noted link  
	  $('a#highlights-hide').click(function() {
		$('#highlightsbox').hide('fast');
		return false;
	  });

	  // shows the daysbox on clicking the noted link  
	  $('a#days-show').click(function() {
		$('#daysbox').show('slow');
		return false;
	  });
	  
	  $('a#days-show1').click(function() {
		$('#daysbox').show('slow');
		return false;
	  });
	 // hides the daysbox on clicking the noted link  
	  $('a#days-hide').click(function() {
		$('#daysbox').hide('fast');
		return false;
	  });
	  
	  // shows the hotelbox on clicking the noted link  
	  $('a#hotel-show').click(function() {
		$('#hotelbox').show('slow');
		return false;
	  });
	  
	  $('a#hotel-show1').click(function() {
		$('#hotelbox').show('slow');
		return false;
	  });
	 // hides the hotelbox on clicking the noted link  
	  $('a#hotel-hide').click(function() {
		$('#hotelbox').hide('fast');
		return false;
	  });

	  // shows the slickbox on clicking the noted link  
	  $('a#image-show').click(function() {
		$('#imagebox').show('slow');
		return false;
	  });
	  
	  $('a#image-show1').click(function() {
		$('#imagebox').show('slow');
		return false;
	  });
	 // hides the slickbox on clicking the noted link  
	  $('a#image-hide').click(function() {
		$('#imagebox').hide('fast');
		return false;
	  });
      
	  // shows the slickbox on clicking the noted link  
	  $('a#booking-show').click(function() {
		$('#bookingbox').show('slow');
		return false;
	  });
	  
	 $('a#booking-show1').click(function() {
		$('#bookingbox').show('slow');
		return false;
	  });
	 // hides the slickbox on clicking the noted link  
	  $('a#booking-hide').click(function() {
		$('#bookingbox').hide('fast');
		return false;
	  });
	///price tab  hide and show
	 $('a#price-show').click(function() {
		$('#pricebox').show('slow');
		return false;
	  });
	 $('a#price-show1').click(function() {
		$('#pricebox').show('slow');
		return false;
	  });
	 // hides the slickbox on clicking the price link  
	  $('a#price-hide').click(function() {
		$('#pricebox').hide('fast');
		return false;
	  });
	 
	 
 });
function image(val,alttext){ 
  $('#city_codeLoading').show();
      $.post("http://www.travelmasti.com/showimage.php", {
        src: val,
		alttext: alttext
      }, function(response){ 
        $('#city_codeResult').fadeOut();
        setTimeout("finishAjax('city_codeLoading','city_codeResult', '"+escape(response)+"')", 400);
      });
    	return false;
}
function finishAjax(imageid, id, response) {
  $('#'+imageid).hide();
  $('#'+id).html(unescape(response));
  $('#'+id).fadeIn();
} //finishAjax

//-->
function showCurrency(id,inrValue,curr_code){ 
	  $('#currency_listLoading').show();
      $.post("http://www.travelmasti.com/rate-ajax.php", {
        currency_id: id,
	    inr_value:inrValue,
		code:curr_code, 
		query_url:'/Golden-Triangle-Tours/Golden-Triangle-Tour.html',
		hotel:'Golden Triangle Tour',
		country:'ind',
		hotel_id:'90',
		city:'delh',
		rate_of:'tour'
      }, function(response){ 
			//$('#currency_newResult').fadeOut();
			setTimeout("finishAjax('currency_listLoading','currency_newResult', '"+escape(response)+"')", 400);
      });
    	return false;
}

