var test = false;

image= new Image();
image.src = "c1.gif";
imageon = new Image();
imageon.src = "c2.gif";

function show(lname) {
	if (test) {
		if (is.ie) {
			eval(lname).style.visibility = "visible";
		}
		if (is.ns6)	{
			document.getElementById(lname).style.visibility = "visible";
		}
		if (is.ns) {
			document.eval(lname).visibility = "show";
		}
	}
}

function hide(lname) {
	if (test) {
		if (is.ie) {
			eval(lname).style.visibility = "hidden";
		}
		if (is.ns6)	{
			document.getElementById(lname).style.visibility = "hidden";
		}
		if (is.ns) {
			document.eval(lname).visibility = "hide";
		}
	}
}

function hideAll(lname) {
	if (lname!="menuF1") {
		hide("menuF1");
	}
	if (lname!="menuF2") {
		hide("menuF2");
	}
}

function on1(name)   {
	if ((is.ns6)||(is.ie)) {	
		document[name].src = eval("imageon.src");
	}
	if (is.ns) {	
		document.menu.document[name].src = eval("imageon.src");
	}
}

function off1(name)  {
	if ((is.ns6)||(is.ie)) {	
		document[name].src = eval("image.src");
	}
	if (is.ns) {	
		document.menu.document[name].src = eval("image.src");
	}
}

function on(name)  {
	if (test) on1(name);
}
function off(name)  {
	if (test) off1(name);
}

function open2(url) {
	var width = 400;
	var height = 370;
	var new2 = window.open(url, "new2", "width=" + width + ",height=" +height + ",top=0,left=200,resizable=no,menubar=no");
	new2.focus();
}

function open1(url) {
	var width = 400;
	var height = 410;
	var new2 = window.open(url, "new2", "width=" + width + ",height=" +height + ",top=0,left=200,resizable=no,menubar=no");
	new2.focus();
}

function open3(url) {
	var width = 400;
	var height = 430;
	var new2 = window.open(url, "new2", "width=" + width + ",height=" +height + ",top=0,left=200,resizable=no,menubar=no");
	new2.focus();
}
