// JavaScript Document
//Date: 20100118
//Author: JD
//Description: JS file for settings classes for nav tabs automatically



	var loc = window.location;
	
	element = document.getElementById('pageHome');
	if (element == null)
	{
		element = document.getElementById('pageRooms');
	}
	
	
	if (String(loc).indexOf('-weddings') > -1)
		element.className = 'sectionTeam pageTertiary'; 
	if (String(loc).indexOf('-meetings') > -1)
		element.className = 'sectionRooms pageTertiary'; 
	if (String(loc).indexOf('meeting-events') > -1)
		element.className = 'sectionRooms pageTertiary'; 
	if (String(loc).indexOf('bedrooms') > -1)
		element.className = 'sectionServices pageTertiary'; 
	if (String(loc).indexOf('building') > -1)
		element.className = 'sectionBuilding pageTertiary'; 	
	if (String(loc).indexOf('team.htm') > -1)
		element.className = 'sectionAvailability pageTertiary';
	if (String(loc).indexOf('contact-us') > -1)
		element.className = 'sectionContact pageTertiary';		
	if (String(loc).indexOf('special') > -1)
		element.className = 'sectionSpecial pageTertiary';
	
