$(document).ready(function(){

			$("a[rel='window_galeria']").colorbox({slideshow:false});
                  $(".window_iframe").colorbox();



		var buttons = { previous:$('#lofslidecontent45 .lof-previous') ,
						next:$('#lofslidecontent45 .lof-next') };
						
		$obj = $('#lofslidecontent45').lofJSidernews( { interval : 10000,
												direction		: 'opacity',	
											 	easing			: 'easeOutBounce',
												duration		: 2000,
												auto		 	: true,
												mainWidth         : 960,
												buttons			: buttons} );	

                  			
});


function toggleTab(x)
{
	var n = 1;
	while (n <= numtabs) {
		document.getElementById("tabs"+n).className = "tabs";
		document.getElementById("tab"+n).style.display = "none";
		n++;
	}
	document.getElementById("tabs"+x).className = "tabsactive";
	document.getElementById("tab"+x).style.display = "";
}

function showHidden(obj){
obj = document.getElementById(obj);
obj.style.display == 'none' ? obj.style.display = '' : obj.style.display = 'none';
}
function showClose(obj){
obj = document.getElementById(obj);
obj.style.display = 'none';
}


