/* Show/Hide blocks */
function showHideId(nID) {
	var elt = document.getElementById(nID);
	elt.style.display = (elt.style.display != 'none' ? 'none' : '');
}

function showHideRange(nStart, nEnd) {
	for (i=nStart;i<=nEnd;i++)
		showHideId("x"+i+"x");
}

/* Display a picture */
function showpic(szImg,iWidth,iHeight) {
	//showModelessDialog
  wndWindow = window.open(szImg,'','toolbar=0,menubar=0,status=0,location=0,scrollbars=0,links=0,resizable=yes,width='+(iWidth+15)+',height='+(iHeight+15));
  wndWindow.focus();
};


