function showBigImage(image, width, height)
{
	popupWin = window.open('/scripts/image.php?image=/'+image+'&w='+width+'&h='+height,'','width='+width+', height='+height+', left=100, top=10, directories=no, location=no, menubar=no, resizable=yes, scrollbars=no, status=no, toolbar=no');
	popupWin.focus();
}

function hideRight()
{
	if (document.getElementById("b").style.display=="none") {
		document.getElementById("b").style.display="block";
		document.getElementById("main-text").style.marginRight="260px";
	}
	if((document.getElementById("a").offsetWidth + document.getElementById("b").offsetWidth + document.getElementById("main-text").offsetWidth) > document.body.offsetWidth) {
		//alert(document.body.offsetWidth);
		document.getElementById("b").style.display="none";
		document.getElementById("main-text").style.marginRight="0px";
//		document.getElementById("main-text").currentStyle.setProperty('margin-right', '0px','');
	}

}
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
startList = function()
	{
	if (document.all && document.getElementById)
		{
		navRoot = document.getElementById("menu2");
		for (i=0; i<navRoot.childNodes.length; i++)
			{
			node = navRoot.childNodes[i];
			if (node.nodeName=="LI")
				{ 
				node.onmouseover=function()
					{ this.className+=" over"; }
				node.onmouseout=function()
					{ this.className=this.className.replace(" over", ""); }
				}
			}
		}
		hideRight();
	}
window.onload = startList;
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
window.onresize = hideRight;
