$(document).ready(function(){
	var SilverscapeLink_Credit = $('#SilverscapeLink_Credit');
	var initSiteCredit = $('#initSiteCredit');
	var initLink = $('#initLink');
	var CreditsLink = $("#CreditsLink");
	var SiteCreditLink = $("#SiteCreditLink");
	
	SiteCreditLink.bind("mouseover", function(){
		initLink.fadeOut(500, function(){
			CreditsLink.animate( { left:"13" }, 500, "linear", function(){});
			$(document).oneTime(5000, function(i){
				CreditsLink.animate({left:"330"}, 1000, "linear", function(){initLink.fadeIn("normal");});
			});
		});								  
	});
});

function browser_AddBookmark(argTitle, argUrl)
{
	var title = document.title;
	var url = location.href;
	if (argTitle != null){
		title = argTitle;
	}
	if(argUrl != null){
		url = argUrl;
	}
		
    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.");
	}
}