var stop=0;
var X=0;
function ScrollMyPopup()
{
  X++;
  if( X>stop ) X=0;
  document.getElementById("PupupContainer").style.left=X + '' + 'px';
  setTimeout("ScrollMyPopup()", 100);
} 
function ShowMyPopup()
{
	stop=700;
  	document.getElementById("PupupContainer").style.top="10px";
  	document.getElementById("PupupContainer").style.display = "block";
  	ScrollMyPopup();
}

function CloseMyPopup()
{
  document.getElementById("PupupContainer").style.display = "none";
  Y=bottom; // if it was closed, make sure extra computations are done in dropMyPopup()
}