
// What is $(document).ready ? See: http://flowplayer.org/tools/using.html#document_ready
//$(document).ready(function() {

function attivaIndex()
{

	

	var content = $("#accordion_content");
	content.load("_accordion_items.htm");

	var content = $("#news_content");
	content.load("_news_items_bianco.htm");
	
	var content = $("#bottom_content");
	content.load("_bottom_items.htm");
	
	// select the overlay element - and "make it an overlay"
	$("#overlay").overlay({

		// custom top position
		top: 272,

		// some expose tweaks suitable for facebox-looking dialogs
		expose: {

			// you might also consider a "transparent" color for the mask
			color: '#fff',

			// load mask a little faster
			loadSpeed: 200,

			// highly transparent
			opacity: 0.5
		},

		// disable this for modal dialog-type of overlays
		closeOnClick: false,

		// we want to use the programming API
		api: true

	// load it immediately after the construction
	}).load();
	
	fn_news_date();
}

//});
