﻿

function aumenta(stilo)
{  
    //alert($(".CorpoMateria").css('fontSize'));
    
    switch($(stilo).css('fontSize'))
    {
        case "10px":
            $(stilo).css({fontSize:"13px"});
        break;
        case "13px":
             $(stilo).css({fontSize:"15px"});
        break;
        case "15px":
             $(stilo).css({fontSize:"18px"});
        break
    }
}
function menu(elId)
{
			el = document.getElementById(elId);
			if(el.style.display == "none") 
			    el.style.display = "block";
			else 
			    el.style.display = "none";

}

function diminue(stilo)
{  
    switch($(stilo).css('fontSize'))
    {
        case "13px":
            $(stilo).css({fontSize:"10px"});
        break;
        case "15px":
             $(stilo).css({fontSize:"13px"});
        break;
        case "18px":
             $(stilo).css({fontSize:"15px"});
        break
    }
}



function CallPrint(strid)

{
    //.en
    document.getElementById('ctl00_Principal_butFont').style.display = "none";
  var prtContent = document.getElementById(strid);

  var WinPrint = window.open('','','letf=120,top=30,width=1600,height=1200,toolbar=0,scrollbars=0,status=0');

  WinPrint.document.write(prtContent.innerHTML);

  WinPrint.document.close();

  WinPrint.focus();

  WinPrint.print();
document.getElementById('ctl00_Principal_butFont').style.display = "block";
 // WinPrint.close();

  //prtContent.innerHTML=strid;

} 


/*switch(document.getElementById("ctl00_Principal_FVCapa_corpo").className)
    {
        case "CorpoMateria-1":
            document.getElementById("ctl00_Principal_FVCapa_corpo").className = "CorpoMateria";
        break;
        case "CorpoMateria":
            document.getElementById("ctl00_Principal_FVCapa_corpo").className = "CorpoMateria1";
        break;
        case "CorpoMateria1":
            document.getElementById("ctl00_Principal_FVCapa_corpo").className = "CorpoMateria2";
        break
    }*/
    