function MM11_openBrWindow(theURL,winName) {
  window.open(theURL,winName,'top=20,left=40,menubar=0,toolbar=0,location=0, directories=0,status=0,scrollbars=1,resizable=1,width=600,height=450');
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function openPictureWindow_Fever(imageName,imageWidth,imageHeight,alt,posLeft,posTop) {
	windowWidth = parseInt(imageWidth) + 50;
	windowHeight = parseInt(imageHeight) + 50;
	windowX = (screen.width - windowWidth) / 2;
	windowY = (screen.height - windowHeight) / 2;
	newWindow = window.open("","newWindow","width=" + windowWidth + ",height=" + windowHeight + ",left=" + windowX + ",top=" + windowY);
	newWindow.document.open();
	newWindow.document.writeln('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">');
	newWindow.document.writeln('<html><head>');
	newWindow.document.writeln('<title>' + alt + '</title>');
	newWindow.document.writeln('<style>html { width: 100%; height: 100%; } body { background: #FFFFFF; margin: 0px; width; 100%; height: 100%; }</style>');
	newWindow.document.writeln('</head><body>'); 
	newWindow.document.writeln('<table width="100%" style="height:100%" border=0><tr><td align="center">');
	newWindow.document.writeln('<img src='+imageName+' width='+imageWidth+' height='+imageHeight+' alt='+alt+' onClick="self.close()" />');
	newWindow.document.writeln('</td></tr></table>'); 
	newWindow.document.writeln('</body></html>');
	newWindow.document.close();
	newWindow.focus();
}

var cX = 0; var cY = 0;
function UpdateCursorPosition(e){ cX = e.pageX; cY = e.pageY;}
function UpdateCursorPositionDocAll(e){ cX = event.clientX; cY = event.clientY;}
if(document.all) { document.onmousemove = UpdateCursorPositionDocAll; }
else { document.onmousemove = UpdateCursorPosition; }
function AssignPosition(d) {
d.style.left = (cX+10) + "px";
d.style.top = (cY+10) + "px";
}

function HideContent(d) {
if(d.length < 1) { return; }
document.getElementById(d).style.display = "none";
}

function ShowContent(d) {
if(d.length < 1) { return; }
var dd = document.getElementById(d);
AssignPosition(dd);
dd.style.display = "block";
}

function ReverseContentDisplay(d) {
if(d.length < 1) { return; }
var dd = document.getElementById(d);
AssignPosition(dd);
if(dd.style.display == "none") { dd.style.display = "block"; }
else { dd.style.display = "none"; }
}

