<!--
function OpenWin(url, winname) {
  window.open(url, winname, "toolbar=0,location=0,directories=0,menuBar=0,scrollbars=0,resizable=1,width=200,height=100");
}

function CheckAll(formname) {
	formobj = eval('document.' + formname);
	for (i=0; i < formobj.length; i++) {
		if (formobj.elements[i].name.substr(0,8) == 'checked_') formobj.elements[i].checked = formobj.checkall.checked;
	}
}


function ConfirmDelete (form) {
	var godel = window.confirm("Are you sure you want to delete seleted items?");
	if (godel) {
		aForm = eval("document." + form);
		aForm.suredelete.value = 1;
		aForm.submit();
	}
}


function popup( url, winname, width, height ) {
	if (winname == "") winname = "popup";
	if (width == "") width = "400";
	if (height == "") height = "300";
	var top = (screen.height) / 2 - (height / 2);
	var left = (screen.width) / 2 - (width / 2);
	var win_arg = "scrollbars=yes,status=yes,resizable=yes,location=no,toolbar=no,width=" + width + ",height=" + height + ",top=" + top + ",left=" + left;
	window.open(url,winname,win_arg);
}



function imgpopup( url, winname, width, height ) {
  if (width == "")  width = 450;
  if (height == "")  height = 500;
  if (winname == "")  winname = "popup";
  var top = screen.height / 2 - height;
  var left = screen.width / 2 - width;
  var win_arg = "scrollbars=no,status=no,location=no,toolbar=no,resizable=yes,width=" + width + ",height=" + height + ",top=" + top + ",left=" + left;
  window.open(url,winname,win_arg);
}





isN4 = document.layers;

function HideLayer(divname){
	if (isN4) return;
	whichDog = eval("document.all."+divname);
	whichDog.style.visibility="hidden";
}

function HideAllLayers() {
	if (isN4) return;
	document.all.div1.style.display = "none";
	document.all.div2.style.display = "none";
	document.all.div3.style.display = "none";
	document.all.div4.style.display = "none";
	document.all.div5.style.display = "none";
	document.all.div6.style.display = "none";
	document.all.cell1.style.background = '#5C86B4';
	document.all.cell2.style.background = '#5C86B4';
	document.all.cell3.style.background = '#5C86B4';
	document.all.cell4.style.background = '#5C86B4';
	document.all.cell5.style.background = '#5C86B4';
	document.all.cell6.style.background = '#5C86B4';
}

function ShowLayer(divname) {
	if (isN4) return;
	HideAllLayers(); 
	if (divname == 'div1') document.all.cell1.style.background = '#4B6D92';
	if (divname == 'div2') document.all.cell2.style.background = '#4B6D92';
	if (divname == 'div3') document.all.cell3.style.background = '#4B6D92';
	if (divname == 'div4') document.all.cell4.style.background = '#4B6D92';
	if (divname == 'div5') document.all.cell5.style.background = '#4B6D92';
	if (divname == 'div6') document.all.cell6.style.background = '#4B6D92';
	whichDog = eval("document.all."+divname);
	whichDog.style.display="block";
}
 -->