function showImage( __imagePath )
        {
          var _hImage     = new Image( );

        _hImage.onload  = function( )
          {
            var _cx  = _hImage.width;
            var _cy  = _hImage.height;

            var _x   = (screen.width  - _cx) / 2;
            var _y   = (screen.height - _cy) / 2;

            var _wnd = window.open( "", "_blank", "width="    + _cx +
                                                  ",height="  + _cy +
                                                  ",left="    + _x +
                                                  ",top="     + _y +
                                                  ",screenX=" + _x +
                                                  ",screenY=" + _y +
                                                  ",menubar=0,toolbar=0,directories=0" +
                                                  ",resizable=0,status=0,scrollbars=0" );

            _wnd.document.open( "text/html" );

            _wnd.document.write( "<html>" );
            _wnd.document.write( "<head><title>Turismo in Langa</title></head>" );
            _wnd.document.write( "<body topmargin=\"0\" leftmargin=\"0\" marginwidth=\"0\" marginheight=\"0\">" );
            _wnd.document.write( "<img src=\"" + __imagePath + "\" /></body>" );
            _wnd.document.write( "</html>" );

            _wnd.document.close( );
            _wnd.focus( );
          }

          _hImage.src     = __imagePath;
        }


function detail(str)
{
var son = window.open(str,'Turismoinlanga','scrollbars=yes,resizable=yes,width=500,height=490,status=no,location=no,toolbar=no, menubar=no');
son.focus();
}

function Invio()
{
if (document.modulo.privacyok.checked != false) 
	{
		document.getElementById("invia").disabled = false;
	}
	else
	{
			document.getElementById("invia").disabled = true;
	}
}


            
        function showhide_menu(which)
        { 
        	body = which;
        	        
			if (document.getElementById(body).style.display == "block")
			{
				document.getElementById(body).style.display = "none";
        	}
        	else
        	{
				document.getElementById(body).style.display = "block";
        	}
        }
            

  function Menu(links) {
     location.href = links[links.selectedIndex].value;
  }
 

function allarga(px, nome){

var larghezza = px;
var nomebox = nome;
	
	document.getElementById(nomebox).style.width=(larghezza)+'px';
	

}

function stringi(nome){

var nomebox = nome;

	document.getElementById(nomebox).style.width="150px";
}


	
