
jQuery(document).ready(function() {
								
$(".roll").hover(
function()
{
this.src = this.src.replace(".gif","-on.gif");
},
function()
{
this.src = this.src.replace("-on.gif",".gif");
}
);

var url = document.URL;
var pathname = url.substring(url.lastIndexOf('/')+1);

		switch(pathname)
		{
		case 'index.htm':
		  $('#nav1').attr({src : "images/home-on.gif"});
		  $('#nav1').unbind();
		  break;
		case 'mooloolaba-holiday-location.htm':
		  $("#nav2").attr({src : "images/thelocation-on.gif"});
		  $('#nav2').unbind();
		  break;
		case 'alexandra-headland-accommodation.htm':
		  $('#nav3').attr({src : "images/alexandra-headland-accommodation-on.gif"});
		  $('#nav3').unbind();
		  break;
		case 'mooloolaba-holiday-facilities.htm':
		$('#nav4').attr({src : "images/features-facilities-on.gif"});	 
		$('#nav4').unbind();
		  break;
		case 'things-to-see-mooloolaba.htm':
		  $('#nav5').attr({src : "images/things-to-see-do-on.gif"});
		 $('#nav5').unbind();
		  break;
		  case 'alexandra-headland-holiday-rates.htm':
		  $('#nav6').attr({src : "images/rates-specials-on.gif"});
		 $('#nav6').unbind();
		  break;
		case 'mooloolaba-photo-gallery.htm':
		  $('#nav7').attr({src : "images/photo-gallery-on.gif"});
		 $('#nav7').unbind();
		  break;
		case 'alexandra-headland-accommodation-faqs.htm':
		  $('#nav8').attr({src : "images/faqs-on.gif"});
		  $('#nav8').unbind();
		  break;
		case 'sunshine-coast-holiday-bookings.htm':
		  $('#nav9').attr({src : "images/enquiries-on.gif"});
		  $('#nav9').unbind();
		  break;
		}
});

