function riempi() { 
	if (window.screen) { 
		var w = screen.availWidth; 
		var h = screen.availHeight; 
		window.moveTo(0, 0); 
		window.resizeTo(w, h); 
	} 
} 

function lancia() {
	var w = screen.width;
	var h = screen.height;
	//if(w > "1024"){
		larghezza = (w / 100) * 98;
		altezza = (larghezza / 7) * 3;
	//}else{
	//	larghezza = 700;
	//	altezza = 300;
	//}
	var x = Math.round(w / 2) - Math.round(larghezza / 2);
	var y = Math.round(h / 2) - Math.round(altezza / 2);
	finestra = location.href=('./flashS.htm');
	//window.open ('flashS.htm', null, 'left=' + x + ',screenX=' + x + ',top=' + y + 'screenY=' + y +',width=' + larghezza + ',height=' + altezza );
}

function preferiti(){
	var url="http://www.sassomatto.it/" 
	var titolo="SassoMatto Trattoria/Pizzeria - Birreria" 
	if (document.all) {
		window.external.AddFavorite(url,titolo);
	}
} 

function paginaIniziale() {
	document.body.style.behavior='url(#default#homepage)';
	document.body.setHomePage('http://www.sassomatto.it/');
}
