// JavaScript Document


jQuery(document).ready(function(){
	jQuery('#myRoundabout').roundabout({
		shape: 'figure8',
		minOpacity: 1,
		btnNext: '#bt-next',
		btnPrev: '#bt-previous'
	}); 
	$("a[rel='enlarge']").colorbox({transition:"fade"});
});




 $(document).ready(function() {
	/*
   $('.btn_readmore').click(function(){
			if ($("#div_hidden").is(":hidden")) {
			$("#div_hidden").slideDown("slow");
			} else {
			$("#div_hidden").slideUp();
			}
	 });*/
	
		//Hide homepage hidden conents		
		$("#home_hidden_text").css('display', 'none');
		$("#readmore_home").css('display', 'block');
		
		$("#other_hidden_text").css('display', 'none');
		$("#readmore_other").css('display', 'block');
		
		$("#answer1,#answer2,#answer3,#answer4,#answer5,#answer6,#answer7,#answer8,#answer9,#answer10,#answer11,#answer12").css('display', 'none');
		
		
		/*	
		$(".btn_readmore").click(function(){
			if ($("#home_hidden_text").(":visible")){
				$("#home_hidden_text").slideToggle("up");
			} else {
				$("#home_hidden_text").show();
				$("#home_hidden_text").slideToggle("down");
			}         
    });
		*/
		/*
    $(".btn_readmore").click(function(){
		  $("#div_hidden").slideToggle("up");
      $("#div_hidden").css('display', 'none');
      //window.scrollTo(0, 0);
    });
		$(".btn_readmore").css('display', 'block');
    $("#div_hidden").css('display', 'none');
		*/
		/*$('#bs_dining').click(function() {
			alert("bs_dining");*/
			/*$(this).css("background-image","/images/nav_ban_dining.png");
			$(this).css("background-position","0 43px");
		});*/
		
 });

	function display_home(){		
		$("#home_hidden_text").slideToggle();
		$("#other_hidden_text").slideToggle();
	}
	function display_ans(qno){
		//cur="answer"+qno;
		$("#answer"+qno).slideToggle();

	}

