function riempi() { 
	if (window.screen) { 
		var w = screen.availWidth; 
		var h = screen.availHeight; 

		window.moveTo(((w-1028)/2),0); 
		window.resizeTo(1028,750);

	}
}

function lancia() {
	var w = screen.width;
	var h = screen.height;
	if(w >= "1024"){
		larghezza = 830;
		altezza = 980;
	}else{
		larghezza = 800;
		altezza = 600;
	}
	var x = Math.round(w / 2) - Math.round(larghezza / 2);
	var y = Math.round(h / 2) - Math.round(altezza / 2);
	finestra = window.open ('swf.htm', null, 'left=' + x + ',screenX=' + x + ',top=' + y + 'screenY=' + y +',width=' + larghezza + ',height=' + altezza );
}

function preferiti(){
	var url="http://port-04/pl3/" 
	var titolo="Collegamento di prova" 
	if (document.all) {
		window.external.AddFavorite(url,titolo);
	}
} 

function paginaIniziale() {
	document.body.style.behavior='url(#default#homepage)';
	document.body.setHomePage('http://port-04/zio/');
}