startList = function() {

	//code only for IE
	if(!document.body.currentStyle) return;
	var subs = document.getElementsByName('submenu');
	for(var i=0; i<subs.length; i++) {
		var li = subs[i].parentNode;
		if(li && li.lastChild.style) {
			li.onmouseover = function() {
				this.lastChild.style.visibility = 'visible';
			}
			li.onmouseout = function() {
				this.lastChild.style.visibility = 'hidden';
			}
		}
	}
}
window.onload=startList;

function checkAll() {
 for (var j = 1; j <= 100; j++) {
 box = eval("document.myform.s" + j);
  if (box!=undefined) {
   if (box.checked == false) box.checked = true;
  }
 }
}

function uncheckAll() {
 for (var j = 1; j <= 100; j++) {
 box = eval("document.myform.s" + j); 
  if (box!=undefined) {
   if (box.checked == true) box.checked = false;
   }
 }
}

function switchAll2() {
 for (var j = 1; j <= 100; j++) {
 box = eval("document.myform.s" + j); 
  if (box!=undefined) {
   box.checked = !box.checked;
   }
 }
}

