function ShowImage(iName,iWidth,iHeight,cap,bg) {

       
	var agt=navigator.userAgent.toLowerCase();
	if (agt.indexOf("opera") != -1){
	  var args= new Array();
	  args[0]='parent';
	  args[1]=imageName;
	  var i ; document.MM_returnValue = false;
	  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
	}
        else
        {
        feat="height="+(iHeight+50)+", width="+iWidth+", status=yes";
        newWindow =window.open("loading.htm","newWindow",feat);

	newWindow.document.open();

	newWindow.document.write('<html><title>'+cap+'</title><body leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" bgcolor="#'+bg+'" onBlur="self.close()" onClick="self.close()">');  

	newWindow.document.write('<table border="1" cellspacing="0" cellpadding="0" align="center" height=100% width=100%><tr><td>');

	newWindow.document.write('<CENTER><img src="'+iName+'">'); 

	newWindow.document.write('<BR>');

	newWindow.document.write('<FORM><INPUT TYPE="Button" Value="Fenster Schließen" OnClick="self.close()"></FORM></CENTER></td></tr>');


	newWindow.document.write('</table></body></html>');
        

	newWindow.document.close();

	newWindow.focus();


	}
}

function ShowSWF(iName,iWidth,iHeight,cap,bg) {

	var agt=navigator.userAgent.toLowerCase();
	if (agt.indexOf("opera") != -1){
	  var args= new Array();
	  args[0]='parent';
	  args[1]=imageName;
	  var i ; document.MM_returnValue = false;
	  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
	}
        else
        {
        feat="height="+(iHeight+50)+", width="+iWidth+", status=yes";

        newWindow =window.open("loading.htm","newWindow",feat);

	newWindow.document.open();

	newWindow.document.write('<html><title>'+cap+'</title><body leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" bgcolor="#'+bg+'" onBlur="self.close()" onClick="self.close()">');  

	newWindow.document.write('<CENTER>');

	newWindow.document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');

	newWindow.document.write('codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"'); 

	newWindow.document.write('WIDTH=100% HEIGHT=100%>');

	newWindow.document.write('<PARAM NAME=movie VALUE="'+iName+'">');

	newWindow.document.write('</OBJECT>');

	newWindow.document.write('<FORM><CENTER><INPUT TYPE="Button" Value="Fenster Schließen" OnClick="self.close()"></FORM></CENTER>');

	newWindow.document.write('</body></html>');
        

	newWindow.document.close();

	newWindow.focus();


	}
}

function PrintSWF(iName) {

	var agt=navigator.userAgent.toLowerCase();
	if (agt.indexOf("opera") != -1){
	  var args= new Array();
	  args[0]='parent';
	  args[1]=iName;
	  var i ; document.MM_returnValue = false;
	  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
	}
        else
        {
        feat="height="+(500)+", width="+500+", status=yes";

        newWindow =window.open("loading.htm","newWindow",feat);

	newWindow.document.open();

	newWindow.document.write('<html><title></title><body leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" bgcolor="#FFFFFF" onClick="self.close()">');  

	newWindow.document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');

	newWindow.document.write('codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"'); 

	newWindow.document.write('WIDTH=100% HEIGHT=80%>');

	newWindow.document.write('<PARAM NAME=movie VALUE="'+iName+'">');

	newWindow.document.write('</OBJECT>');




	newWindow.document.write('</body></html>');
        

	newWindow.document.close();

	newWindow.focus();


	}
}

function mObject (mName) {
	if (navigator.appName.indexOf ("Microsoft") !=-1){
		return window[mName];
	} else {
		return document[mName];
	}
}
var movieID = "flashscroll";
function flashScroll() {
  
	var target = "JSScroll";
	var scrollAmount = parseInt(mObject(movieID).GetVariable(target));
   
  var i=0; 
	if (event.wheelDelta >= 120) {
    i=1;
	} else if (event.wheelDelta<=-120) {
		i=-1;
	}

  mObject(movieID).SetVariable(target, scrollAmount+i);
  mObject(movieID).call("doit");
};

