function Showmenu() {
	Hidemenu();
	var i,TopPosition,args = Showmenu.arguments;
	for (i=0; i<(args.length); i+=1) {
		if (document.layers) { // NN 4.xx
			eval('var CurrentLayer = document.layers[\'' + args[i] + '\'];');
			if (CurrentLayer) CurrentLayer.visibility = 'show';
			document.layers['HideLayer'].visibility = 'show';
		}
		else { // IE 4+, NN 6.xx, Opera 6.xx
			eval('var CurrentLayer = document.getElementById(\'' + args[i] + '\');');
			if (CurrentLayer) CurrentLayer.style.visibility = 'visible';
			CurrentLayer = document.getElementById('HideLayer');
			CurrentLayer.style.visibility = 'visible';
		}
	}
}

function Hidemenu() {
	var LayersCollection,i,CurrentLayerID,Currentlayer;
	if (document.layers) {
		LayersCollection = document.layers;
		for (i=0; i<LayersCollection.length; i+=1) {
			CurrentLayerID  = LayersCollection[i].id;
			if (CurrentLayerID.indexOf('Layer') >= 0)
				document.layers[CurrentLayerID].visibility = 'hide';
		}
	}
	else {
		LayersCollection = document.getElementsByTagName("DIV");
		for (i=0; i<LayersCollection.length; i+=1) {
			CurrentLayerID = LayersCollection[i].id;
			if (CurrentLayerID.indexOf('Layer') >= 0) {
				eval('Currentlayer = document.getElementById(\'' + CurrentLayerID + '\');');
				Currentlayer.style.visibility = 'hidden';
			}
		}
	}
}
/*
function ShowPhoto(path,id) {
//		Wid = window.open("/photo2.phtml?path=path", 'ViewPhoto', "copyhistory=no,directories=no,menubar=no,location=no,resizable=no,scrollbars=no,width=200,height=200");
		Wid = window.open("\"/photo2.phtml?path="+path", "ViewPhoto", "copyhistory=no,directories=no,menubar=no,location=no,resizable=no,scrollbars=no,width=200,height=200");
		Wid.focus();
	}*/
	function ShowPhoto(path,id) {
		//Wid = window.open("/photo2.phtml?path=1", "ViewPhoto", "copyhistory=no,directories=no,menubar=no,location=no,resizable=no,scrollbars=no,width=200,height=200");
		pathstr='/about.php?path='+path+'&id='+id;
		Wid = window.open(pathstr, "ViewPhoto", "copyhistory=no,directories=no,menubar=no,location=no,resizable=yes,scrollbars=yes,width=450,height=300");
		Wid.focus();
	}