Team:LCG-UNAM-Mexico/Notebook/2008-May

LCG-UNAM-Mexico:Notebook/Mayo 

//detecta navegador browserName = navigator.appName; browserVer = parseInt(navigator.appVersion); if (browserName == "Netscape" && browserVer >= 3) browserVer = "1"; else if (browserName == "Microsoft Internet Explorer" && browserVer == 4) browserVer = "1"; else browserVer = "2";

//precarga imagenes if (browserVer == 1) { a1 = new Image(200,40); a1.src = "http://igem.org/wiki/images/5/57/BOTON_BACK1.jpg"; a2 = new Image(200,40); a2.src = "http://igem.org/wiki/images/2/2a/BOTON_BACK2.jpg"; b1 = new Image(200,40); b1.src = "http://igem.org/wiki/images/c/c8/BOTON_Next1.jpg"; b2 = new Image(200,40); b2.src = "http://igem.org/wiki/images/1/1d/BOTON_Next2.jpg"; }

//función de cambio de imagenes function hiLite(imgDocID, imgObjName, comment) { if (browserVer == 1) { document.images[imgDocID].src = eval(imgObjName + ".src"); window.status = comment; return true; }}

   //--- Fecha --- var d=new Date; var monthname=new Array("January","February","March","April","May","June","July","August","September","October","November","December"); var TODAY = monthname[d.getMonth] + " " + d.getDate + ", " + d.getFullYear; //---  END Fecha   --- 

