/* CSS Document */
var curmenu = 0;

function hide() {
	if(document.getElementById(curmenu)) {
		document.getElementById(curmenu).style.display = 'none';
		document.getElementById(curmenu).style.visibility = 'hidden';
	}
}


function hidecurrent() {
	if(document.getElementById(curmenu)) {
		document.getElementById(curmenu).style.display = 'none';
		document.getElementById(curmenu).style.visibility = 'hidden';
	}
}

function show(id) {
	hidecurrent();

	if(document.getElementById(id)) {
		document.getElementById(id).style.display = 'block';
		document.getElementById(id).style.visibility = 'visible';
	}

	curmenu = id;
}


/////////////////


function showimage(src, w, h) {
	msgWindow=window.open('', '', 'width='+w+', height='+h);
   msgWindow.document.writeln('<html><body style="margin:0;padding:0">');
	msgWindow.document.writeln('<a href="javascript:window.close();"><img border="0" src="' + src + '"></a>');
	msgWindow.document.writeln('</body></html>');
   msgWindow.document.close();
}


