//Autore Nicola Cardinali
//Funzione per ridimensionare sia in larghezza che in altezza l'iframe
//Compatibilità: FF3, IE7
function autoresize_allbro(frameId){
	iframe = document.getElementById(frameId);
	if (iframe.contentDocument) {
		//FF
		iframe.height = iframe.contentDocument.documentElement.scrollHeight + 150;
		iframe.width = iframe.contentDocument.documentElement.scrollWidth - 10;
	} else {			
		// IE
		iframe.style.height = iframe.contentWindow.document.body.scrollHeight + 150;
		iframe.style.width = iframe.contentWindow.document.body.scrollWidth - 10;
	}
}
