//Si el Explorador es...

//Firefox 2
if (navigator.userAgent.toLowerCase().indexOf('firefox/2') > -1)
document.write('<style type="text/css"> \
.Licencia, .Psicofisico, .CursosFPT {-moz-opacity:0.8;} \
.Licencia:hover, .Psicofisico:hover, .CursosFPT:hover {-moz-opacity:1;} \
#CAMARAS img {margin-right:10px; -moz-opacity:0.7} \
#CAMARAS img:hover {-moz-opacity:1} \
a, span, img {display:-moz-inline-box;} \
.TB_overlayBG {-moz-opacity:0.20;} \
#TB_HideSelect {-moz-opacity:0;} \
</style>');

//Internet Explorer 6
if (navigator.userAgent.toLowerCase().indexOf('ie 6') > -1)
document.write('<style type="text/css"> \
#Izquierda .Editorial {background-image: url(../css/general/BgEditorial.gif)} \
#CalendarBubble {background-image: url(../css/general/CalendarBubble.gif)} \
#GALERIA .ItemsGaleria a {padding:5px} \
#lbCloseLink {margin: 5px 10px 5px 5px} \
a {color:expression(this.parentNode.currentStyle.color);} \
* html #TB_overlay {position:absolute; height:expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + "px");} \
* html #TB_window {position:absolute; margin-top:expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + "px");} \
* html #TB_load {position:absolute; margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + "px");} \
* html #TB_HideSelect {position:absolute; height:expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + "px");} \
#TB_iframeContent {margin-bottom:1px;} \
.TB_overlayBG {filter:alpha(opacity=50);} \
#TB_HideSelect {filter:alpha(opacity=0);} \
</style>');

//Internet Explorer 7
if (navigator.userAgent.toLowerCase().indexOf('ie 7') > -1)
document.write('<style type="text/css"> \
a {color:expression(this.parentNode.currentStyle.color);} \
#LNH .Alma p, #INSTITUCIONAL .Alma .ItemsGen p {line-height:normal;} \
</style>');

//Internet Explorer
if (navigator.userAgent.toLowerCase().indexOf('ie') > -1)
document.write('<style type="text/css"> \
.Licencia, .Psicofisico, .CursosFPT {filter:alpha(opacity=80);} \
.Licencia:hover, .Psicofisico:hover, .CursosFPT:hover {filter:alpha(opacity=100);} \
#CAMARAS img {margin-right:10px; filter:alpha(opacity=70);} \
#CAMARAS img:hover {filter:alpha(opacity=100);} \
#CAMARAS img {margin-left:-10px; opacity: 0.7; position: relative} \
#SUSCRIBIR cite {padding-top:10px} \
.TB_overlayBG {filter:alpha(opacity=20);} \
#TB_HideSelect {filter:alpha(opacity=0);} \
</style>');

//Safari
if (navigator.userAgent.toLowerCase().indexOf('safari') > -1)
document.write('<style type="text/css"> \
textarea {resize:none;} \
</style>');

//Google Chrome
if (navigator.userAgent.toLowerCase().indexOf('chrome') > -1)
document.write('<style type="text/css"> \
textarea {resize:none;} \
</style>');

//Opera
if (navigator.userAgent.toLowerCase().indexOf('opera') > -1)
document.write('<style type="text/css"> \
\
</style>');

