
// What is $(document).ready ? See: http://flowplayer.org/tools/using.html#document_ready
//$(document).ready(function() {

function attivaIndex()
{



	var content = $("#logo_content");
	content.load("_logo_item.htm");

	var content = $("#menu_content");
	content.load("_menu_items.htm");

	var content = $("#address_content");
	content.load("_address_items.htm");

	var content = $("#accordion_content");
	content.load("_accordion_items.htm");

	var content = $("#news_content");
	content.load("_news_items.htm");
	
	var content = $("#bottom_content");
	content.load("_bottom_items.htm");
	
	
	$(document).ready(function() {
		$('#works').coinslider({ hoverPause: true });
	});
	
	
	// select the overlay element - and "make it an overlay"
	$("#overlay").overlay({

		// custom top position
		top: 200,

		// 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();
}

//});

