﻿
var IE5,NN,NN4,NN6,DOM
var pageloaded=false

IE5=document.all;
NN=navigator.appName.match("Netscape");
NN6=(!document.all && document.getElementById);
NN4=document.layers;
DOM=(document.getElementById);
NN4 ? document.captureEvents(Event.MOUSEMOVE):'';

document.onMouseMove=moveHand


function moveHand(event){
	 if (pageloaded==false){return}
	if (DOM){hand=document.getElementById("Pointer");}
	if (NN4){hand=document["Pointer"];}	
	x=event.x-10; y=event.y+5;	

	if (IE5){
		with(hand.style){
			posTop=y+document.body.scrollTop;
			posLeft=x
		}
	}
	if (NN){
		if (NN6){
			with (hand.style){
				left=(event.clientX)+"px";
				top=(event.clientY+5+window.pageYOffset)+"px";

			}
		}else{
			hand.left=x; 
			hand.top=y+5;  
		}
	}
}

function showHand(event){
	  if (pageloaded==false){return}
	if (!DOM && !NN4){
		return;
	}

	if (DOM){hand=document.getElementById("Pointer");}
	if (NN4){hand=document["Pointer"];}
	
	if (IE5){
		y=document.body.scrollTop+y;
		with(hand.style){
			visibility="visible"; 
		}
	}
	if (NN){
		if (NN6){
			with (hand.style){
				visibility="visible";
			}
		}else{
			hand.visibility="show";
		}

	}
	
}

function hideHand(){
	 if (pageloaded==false){return}
	if (DOM) {hand=document.getElementById("Pointer");hand.style.visibility="hidden"; }
	if (NN4){hand=document["Pointer"];hand.visibility="hide";}

}
   
