if(location.href==location.protocol+'//'+location.host+'/home')
{
	window.onload = hideAll;
}

function hideAll()
{
	hideDiv('navigation','hide_nav', '- Hide', '+ Show');
	hideDiv('pagecontent','hide_nav', '- Hide', '+ Show');
}

function hideDiv(divid, hideid, hidetext, showtext)
{
	var objDivToHide = document.getElementById(divid);
	var objHideText = document.getElementById(hideid);
	if (objDivToHide.style.display == 'none')
	{
		objDivToHide.style.display = 'block';
		objHideText.innerHTML = hidetext;
	}
	else
	{
		objDivToHide.style.display = 'none';
		objHideText.innerHTML = showtext;
	}

}

function openWin(picPath, width, height)
{
	window.open(picPath,"_blank", "height="+height+", width="+width+",toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0");
	return false;
}



