//<![CDATA[
function abrirventana(p_url,p_width,p_height){   
	if (window.showModalDialog) {
      var windowprops = "dialogWidth:"+ p_width +"px;dialogHeight:"+ p_height +"px;status:no;resizable:no;center:yes;scroll=no"
	  window.showModalDialog(p_url,"name",windowprops);
	}
	else {
	   var windowprops = "modal,width="+ parseInt(p_width +12) +",height="+ parseInt(p_height+12) +",,left=200,top=250,scrollbars=NO"
	   window.open(p_url,"nombre",windowprops);
	}
}
//]]>

	 try{
		HTMLAnchorElement.prototype.click = function() {
			var evt = this.ownerDocument.createEvent('MouseEvents');
			evt.initMouseEvent('click', true, true, this.ownerDocument.defaultView, 1, 0, 0, 0, 0, false, false, false, false, 0, null);
			this.dispatchEvent(evt);
		}
	 }catch(error){}

	 function abrirPopup(id){
	 try{
		setTimeout("document.getElementById('mb" + id + "').click()", 0);
	 }catch(error){
		 //  alert ('error='+error.message);
	 }
    }

function cargar(){
try{
   var box;
   window.addEvent('load', function(){
   box = new MultiBox('mb', {descClassName: 'multiBoxDesc',useOverlay:true});
	});
}catch(error)	{
 //alert(error.message)
 }
}