// JavaScript Document
	
/* FULLSCREEN */
/**/
var larghezza = screen.width;
var altezza = screen.height-30;


/* RIS 1280 x 800 */
/*
var larghezza = 1280;
var altezza = 800;
*/

/* RIS 1280 x 1024 */
/*
var larghezza = 1280;
var altezza = 1024;
*/

/* RIS 1024 x 768 */
/*
var larghezza = 1024;
var altezza = 768;
*/

/* RIS 800 x 600 */
/*
var larghezza = 800;
var altezza = 600;
*/

/* RIS 640 x 480 */
/*
var larghezza = 640;
var altezza = 480;
*/

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;
  }
//window.alert( 'Width = ' + myWidth );
//window.alert( 'Height = ' + myHeight );

//window.alert(myWidth + ' - '  + myHeight)


document.write('<style type="text/css">');
if(myWidth<1200){
	document.write('#loghi{ width:750px; position: absolute; left:50%; margin-left:-375px; }');	
	document.write('#horizontal_container, #startlabel { top:200px; }');	
	document.write('#greenfield { top:750px; }');	
	document.write('#clouds { height:790px; }');	
	document.write('#contenuti { top:820px; }');
	document.write('#logoEF{ display:block; width:180px; float:left; padding:0px; }');	
	document.write('#logoEF img{ max-width:150px; }');
	document.write('.loghiPartner{ display:block; width:180px; float:left; padding: 15px 0px; }');	
}
if(myWidth<850){
	document.write('html, body{overflow-x: auto; }');	
}
document.write('</style>');



function resize(){
window.resizeTo(larghezza,altezza)
moveTo(0,0)
}
// End -->