// Popup base 
function RealVideo(file, titolo, testata, alt) {
	window.open('/html/video_popup.htm?video=' + escape(file) + '&fascia=' + escape(testata) + '&titolo=' + escape(titolo), 'video_popup_italica', "height=350, width=300, status=no");
}

// Popup audio 
function RealAudio(file, titolo, testata, alt) {
	window.open('/html/audio_popup.htm?video=' + escape(file) + '&fascia=' + escape(testata) + '&titolo=' + escape(titolo), 'audio_popup_italica', "height=230, width=300, status=no");
}

// Popup piccola, con la possibilità di aggiungere un messaggio e di controllare la ratio (16/9, 14/9, 4/3, ...)
function RealVideo2(file, titolo, testata, alt, msg, ratio) {
	width = 300;
	height = (120+Math.round(width/ratio));
	window.open('/html/video_popup.htm?ratio=' + ratio + '&video=' + escape(file) + '&fascia=' + escape(testata) + '&titolo=' + escape(titolo) + '&msg=' + escape(msg), 'video_popup_italica_real', "height=" + height + ", width= " + width + ", status=no");
}

// Popup grande, con la possibilità di aggiungere un messaggio e di controllare la ratio (16/9, 14/9, 4/3, ...)
function WMVideo(file, titolo, testata, alt, msg, ratio) {
	width = 410;
	height = (200+Math.round(width/ratio));
	window.open('/html/video_popup2.htm?ratio=' + ratio + '&video=' + escape(file) + '&fascia=' + escape(testata) + '&titolo=' + escape(titolo) + '&msg=' + escape(msg), 'video_popup_italica_wmv', "height=" + height + ", width= " + width + ", status=no");
}
