function popupfullscreen(url) {
	var newwindow;
	var name="vvtwin";
	newwindow=window.open(url,name,'height='+screen.availHeight+',width='+screen.availWidth+',scrollbars=0,status=0,toolbar=0,menubar=0,resizable=0,directories=0,location=0');
	newwindow.moveTo(0,0);
	newwindow.focus();
}

function popupwin(url,width,height,scrollbars) {
	var newwindow;
	var name="vvtwin";
	newwindow=window.open(url,name,'height='+height+',width='+width+',scrollbars='+scrollbars+',status=0,toolbar=0,menubar=0,resizable=0');
	if (window.focus) {newwindow.focus()}
}

function showhide(layer_ref, show){
	var state = '';
	if(show == true){
		state = 'block';
	}else{
		state = 'none';
	}
	if(document.all){ //IS IE 4 or 5 (or 6 beta)
		eval("document.all." +layer_ref+ ".style.display = state");
	}
	if (document.layers) { //IS NETSCAPE 4 or below
		document.layers[layer_ref].display = state;
	}
	if (document.getElementById &&!document.all) {
		hza = document.getElementById(layer_ref);
		hza.style.display = state;
	}
}