function newW1() {
	w1 = window.open("","wwww","toolbar=0, status=1, width = 440, height = 400, resizable=1, scrollbars=1");
	w1.focus();
}

function cl() { 
	for(var i=1; i<=4; i++) {
		var oObject = document.getElementById('sub'+i);
		if (oObject) oObject.style.visibility='hidden';
	}
}
function show(num) {
	cl();
  	var oObject = document.getElementById('sub'+num);
  	if (oObject) oObject.style.visibility='visible';
} 

/*
function cl() { 
	for(var i=1; i<=4; i++) {
		eval('sub'+i+'.style.visibility="hidden"');
	}
}
function show(num) {
	cl();
  	eval('sub'+num+'.style.visibility="visible"');
} 
*/

function Hide(ttt)
{
	var oObject = document.getElementById(ttt);
	if (oObject) {
		var on = oObject.style.display;
		if(on == '') {
			oObject.style.display = 'none';
		} else {
			oObject.style.display = '';
		}
	}
}


