var ns=(document.layers);
var ie=(document.all);
var w3=(document.getElementById && !ie);
var calunit=ns? "" : "px"
function initButton(){
	if(!ns && !ie && !w3) return;
	if(ie)		adDiv=eval('document.all.shopButton.style');
	else if(ns)	adDiv=eval('document.layers["shopButton"]');
	else if(w3)	adDiv=eval('document.getElementById("shopButton").style');
	if (ie||w3) {
       	adDiv.visibility="visible";
	}
    else {
       	adDiv.visibility ="show";
	}
	showButton();
}
function showButton(){

	if (ie){documentHeight =truebody().offsetHeight+truebody().scrollTop;}	
	else if (ns){documentHeight=window.innerHeight+window.pageYOffset;} 
	else if (w3){documentHeight=self.innerHeight+window.pageYOffset;} 
	adDiv.left=0;adDiv.top =documentHeight-30+calunit;
	setTimeout("showButton()",100);
}
function truebody(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}
onload=initButton;

