
window.onload = init;

function init()
{
	resize();
	initLightbox();
	flashSet();
	
	var directions = document.getElementById("directions");

	if ( directions )
	{
		var inputs = directions.getElementsByTagName("input");
				
		for ( var l = 0; l < inputs.length; l++ )
		{
			if ( inputs[l].id == "button" )
			{
				inputs[l].onclick = function()
				{
					to_y();
				}
			}
		}
	}
}

