/* JAVASCRIPT DOCUMENT: */
/* Copyright &copy; 2006 Stefano Fiori - STEO82
 * AUTHOR: Stefano Fiori - STEO82   (steo82.matrix@tiscali.it)
 * Use this code for FREE, but leave this message!
 */

var popup_window = null;

function setFocusBottoneMappa() {
	if ( document.getElementById ) {
		var b = document.getElementById("bottone_velocità_media");
		b.focus();
	}
}

function viewPicture(src, kind) {
	if (src != null && src != "" && src != " " && src != "  ") {
		if (kind == null | (kind == "" || kind == " " || kind == "  "))
			kind == "win_picture";

		var finestra = "scrollbars=no,resizable=no,width=680px,height=520px,status=no,location=no,toolbar=no";

		var nw = window.open( src, kind, finestra );
		nw.document.write("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML1.1//EN" +
					  "\"\"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">" +
					  "<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\">" +
					  "<head><title>Hotel Beethoven Roma - Foto/Picture</title>" +
					  "<link rel=\"stylesheet\" type=\"text/css\" href=\"./_style.css\" />" +
					  "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\" />" +
					  "</head><body>" +
					  "<div style=\"text-align: center;\">" +
					  "<a href=\"JavaScript: window.close();\" title=\"IMAGE - Click for CLOSE WINDOW\">" +
					  "<img style=\"border: 3px solid black\" src=\"" + src + "\" alt=\"IMAGE - click for CLOSE WINDOW\" /></a>"  +
					  "</div>" +
					  "</body></html>"
					  );
	nw.document.close();
	nw.moveTo(screen.availWidth/ 4.3, screen.availHeight / 4.5);
	}
}