var leftLoc = 20;
	var rightLoc = 900;
	var mLoc = leftLoc;
	var tog1 = 1;
	var screenWidth = screen.availWidth;
	var i = 1;
	var t;
	
	rightLoc = screenWidth - 68 - 20 - 120;

	function changeTheLoc(i)
	{
	document.all('mascot1').style.left = i;
	}
	
	function moveMonkey(i)
	{
	   i = mLoc;
       if (tog1 > 0)
	   {  
	      if(i++ < rightLoc) t=setTimeout('moveMonkey(i)',1);
		  changeTheLoc(i);
		  mLoc = i;
	   }
	   else
	   {  
	       if(i-- > leftLoc) t=setTimeout('moveMonkey(i)',1);
	       changeTheLoc(i);
		   mLoc = i;
	   }

	   if (mLoc >= rightLoc)
	   		{ clearTimeout(t);
			  tog1 = (-1);
			}
	   if (mLoc <= leftLoc) 
	   		{
			  clearTimeout(t);
			  tog1 = 1;
			}
	}

