$(function() {
	$('a[@rel*=lightbox]').lightBox();
});

jQuery(document).ready(function() {
								
var url = document.URL;
var pathname = url.substring(url.lastIndexOf('/')+1);

switch(pathname)
		{
		case 'index.html':
			  $('#nav1').unbind();
			  $('#nav1').css("background-position-y" , "-38px");		
		  break;
		case 'maroochydore_accommodation.html':
			  $('#nav2').unbind();
			  $('#nav2').css("background-position-y" , "-38px");		
		  break;
		case 'maroochydore_resort_features.html':
			  $('#nav3').unbind();
			  $('#nav3').css("background-position-y" , "-38px");		
		  break;
		case 'maroochydore_day_spa.html':
			 $('#nav4').unbind();
			 $('#nav4').css("background-position-y" , "-38px");		
		  break;
		case 'maroochydore_beachfront_location.html':
			 $('#nav5').unbind();
			 $('#nav5').css("background-position-y" , "-38px");				 
		  break;
		  case 'explore_maroochydore.html':
			 $('#nav6').unbind();
			 $('#nav6').css("background-position-y" , "-38px");				
		  break;
		case 'maroochydore_accommodation_rates.html':
			 $('#nav7').unbind();
			 $('#nav7').css("background-position-y" , "-38px");				 
		  break;
		case 'maroochydore_accommodation_faq.html':		
			 $('#nav8').unbind();			
			 $('#nav8').css("background-position-y" , "-38px");		
		  break;	
		  case 'resort_photo_gallery.html':		
			 $('#nav9').unbind();			
			 $('#nav9').css("background-position-y" , "-38px");		
		  break;		
		  case 'contact_chateau_royale.html':		
			 $('#nav10').unbind();			
			 $('#nav10').css("background-position-y" , "-38px");		
		  break;		
		}	
		
		
		$("#navig table tr td a").blend();
	//	$("#phnow").blend();
		
});

