function conf(txt){
	return confirm(txt);
}


// Global

n4=(document.layers);
n6=(document.getElementById&&!document.all);
ie=(document.all);

function GetEl(el) {

	if(n4){
		obj = document.el; // NN4
	} else {
		if(n6){
			obj = document.getElementById(el);
		} else {
			if(ie){
				obj = document.all[el]; // IE4
			}
		}
	}

	return obj;
}

function zoom(url,ww,hh,id){
	var wX=10;
	var wY=10;
	if(!ie && !n6){
		ww+=15;
		hh+=15;
	}
	if(ie || n6){
		wX=(screen.availWidth-(ww+5))*.5;
		wY=(screen.availHeight-(hh+20))*.5;
	}
	popup=window.open(url,id,"scrollbars=0,resizable=0,width="+ww+",height="+hh+",left="+wX+",top="+wY);
}

function pop(url,ww,hh,id){
	var wX=10;
	var wY=10;
	if(!ie){
		ww+=15;
		hh+=15;
	}
	if(ie || n6){
		wX=(screen.availWidth-(ww+5))*.5;
		wY=(screen.availHeight-(hh+20))*.5;
	}
	popup=window.open(url,id,"scrollbars=1,resizable=0,width="+ww+",height="+hh+",left="+wX+",top="+wY);
}