function ShowConfirm(msg){
	errormsg = confirm(msg);
	if(errormsg){
		return true;
	}else{
		return false;
	}
}
function openPage(vars){
	if (document.getElementById) {
		document.getElementById('page').src='page.php?' + vars;
	}
}
function AlertError(errormsg){
	if(errormsg){
		alert(errormsg);
	}
}