/*
	Funciones para hacer los dialogos confirm y alert
	con formato HTML.
	autor: maldito.c
*/
function showconfirm(str){
	/*var obj=new Object();
	obj.result=false;
	obj.message=str;
	var LeftPosition = (screen.width) ? (screen.width-300)/2 : 0;
	var TopPosition = (screen.height) ? (screen.height-150)/2 : 0;
    window.showModalDialog("../dialog/confirm.html", obj, "dialogHeight:150px; dialogWidth:300px; dialogLeft:"+LeftPosition+"px; dialogTop:"+TopPosition+"px; scroll:0; help:0; status:0; resizable:0; unadorned:0; center:1;"); 
	return obj.result;*/
	return confirm(str);
}

function showalert(str){
	/*var obj=new Object();
	obj.result=false;
	obj.message=str;
	var LeftPosition = (screen.width) ? (screen.width-300)/2 : 0;
	var TopPosition = (screen.height) ? (screen.height-150)/2 : 0;
    window.showModalDialog("../dialog/alert.html", obj, "dialogHeight:150px; dialogWidth:300px; dialogLeft:"+LeftPosition+"px; dialogTop:"+TopPosition+"px; scroll:0; help:0; status:0; resizable:0; unadorned:0; center:1;"); 
	return false;*/
	alert(str);
}
