function link_menu(target){
	new Effect.Opacity("container", {duration:0.2, from:1.0, to:0.0, afterFinish: function()
	{			
		new Effect.ScrollTo('banner', {offset: -24, afterFinish: function()
		{
			document.getElementById('container').innerHTML = "<div id=\"pinac\"> <img src=\"img/loading.gif\" align=\"middle\"><br> </div>";
			
			new Effect.Opacity("container", {duration:0.2, from:0.0, to:1.0, afterFinish: function()
			{	
				new Ajax.Updater('container', target, {asynchronous:true, evalScripts:true});
			}
			});
		}
		});	
	}
	});
};



function link_menu_scroll(target){
	new Effect.Opacity("sinopse_quem_somos", {duration:0.2, from:1.0, to:0.0, afterFinish: function()
	{			
			document.getElementById('content').innerHTML = "<div id=\"pinac\"> <img src=\"img/loading.gif\" align=\"middle\"><br> </div>";
			new Ajax.Updater('content', target, {asynchronous:true, evalScripts:true});
			new Effect.Opacity("sinopse_quem_somos", {duration:0.2, from:0.0, to:1.0, afterFinish: function()
			{	
			}
			});	
	}
	});
};


function scroll(target){	
	new Effect.ScrollTo('banner', {offset: -24, afterFinish: function()
	{
		
	}
	});	
};


/*	
startList = function() {
if (document.all&&document.getElementById) {
	cssdropdownRoot = document.getElementById("cssdropdown");
for (x=0; x<cssdropdownRoot.childNodes.length; x++) {
	node = cssdropdownRoot.childNodes[x];
	if (node.nodeName=="LI") {
	node.onmouseover=function() {
	this.className+=" over";
}
node.onmouseout=function() {
this.className=this.className.replace(" over", "");
}
}
}
}
}

if (window.attachEvent)
window.attachEvent("onload", startList)
else
window.onload=startList;*/
			
			