// getBrowserWidth is taken from The Man in Blue Resolution Dependent Layout Script// http://www.themaninblue.com/experiment/ResolutionLayout/	function getBrowserWidth(){		if (window.innerWidth){			return window.innerWidth;}			else if (document.documentElement && document.documentElement.clientWidth != 0){			return document.documentElement.clientWidth;	}		else if (document.body){return document.body.clientWidth;}					return 0;	}window.onload = function(){   var larghezza = getBrowserWidth();   var pagina = document.getElementsByTagName('body').item(0)      if ( larghezza <= 800 )   {      pagina.className = 'sfondo800'   }   else if ( larghezza > 800 && larghezza <= 1024 )   {      pagina.className = 'sfondo1024'   }   else if ( larghezza > 1024 && larghezza <= 1056 )   {      pagina.className = 'sfondo1056'   }   else if ( larghezza > 1056 && larghezza <= 1280 )   {      pagina.className = 'sfondo1280'   }	else   {      pagina.className = 'sfondo1440'   }}