var NS4 = ((navigator.appName=="Netscape")&&(parseInt(navigator.appVersion)<5))?true : false;
var IE4 = (document.all && !document.getElementById) ? true : false;
var IE = (document.all) ? true : false;
var NS6 = (!document.all && document.getElementById) ? true : false;
var mac = (navigator.userAgent.indexOf('Mac') != -1)?true:false;
var path = "/ibcomv3/js/jsbase";

if(IE){inc1=inc2="IE";}else if (NS6){inc1="NS6";inc2="IE";}else if (NS4){inc1="NS4";inc2="NS";}
document.write("<script language='javascript' src='"+path+inc1+".js'></script>");

/* pasar estas funciones a la libreria comun del proyecto */
function getRealLeft(objeto)
{	xPos = objeto.offsetLeft; tempEl = objeto.offsetParent; while (tempEl != null) { xPos += tempEl.offsetLeft; tempEl = tempEl.offsetParent; }
    return xPos;
}
function getRealTop(objeto)
{	yPos = objeto.offsetTop; tempEl = objeto.offsetParent; while (tempEl != null) { yPos += tempEl.offsetTop; tempEl = tempEl.offsetParent; }
    return yPos;
}

