theTop = -200
theLeft = -275

topSpot = 0
leftSpot = 0

adDirection = "out"

setTimeout("hide_pointer()",10000)

function hide_pointer()
{
	if(document.all){document.all.whats_new.style.visibility = "hidden";}
	else{document.whats_new.visibility = "hidden";}
}

function moveAd()
{
  if(adDirection == "out")
  {
     theTop = theTop + 2
     theLeft = theLeft + 2.75

     if ((theTop < topSpot) && (theLeft < leftSpot))
     {
	

	if(document.all) 
	{
		document.all.corner_cover.style.pixelLeft = theLeft;
		document.all.corner_ad.style.pixelLeft = theLeft;

		document.all.corner_cover.style.pixelTop = theTop;
		document.all.corner_ad.style.pixelTop = theTop;
	}
	else
	{
		document.corner_cover.left = theLeft;
		document.corner_ad.left = theLeft;

		document.corner_cover.top = theTop;
		document.corner_ad.top = theTop;
	}
	setTimeout("moveAd()",.0001)
     }
     else
     {
	if(document.all){document.all.corner_cover.style.visibility = "hidden";}
	else{document.corner_cover.visibility = "hidden";}

	if(adDirection == "out")
	{
		adDirection = "in"
		topSpot = -200
		leftSpot = -275
	}
	else
	{
		adDirection = "out"
		if(document.all){document.all.corner_cover.style.visibility = "visible";}
		else{document.corner_cover.visibility = "visible";}
		topSpot = 0
		leftSpot = 0
	}
     }
  }
  else
  {
     theTop = theTop - 2
     theLeft = theLeft - 2.75
     if ((theTop > topSpot) && (theLeft > leftSpot))
     {

	if(document.all) 
	{
		document.all.corner_cover.style.pixelLeft = theLeft;
		document.all.corner_ad.style.pixelLeft = theLeft;

		document.all.corner_cover.style.pixelTop = theTop;
		document.all.corner_ad.style.pixelTop = theTop;
	}
	else
	{
		document.corner_cover.left = theLeft;
		document.corner_ad.left = theLeft;

		document.corner_cover.top = theTop;
		document.corner_ad.top = theTop;
	}
	setTimeout("moveAd()",.0001)
     }
     else
     {
	if(document.all){document.all.corner_cover.style.visibility = "hidden";}
	else{document.corner_cover.visibility = "hidden";}

	if(adDirection == "out")
	{
		adDirection = "in"
		topSpot = -200
		leftSpot = -275
	}
	else
	{
		adDirection = "out"
		if(document.all){document.all.corner_cover.style.visibility = "visible";}
		else{document.corner_cover.visibility = "visible";}
		topSpot = 0
		leftSpot = 0
	}
     }
  }
}
