/*
pipe AVM1Movie to AVM2Movie on as3 swf file loarded
useing ExternalInterface
*/

function throwJS(args)
{
    targetMovie("external_flashcontent").sendToAVM2(args);
    //targetMovie("flashcontent").sendToAVM2(args);
    return "hello";
}

function targetMovie(movieName)
{
  var player = document.all? window[movieName] : document[movieName];
  return player;
}

//! simple mouse wheel
function gwheel(arg){
  window.scrollBy(arg[0],arg[1]);
}
