//determinar el tamaño del font según la resolución de pantalla
var sWidth = screen.width;
//calcula el tamaño, lo guarda en la variable global (fSize)
fSize = parseInt((sWidth/100))+2;
fFamily='Arial'; //Global font type setting
fFamily2='Verdana'; //Global font type setting
if (fSize<7) {fSize=7;} //No demasiado pequeño!
fSize=8;
//Generamos las clases CSS para el proyecto
document.write('<style type="text/css">');
document.write('.menuFont {font-family:'+fFamily+'; color:#FFFFFF; font-size:'+(fSize+1)+'px;TEXT-DECORATION: none;}');
document.write('.menuFont2 {font-family:'+fFamily+'; color:#FFFFFF; font-size:'+(fSize+3)+'px;TEXT-DECORATION: none;}');
document.write('.menuFont:hover {font-family:'+fFamily+'; color:#FFDF7D; font-size:'+(fSize+1)+'px;TEXT-DECORATION: none;}');
document.write('.menu2Font {font-family:'+fFamily+'; color:#FFFFFF; font-size:'+(fSize+1)+'px;TEXT-DECORATION: none;}');
document.write('.menu2Font:hover {font-family:'+fFamily+'; color:#7ba428; font-size:'+(fSize+1)+'px;TEXT-DECORATION: none;}');

document.write('.bodyTitle {font-family:'+fFamily+'; color:#666666; font-size:'+(fSize+2)+'px;TEXT-DECORATION: none;}');
document.write('.bodyTitle:hover {font-family:'+fFamily+'; color:#ffffff; font-size:'+(fSize+2)+'px;TEXT-DECORATION: none;}');
document.write('.bodySubtitle {font-family:'+fFamily+';  color:#f8d263; font-size:'+(fSize+1)+'px;}'); //color:#666666;
document.write('.bodyFont {font-family:'+fFamily+'; color:#666666; font-size:'+(fSize+1)+'px;}'); //color:#666666; 
document.write('.bodyFont2 {font-family:'+fFamily+'; color:#FFFFFF; font-size:'+(fSize+1)+'px;}'); //color:#666666; 
document.write('.bodyFont5 {font-family:'+fFamily+'; color:#666666; font-size:'+(fSize)+'px;}'); //color:#666666; 


document.write('.bodyFont4 {font-family:'+fFamily2+'; color:#666666; font-size:'+(fSize+parseInt(2))+'px;}'); //color:#666666; 
document.write('.bodyFont4:link {font-family:'+fFamily2+'; color:#666666; font-size:'+(fSize+parseInt(2))+'px;TEXT-DECORATION: underline;}'); //color:#666666; 
document.write('.bodyFont4:visited {font-family:'+fFamily2+'; color:#666666; font-size:'+(fSize+parseInt(2))+'px;TEXT-DECORATION: underline;}'); //color:#666666; 
document.write('.bodyFont4:hover {font-family:'+fFamily2+'; color:#990100; font-size:'+(fSize+parseInt(2))+'px;TEXT-DECORATION: none;}'); //color:#666666; 



document.write('.bodyFont:link {font-family:'+fFamily+'; color:#003366; font-size:'+(fSize+1)+'px;TEXT-DECORATION: none;}'); //color:#666666; 
document.write('.bodyFont:hover {font-family:'+fFamily+'; color:#003366; font-size:'+(fSize+1)+'px;TEXT-DECORATION: underline;}'); //color:#666666; 
document.write('.bodyFontLL1 {font-family:'+fFamily+'; color:#666666; font-size:'+(fSize+1)+'px;}'); //color:#666666; 
document.write('.bodyFontLL1:link {font-family:'+fFamily+'; color:#740000; font-size:'+(fSize+1)+'px;TEXT-DECORATION: underline;}'); //color:#666666; 
document.write('.bodyFontLL1:visited {font-family:'+fFamily+'; color:#740000; font-size:'+(fSize+1)+'px;TEXT-DECORATION: underline;}'); //color:#666666; 
document.write('.bodyFontLL1:hover {font-family:'+fFamily+'; color:#666666; font-size:'+(fSize+1)+'px;TEXT-DECORATION: none;}'); //color:#666666; 

document.write('.linkInternos {font-family:'+fFamily+'; color:#666666; font-size:'+(fSize)+'px;TEXT-DECORATION: none;}'); //color:#666666; 
document.write('.linkInternos:link {font-family:'+fFamily+'; color:#666666; font-size:'+(fSize)+'px;TEXT-DECORATION: none;}'); //color:#666666; 
document.write('.linkInternos:hover {font-family:'+fFamily+'; color:#E1AC0B; font-size:'+(fSize)+'px;}'); //color:#666666; 

document.write('.linkInternosC {font-family:'+fFamily+'; color:#888888; font-size:'+(fSize)+'px;TEXT-DECORATION: none;}'); //color:#666666; 
document.write('.linkInternosC:link {font-family:'+fFamily+'; color:#888888; font-size:'+(fSize)+'px;TEXT-DECORATION: none;}'); //color:#666666; 
document.write('.linkInternosC:hover {font-family:'+fFamily+'; color:#E1AC0B; font-size:'+(fSize)+'px;}'); //color:#666666; 


document.write('.linkInternosW {font-family:'+fFamily+'; color:#333333; font-size:'+(fSize-1)+'px;TEXT-DECORATION: none;}'); //color:#666666; 
document.write('.linkInternosW:link {font-family:'+fFamily+'; color:#333333; font-size:'+(fSize-1)+'px;TEXT-DECORATION: none;}'); //color:#666666; 
document.write('.linkInternosW:hover {font-family:'+fFamily+'; color:#FFFFFF; font-size:'+(fSize-1)+'px;}'); //color:#666666; 

document.write('.topMenu {font-family:'+fFamily+'; color:#cc3366; font-size:'+(fSize+2)+'px;TEXT-DECORATION: none;}'); //color:#666666; 
document.write('.topMenu:link {font-family:'+fFamily+'; color:#cc3366; font-size:'+(fSize+2)+'px;TEXT-DECORATION: none;}'); //color:#666666; 
document.write('.topMenu:hover {font-family:'+fFamily+'; color:#999999; font-size:'+(fSize+2)+'px;}'); //color:#666666; 

document.write('.topmenuL {font-family:'+fFamily+'; color:#ffffff; font-size:13px;TEXT-DECORATION: none;}'); //color:#666666; 
document.write('.topmenuL:link {font-family:'+fFamily+'; color:#ffffff; font-size:13px;TEXT-DECORATION: none;}'); //color:#666666; 
document.write('.topmenuL:hover {font-family:'+fFamily+'; color:#999999; font-size:13px;}'); //color:#666666; 

document.write('.topMenuI {font-family:'+fFamily+'; color:#cc3366; font-size:'+(fSize+1)+'px;TEXT-DECORATION: none;}'); //color:#666666; 
document.write('.topMenuI:link {font-family:'+fFamily+'; color:#cc3366; font-size:'+(fSize+1)+'px;TEXT-DECORATION: none;}'); //color:#666666; 
document.write('.topMenuI:hover {font-family:'+fFamily+'; color:#999999; font-size:'+(fSize+1)+'px;}'); //color:#666666; 


document.write('.linkInternosG {font-family:'+fFamily+'; color:#ffffff; font-size:'+(fSize)+'px;TEXT-DECORATION: none;}'); //color:#666666; 
document.write('.linkInternosG:link {font-family:'+fFamily+'; color:#ffffff; font-size:'+(fSize)+'px;TEXT-DECORATION: none;}'); //color:#666666; 
document.write('.linkInternosG:hover {font-family:'+fFamily+'; color:#999999; font-size:'+(fSize)+'px;}'); //color:#666666; 





document.write('.titleInternos {font-family:'+fFamily+'; color:#666666; font-size:'+(fSize+1)+'px;TEXT-DECORATION: none;}'); //color:#666666; 
document.write('.titleInternos:link {font-family:'+fFamily+'; color:#666666; font-size:'+(fSize+1)+'px;TEXT-DECORATION: none;}'); //color:#666666; 
document.write('.titleInternos:hover {font-family:'+fFamily+'; color:#E1AC0B; font-size:'+(fSize+1)+'px;}'); //color:#666666; 

document.write('.titleInternosB {font-family:'+fFamily+'; color:#333333; font-size:'+(fSize+1)+'px;TEXT-DECORATION: none;}'); //color:#666666; 
document.write('.titleInternosB:link {font-family:'+fFamily+'; color:#333333; font-size:'+(fSize+1)+'px;TEXT-DECORATION: none;}'); //color:#666666; 






document.write('.menuInternos {font-family:'+fFamily+'; color:#ffffff; font-size:'+(fSize+1)+'px;TEXT-DECORATION: none;}'); //color:#666666; 
document.write('.menuInternos:link {font-family:'+fFamily+'; color:#ffffff; font-size:'+(fSize+1)+'px;TEXT-DECORATION: none;}'); //color:#666666; 
document.write('.menuInternos:hover {font-family:'+fFamily+'; color:#996600; font-size:'+(fSize+1)+'px;}'); //color:#666666; 

document.write('.destacado {font-family:'+fFamily+'; color:#ffffff; font-size:'+(fSize+6)+'px;}'); //color:#666666; 

/* default para celdas de tablas */
document.write('TD {font-family:'+fFamily+'; color:#666666; font-size:'+(fSize+1)+'px;TEXT-DECORATION: none;}');

document.write('.footerFont {font-family:'+fFamily+'; color:#999999; font-size:'+(fSize-1)+'px;TEXT-DECORATION: none;}');
document.write('.footerFont:hover {font-family:'+fFamily+'; color:#999999; font-size:'+(fSize-1)+'px;TEXT-DECORATION: none;}');
//document.write('.footerFont2 {font-family:'+fFamily+'; color:#002B7F; font-size:'+fSize+'px;TEXT-DECORATION: none;}');
//document.write('.footerFont2:hover {font-family:'+fFamily+'; color:orange; font-size:'+fSize+'px;TEXT-DECORATION: none;}');
//document.write('.FooterCombo {font-family:'+fFamily+'; color:#ffffff; font-size:'+fSize+'px;TEXT-DECORATION: none;background-color:#002B7F}; width:100px');
document.write('.monthyear {font-family:'+fFamily+'; color:#ffffff; font-size:'+(fSize+2)+'px;}');
document.write('button {font-family:'+fFamily+'; font-size:'+fSize+'px;TEXT-DECORATION: none;color:#666666;}');
document.write('input {font-family:'+fFamily+'; font-size:'+fSize+'px;TEXT-DECORATION: none;color:#666666; }');
document.write('select {font-family:'+fFamily+'; font-size:'+fSize+'px;TEXT-DECORATION: none;color:#666666; border-style: solid; }');
document.write('textarea {font-family:'+fFamily+'; font-size:'+fSize+'px;TEXT-DECORATION: none;color:#666666; border-style: solid; }');
document.write('</style>');


