function initSiteCredit(){
	$("#initLink").fadeOut("normal");
	$("#CreditsLink").animate( { right:"0" }, { duration:1000 } );
	setTimeout("revertSiteCredit()",7000);
}

function revertSiteCredit(){
	$("#CreditsLink").animate( { right:"900" }, 1000, "linear", function(){$("#initLink").fadeIn("normal");} );
}

function favorites(){
	var title = document.title;
    var url = location.href;

    if (window.sidebar != null && window.sidebar.addPanel != null){
		window.sidebar.addPanel(title, url,"");
    }
	else if( window.external != null){
		try{
			window.external.AddFavorite(url, title);
		}
		catch(e){
			alert("Press Ctrl D to bookmark this page.");
		}
	}
	else{
		alert("Press Ctrl D to bookmark this page.");
	}
}

$(function(){
	$('a.new-window').click(function(){
		window.open(this.href);
		return false;
	});
});


/*$('#SubMenuHeader_IMG').hover(function() {alert("Over");}, function() {alert("Out");});*/
/*$('#SubMenuHeader').hover(function(){$(this).css('opacity', '0.5'), function(){ $(this).css('opacity', '1.0')}});*/


/*$("img").hover(
  function () {
	$(this).append($("<span> ***</span>"));
  }, 
  function () {
	$(this).find("span:last").remove();
  }
);*/



