
window.onload = nv_init;


var jsReady = false;
var myFlashMovie = "";
var nonverblasterClicked = false;

function nv_init(){
	jsReady = true;
}

function getFlashMovie(movieName) {
	if (navigator.appName.indexOf("Microsoft") != -1) {
		return window[movieName];
	} else {
		return document[movieName];
	}
}

// broadcasts the actions to the player
function sendToNonverBlaster(value) {
	getFlashMovie(myFlashMovie).sendToActionScript(value);
}

function registerForJavaScriptCommunication(_flashMovie){
	myFlashMovie = _flashMovie;
}
// Called if the Player was clicked
function nonverBlasterClickHandler(){
	nonverblasterClicked = true;
}
function quelltext() {
	window.open('view-source:' + window.location.href);
}
