function RunFoo1() 
{ 
    document.write('<object type=\"application/x-shockwave-flash\" data=\"Movie-sommer-2010.swf\" width=\"550\" height=\"230\" id=\"flashbanner\" style=\"-moz-user-focus:ignore\">\n'); 
    document.write('<param name=\"movie\" value=\"Movie-sommer-2010.swf\" />\n'); 
    document.write('<param name=\"quality\" value=\"high\" />\n'); 
    document.write('<param name=\"wmode\" value=\"transparent\" />\n'); 
    document.write('<param name=\"quality\" value=\"high\" />\n'); 
    document.write('</object>\n'); 
}



/*
Auto center window script- Eric King (http://redrival.com/eak/index.shtml)
Modifiziert und bereitgestellt von Bernie Bernies Gif und Javapage
http://www.gifgalerie.purespace.de*/


function NewWindow(mypage,myname,w,h,scroll){
var win = null;
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
//LeftPosition = 0;
//TopPosition = 10;
settings ='height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,resizable=yes,directories=no';
//alert (settings);
win = window.open(mypage,myname,settings);
//alert (win);
//if(win.window.focus){win.window.focus();}
//win.window.onblur=win.window.close;
//win.focus();
} 


function NewWin2(mypage,myname,w,h,scroll,menu) {
var win = null;
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
//LeftPosition = 0;
//TopPosition = 10;
settings =
'"height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',menubar='+menu+',toolbar='+menu+',location=no,resizable=yes,directories=no';
win = window.open(mypage,myname,settings);
if(win.window.focus){win.window.focus();}
win.window.onblur=win.window.close;
}

function NewWindowSwi(mypage,myname,w,h,scroll){
var win = null;
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
//LeftPosition = 0;
//TopPosition = 10;
settings =
'"height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,resizable=yes,directories=no';
win = window.open(mypage,myname,settings);
win.window.onblur=win.window.close;
}



