// JavaScript Document
	function setNavColor()
	{
	var currentPage=window.location.pathname;	
//	alert(currentPage);
//	if((currentPage == '/firstStreet/index.asp')||(currentPage == '/firstStreet/index2.asp'))
//		{
//			alert("Found the page!!!");
//			var elem = document.getElementById('homePage');
//			elem.style.color = "#000000";
//			alert("color: " + elem.style.color);
//		} 
	switch(currentPage.toLowerCase())
	{
		case '/firststreet/':
			var elem = document.getElementById('homePage');
			elem.style.color = "#000000";
			break;
		case '/firststreet/index.asp':
			var elem = document.getElementById('homePage');
			elem.style.color = "#000000";
			break;
		case '/firststreet/wines.asp':
			var elem = document.getElementById('winesPage');
			elem.style.color = "#000000";
			break;
		case '/firststreet/events.asp':
			var elem = document.getElementById('eventsPage');
			elem.style.color = "#000000";
			break;
		case '/firststreet/about.asp':
			var elem = document.getElementById('aboutPage');
			elem.style.color = "#000000";
			break;
		case '/firststreet/contact.asp':
			var elem = document.getElementById('contactPage');
			elem.style.color = "#000000";
			break;
	
	}
	}
	
	function reSize()
{
//	try{	
//	var oFrame	=	document.getElementById('whtsNew');
//	var oBody	=	whtsNew.document.body;
//		
//		alert(oBody.scrollHeight + "\n" + oBody.clientHeight);
//	oFrame.height = oBody.scrollHeight + (oBody.offsetHeight - oBody.clientHeight) + 16;
////	oFrame.style.height = oBody.scrollHeight + (oBody.offsetHeight - oBody.clientHeight) + 16;
////	oFrame.style.width = oBody.scrollWidth + (oBody.offsetWidth - oBody.clientWidth);
//	}
//	//An error is raised if the IFrame domain != its container's domain
//	catch(e)
//	{
//	//	oFrame.height = 600;
//	alert(	'Error: ' + e.number + '; ' + e.description + "\nWe must be in FireFox!!!");
//	}
}

