Event.observe(window, 'load', main);
function main()
{
	hideAllLayers ();
	attachBehaviours ();
	showDiv(1);
}
function attachBehaviours ()
{
	var links = $A($$('#linkwrapper div.linkDiv a'));
	links.each(function (node)
	{
		node.observe('mouseover', linkRoll)
	});
}
function hideAllLayers ()
{
	var layers = $A($$('#descwrapper div'));
	layers.each(function(node){
		node.hide();
	})
}
function linkRoll (event)
{
	var el= event.element();
	var id = el.id.substr(4);	
	hideAllLayers ();
	showDiv(id);
	return false;
}
function showDiv (id)
{
	var layer = $A($$('#descwrapper #div'+id))[0];
	layer.show();
}

