function PosPlayer(){
	var tw=650;
	var th=520;
	if(window.innerWidth){ 
		tw=window.innerWidth; 
		th=window.innerHeight; 
	}else if(document.body.clientWidth){ 
		tw=document.body.clientWidth; 
		th=document.body.clientHeight; 
	}
	var pl=Math.round(tw/2-340);
	var pt=Math.round(th/2-260);
	if(pl<0){
		pl=0;
	}
	if(pt<0){
		pt=0;
	}

	if(navigator.userAgent.toLowerCase().indexOf('msie 6')!=-1){
		document.getElementById('harplayer').style.top="5px";
		document.getElementById('harplayertab').style.top="5px";
	}else{
		document.getElementById('harplayer').style.top=pt+"px";
		document.getElementById('harplayertab').style.top=pt+"px";
	}
	document.getElementById('harplayer').style.left=(pl+20)+"px";
	document.getElementById('harplayertab').style.left=pl+"px";
}

function ShowPlayer(){
	document.getElementById('harplayertab').style.visibility="visible";
	document.getElementById('harplayer').style.width="650px";
	document.getElementById('harplayer').style.height="520px";
	document.getElementById('harplayer').style.visibility="visible";

	if(navigator.userAgent.toLowerCase().indexOf('msie 6')!=-1){
		self.scrollTo(0,0);
	}
}

function HidePlayer(){
	document.getElementById('harplayertab').style.visibility="hidden";

	document.getElementById('harplayer').style.visibility="hidden";
	document.getElementById('harplayer').style.width="10px";
	document.getElementById('harplayer').style.height="10px";
}
