<!--

if (document.getElementById){
document.write('<style type="text/css">\n')
document.write('.submenu{display: none;}\n')
document.write('.negative{display: none;}\n')
document.write('</style>\n')
}

function SwitchMenu(obj){
	if(document.getElementById){
	var el = document.getElementById(obj);
	var ar = document.getElementById("sidebar").getElementsByTagName("span"); 
		if(el.style.display != "block"){ 
			for (var i=0; i<ar.length; i++){
				if (ar[i].className=="submenu") 
				ar[i].style.display = "none";
			}
			el.style.display = "block";
		}else{
			el.style.display = "none";
		}
	}
	
	var dv = document.getElementById("sidebar").getElementsByTagName("div");
	var pe = document.getElementByClass("positive");
	var ne = document.getElementByClass("negative");
	if(dv.getElementByClass("positive").style.display == "block"){
		pe.style.display = "none";
		ne.style.display = "block";
	}
	else{
		pe.style.display = "block";
		ne.style.display = "none";
	}
}

/*function imagewindow(loc,) {
	window.open(loc +',picture,resizable=no,scrollbars=no,toolbar=no,location=no,directories=no,status=no,menubar=no,copyhistory=no');
	
	// Set height and width
	var NewWinHeight=tall;
	var NewWinWidth=wide;
	
	TheNewWin =window.open(loc,'NewImage','fullscreen=yes,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no');

	TheNewWin.resizeTo(NewWinHeight,NewWinWidth);

	imageWindow = window.open("", "imageViewer", "height="+ height +", width="+ width +", titlebar=0, toolbar=0, scrollbars=0, location=0, menubar=0, directories=0, status=0, resizeable=0");
	imageWindow.document.writeln(loc);
}*/
-->

