
function Resize(){
	var win_w=screen.width;
	var win_h=screen.height;
	self.resizeTo(win_w,win_h);
	self.moveTo(0,0);
}

var isInternetExplorer = navigator.appName.indexOf("Microsoft") != -1;

// Verarbeiten aller FSCommand-Meldungen in einem Flash-Film
function die_event_agenten_DoFSCommand(command, args){
	var die_event_agentenObj = isInternetExplorer ? document.all.die_event_agenten : document.die_event_agenten;
	alert(args);    
}

// Hook fuer Internet Explorer
if(navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && navigator.userAgent.indexOf("Windows") != -1 && navigator.userAgent.indexOf("Windows 3.1") == -1){
	document.write('<script language=\"VBScript\"\>\n');
	document.write('On Error Resume Next\n');
	document.write('Sub die_event_agenten_FSCommand(ByVal command, ByVal args)\n');
	document.write('Call die_event_agenten_DoFSCommand(command, args)\n');
	document.write('End Sub\n');
	document.write('<\/script\>\n');
}

function Start(){
	var W = window.open("index_popup.html","Die_Event_Agenten","menubar=no,locationbar=no,scrollbars=no,resizable=yes,status=no,height=screen.height(),width=screen.width()");
	W.resizeTo(screen.width,screen.height);
	W.moveTo(0,0);			
}