// JavaScript Document

function testEval(stringToEval)
{
  //alert(navigator.appName);
  var movie=eval(stringToEval);
  if (movie)
  {
    if (movie.PercentLoaded())
    {
      if (movie.PercentLoaded()==100)
      {
        movie.Play();
      }
      else
      {
  	    //alert("movie is still loading, try again soon");
  	  }
  	}
  	else
  	{
	  //alert("movie object found-but unable to send command");  	
  	}
  }
  else
  {
    //alert("movie object not found");
  }
}

function shake(){
	/*
	if (parent.moveBy) {
		for (i = 10; i > 0; i--) {
			for (j = 1; j > 0; j--) {
				parent.moveBy(0,i);
				parent.moveBy(i,0);
				parent.moveBy(0,-i);
				parent.moveBy(-i,0);
			}
		}
	}
	testEval('window.document[\'rocker\']');
	*/
}
