function init() {
	if ($ && Scroll) {
		if ($("News")) Scroll.build("News", 10);
	} else {
		setTimeout(init, 100);
		return;
	}
	
	if (document.location.toString().indexOf("home.php") > -1 || document.location.toString().substr(document.location.toString().length-1, 1) == "/") {
		var so = new SWFObject("/web/cabezal.swf", "header", "1000", "515", "8", "#FFFFFF", false);
		so.addParam("wmode", "transparent");
		so.write("SwfHeader");
		
		var _cnt = $("Header");
		while (_cnt.childNodes[0] != null) _cnt.removeChild(_cnt.firstChild);
		
		var repositionHeader = function() {
			var pos = Position.cumulativeOffset($("Header"));
			Element.setStyle($("SwfHeader"), { "left": pos[0]-7 + "px", "top" : pos[1] + "px"});
		}
		
		window.onresize = repositionHeader;
		repositionHeader(); 
	}	
}