function the_size(risultati)
{
          
	  
        var myWidth = 0, myHeight = 0;
        if( typeof( window.innerWidth ) == 'number' ) {
          //Non-IE
          myWidth = window.innerWidth;
          myHeight = window.innerHeight;
        } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) )
	{
          //IE 6+ in 'standards compliant mode'
           myWidth = document.documentElement.clientWidth;
           myHeight = document.documentElement.clientHeight;
        } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
           //IE 4 compatible
           myWidth = document.body.clientWidth;
           myHeight = document.body.clientHeight;
        }
	//alert(myHeight);  
	document.getElementById("risultati").style.height=(myHeight-190)+"px"; 
	
	//document.getElementById("supportingText").style.height=(myHeight-231)+"px";
}


function the_size1(risultati)
{
          
	  
        var myWidth = 0, myHeight = 0;
        if( typeof( window.innerWidth ) == 'number' ) {
          //Non-IE
          myWidth = window.innerWidth;
          myHeight = window.innerHeight;
        } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) )
	{
          //IE 6+ in 'standards compliant mode'
           myWidth = document.documentElement.clientWidth;
           myHeight = document.documentElement.clientHeight;
        } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
           //IE 4 compatible
           myWidth = document.body.clientWidth;
           myHeight = document.body.clientHeight;
        }
	//alert(myHeight);  
	//document.getElementById("risultati").style.height=(myHeight-231)+"px"; 
	
	document.getElementById("supportingText").style.height=(myHeight-164)+"px";
}



function the_size2(risultati)
{
         // RISULTATI = 3 -- scheda tecnica
	 // RISULTATI = 4 -- Pagina centrale index sito
	 // RISULTATI = 5 -- PAGINA CARRELLO
	 // RISULTATI = 6 -- PAGINA riepilogo ordine
	 // RISULTATI = 7 -- PAGINA contenuto istituzionale
	 // RISULTATI = 8 -- PAGINA guasti e garanzie
	 
	  
        var myWidth = 0, myHeight = 0;
        if( typeof( window.innerWidth ) == 'number' ) {
          //Non-IE
          myWidth = window.innerWidth;
          myHeight = window.innerHeight;
        } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) )
	{
          //IE 6+ in 'standards compliant mode'
           myWidth = document.documentElement.clientWidth;
           myHeight = document.documentElement.clientHeight;
        } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
           //IE 4 compatible
           myWidth = document.body.clientWidth;
           myHeight = document.body.clientHeight;
        }
		//alert(myHeight);  
	
			
	 if (risultati == 3) document.getElementById("descrizionetecnica").style.height=(myHeight-405)+"px";
	 if (risultati == 4) document.getElementById("supportingText_sito").style.height=(myHeight-262)+"px";
	 if (risultati == 5) document.getElementById("supportingText").style.height=(myHeight-150)+"px";
	 if (risultati == 6) document.getElementById("carrello").style.height=(myHeight-229)+"px";
	 if (risultati == 7) document.getElementById("conttesto").style.height=(myHeight-273)+"px";
	 if (risultati == 8) document.getElementById("garanzie").style.height=(myHeight-238)+"px";
	 
}





