	var tipWidth = 350;
	var tipHeight = 300;
	var startY = -400;
	var startX = ((screen.width-20)/2)-(tipWidth/2)
	var targetY = ((screen.height-300)/2)-(tipHeight/2)
	var tipDiv;
	var tmrDiv;
	
	function showTip() {
		
		if(document.getElementById("tipContent").innerHTML != "") {
		
		  tipDiv = document.getElementById("tipDiv");
			tipDiv.style.left = startX + 'px';
			tipDiv.style.top = startY + 'px';
			tipDiv.style.visibility = 'visible';
			
			moveTip();
		}
	}
	
	function moveTip() {
		if (tmrDiv != null) clearTimeout(tmrDiv);
		var tipTop = tipDiv.style.top;
		
		if(tipTop.substring(tipTop.length-2,tipTop.length) == 'px') {
			tipTop = tipTop.substring(0,tipTop.length-2);
		}
		
		var distance = targetY - tipTop;
		var targetPos = parseInt(tipTop) + Math.round(distance/9);	
		tipDiv.style.top = targetPos;
		
		if(targetY > targetPos) {
			tmrDiv=setTimeout("moveTip()",10);
		}
	}
	
	function closeTip() {
		tipDiv.style.visibility = 'hidden';
		if (tmrDiv != null) clearTimeout(tmrDiv);
		restartGif();
	}

	function restartGif(){
		for(var i=0; i<document.images.length; i++){
			var img = document.images[i];
			var imgName = img.src.toUpperCase();
			if (imgName.substring(imgName.length-3, imgName.length) == "GIF"){
				img.src = img.src;
			}
		}
	}


