window.InitUserScripts = function()
{
var player = GetPlayer();
var object = player.object;
var addToTimeline = player.addToTimeline;
var setVar = player.SetVar;
var getVar = player.GetVar;
window.Script2 = function()
{
  var number=Math.floor((Math.random()*6)+1);
GetPlayer().SetVar("RandomNumber",number);
}

};
