$.ajaxSetup ({ cache: false });
var laste = "";

$(document).ready(function() {

	// Service menu
	$(".sv_inner").each(function() {
		$(this).hover(function() {
			$(this).stop(true, true).fadeTo(400, 1.0);
		}, function() {
			$(this).stop(true, true).fadeTo(400, 0.01);
		});
	});
/*
	$(".sv_inner").click(function() {
		var ts = $(this).attr('id');
		if (ts != laste){
			$.get('./mini.php?type='+ts ,function(data){
				$("#centerupdate").html(data);
				activeTabs();
				return false;
			},"html");
			laste = ts;
			return false;
		} else {
			return true;
		}
	});
*/
	activeTabs();

});

function activeTabs(){

	$(".dl_update_list_normal").each(function() {
		$(this).mouseover(function(event) {
			event.preventDefault();
			$(this).addClass("dl_update_list_hover");
		});
		
		$(this).mouseout(function(event) {
			event.preventDefault();
			$(this).removeClass("dl_update_list_hover");
		});
	});
}
