// JavaScript Document
/*
function loadjscssfile(filename, filetype){

  var fileref=document.createElement("link")
  fileref.setAttribute("rel", "stylesheet")
  fileref.setAttribute("type", "text/css")
  fileref.setAttribute("href", filename)

if (typeof fileref!="undefined")
  document.getElementsByTagName("head")[0].appendChild(fileref);
  
}
*/


if (/MSIE (\d+\.\d+);/.test(navigator.userAgent))
{ //test for MSIE x.x;
	 var ieversion=new Number(RegExp.$1); // capture x.x portion and store as a number

	 if (ieversion>=8) {
		//document.write(navigator.userAgent);	
		document.write('<link rel="stylesheet" type="text/css" href="estilos/navegador.css">');
 	}
/*	 else if (ieversion>=6)
  		//document.write("You're using IE6.x");
		document.write('<link rel="stylesheet" type="text/css" href="estilos/navegador.css">');
	//loadjscssfile("estilos/navegador.css", "css") ////dynamically load and add this .css file
*/
}
else 
{
	document.write('<link rel="stylesheet" type="text/css" href="estilos/navegador.css">');
}
//document.write('<link rel="stylesheet" type="text/css" href="estilos/navegador.css">');
