
function swapNav(imageID) 
{
	var imageId = document.getElementById(imageID);	
	var imageSrc = imageId.src;
	
	var newImage;
	
	if (imageSrc.indexOf("_on") > -1)
	{
		newImage = imageSrc.substring(0,imageSrc.indexOf("_on.png")) + ".png";
	}
	else 
	{
		newImage = imageSrc.substring(0,imageSrc.indexOf(".png")) + "_on.png";
	}
	imageId.src = newImage;
}

function expand(whichLayer, whichOtherLayer) {
	if (document.getElementById) {
		// nice browsers
		var style2 = document.getElementById(whichLayer).style;
		var style3 = document.getElementById(whichOtherLayer).style;
		style2.display = style2.display? "":"block";
		style3.display = style3.display? "":"none";
	}
	else if (document.all) {
		// ie
		var style2 = document.all[whichLayer].style;
		var style3 = document.all[whichOtherLayer].style;
		style2.display = style2.display? "":"block";
		style3.display = style3.display? "":"none";
	}
	else if (document.layers) {
		// good ol netscape4
		var style2 = document.layers[whichLayer].style;
		var style3 = document.layers[whichOtherLayer].style;
		style2.display = style2.display? "":"block";
		style3.display = style3.display? "":"none";
	}
}


/*contact div specific functions here */

function propertiesSwap()
{
	Effect.toggle('properties_content', 'blind', {duration:1}); expand('properties_close','properties_expand');
}