var t = null;

$(document).ready(function(){
	//alert(BlogTitles[0]);
	/*$("#ticker").click(function () {
		location.href="blog.php";
	});*/
	//$("#ticker").corner("9px");
	
	//tickIt(0);
	
	/*$(".icobox a").hover(
      function () {
      	 $(".icobox a").removeClass("hov");
      	 $(this).addClass("hov");
         $("#label span").text(this.title).addClass("hov");
         if (t != null) clearTimeout(t);
      }, 
      function () {
        t = setTimeout("restore()",5*1000)
      }
    );*/
    /*$("#biglogo").click(function(){
    	$("#biglogo").attr('src',"img/rocket_w_filled.png").css({'height':'200px','padding':'50px 0 50px'});
    });*/
});

function restore() {
	$(".icobox a").removeClass("hov");
	$("#label span").text("").removeClass("hov");
	t = null;
}

/*function startTicker() {
	setTimeout("moretext()",10*1000);
}*/

function tickIt(i) {
	var t = $("#tick");
	t.fadeOut("normal", function () {
		t.html(BlogTitles[i]);
		t.fadeIn("normal",function () {
			if (++i >= BlogTitles.length) i = 0;
			setTimeout("tickIt("+i+")",5*1000);
		});
	});
}