// Footer FixedBox
	function doFixedBox(){
		var viewportheight;
		if (typeof window.innerWidth != 'undefined') viewportheight = window.innerHeight;
		else if (typeof document.documentElement != 'undefined' && typeof document.documentElement.clientWidth != 'undefined' && document.documentElement.clientWidth != 0) viewportheight = document.documentElement.clientHeight;
		else viewportheight = document.getElementsByTagName('body')[0].clientHeight;

		var ScrollTop = document.body.scrollTop;
		if (ScrollTop == 0) {
			if (window.pageYOffset) ScrollTop = window.pageYOffset;
			else ScrollTop = (document.body.parentElement) ? document.body.parentElement.scrollTop : 0;
		}

		var o = document.getElementById('fixedbox');
		o.style.position = 'absolute';
		o.style.top = (viewportheight - 39 + ScrollTop) + 'px';
		o.style.left = '0px';
		o.style.width = '100%';
	}
	
// ShareThis Buttons:
//facebook.com
function fbs_click() {
	u=location.href;
	t=document.title;
	window.open('http://www.facebook.com/sharer.php?u='+encodeURIComponent(u)+'&t='+encodeURIComponent(t),'sharer','toolbar=0,status=0,width=626,height=436');
	return false;
}
	
// buzz.yahoo.com
function yahoo_buzz(T, U) {
	y_u=location.href;
	t=document.title;
	window.open('http://buzz.yahoo.com/buzz?targetUrl='+encodeURIComponent( U )+'&t='+encodeURIComponent(T),'yahoo_buzz','');
	return false;
}
	
// myspace.com
function GetThis(T, C, U, L)
{
    var targetUrl = 'http://www.myspace.com/index.cfm?fuseaction=postto&' + 't=' + encodeURIComponent(T)
    + '&c=' + encodeURIComponent(C) + '&u=' + encodeURIComponent(U) + '&l=' + L;
    window.open(targetUrl);
}
// Digg
function digg_this(T, U){
	window.open('http://digg.com/submit?url='+encodeURIComponent(U)+'&title='+encodeURIComponent(T),'digg', ''); 
	return false;
}
// delicious.com
function delicious_click(T, U){
	window.open('http://delicious.com/save?v=5&amp;noui&amp;jump=close&amp;url='+encodeURIComponent(U)+'&amp;title='+encodeURIComponent(T),'delicious', 'toolbar=no,width=550,height=550'); 
	return false;
}

