<!--
document.write('<scr'+'ipt type="text/javascript" src="/jquery.js"><\/scr'+'ipt>');

window.name="mother";
/* BO Allgemeinde Funktion neues Fenster mit Seitenuebergabe aus dem Link */
function NeuesFenster(BILD,BREITE,HOEHE)
{
plusbreite=BREITE+20;
plushoehe=HOEHE+30;
if (window.fenster && window.fenster.closed!=true)
{
window.fenster.close();
fenster=window.open(BILD,"Fenster1", "width="+plusbreite+",height="+plushoehe);
}
else
{
fenster=window.open(BILD, "Fenster1", "width="+plusbreite+",height="+plushoehe);
}
}
/* EO Allgemeinde Funktion neues Fenster mit Seitenuebergabe aus dem Link */

/* BO Imageswap NEU */
aus0 = new Image();
aus0.src = "http://www.neue-oz.de/_images/new_images/local_buttons_neu/button_nz.gif";
an0 = new Image(); an0 = "http://www.neue-oz.de/_images/new_images/local_buttons_neu/button_nz_alt.gif";
aus1 = new Image();
aus1.src = "http://www.neue-oz.de/_images/new_images/local_buttons_neu/button_mkr.gif";
an1 = new Image(); an1 = "http://www.neue-oz.de/_images/new_images/local_buttons_neu/button_mkr_alt.gif";
aus2 = new Image();
aus2.src = "http://www.neue-oz.de/_images/new_images/local_buttons_neu/button_wkr.gif";
an2 = new Image(); an1 = "http://www.neue-oz.de/_images/new_images/local_buttons_neu/button_wkr_alt.gif";
aus3 = new Image();
aus3.src = "http://www.neue-oz.de/_images/new_images/local_buttons_neu/button_bn.gif";
an3 = new Image(); an3 = "http://www.neue-oz.de/_images/new_images/local_buttons_neu/button_bn_alt.gif";
aus4 = new Image();
aus4.src = "http://www.neue-oz.de/_images/new_images/local_buttons_neu/button_bkr.gif";
an4 = new Image(); an4 = "http://www.neue-oz.de/_images/new_images/local_buttons_neu/button_bkr_alt.gif";
aus5 = new Image();
aus5.src = "http://www.neue-oz.de/_images/new_images/local_buttons_neu/button_lt.gif";
an5 = new Image(); an5 = "http://www.neue-oz.de/_images/new_images/local_buttons_neu/button_lt_alt.gif";
aus6 = new Image();
aus6.src = "http://www.neue-oz.de/_images/new_images/local_buttons_neu/button_mt.gif";
an6 = new Image(); an6 = "http://www.neue-oz.de/_images/new_images/local_buttons_neu/button_mt_alt.gif";
aus7 = new Image();
aus7.src = "http://www.neue-oz.de/_images/new_images/local_buttons_neu/button_ez.gif";
an7 = new Image(); an1 = "http://www.neue-oz.de/_images/new_images/local_buttons_neu/button_ez_alt.gif";
/* EO Imageswap NEU */
/* BO Preload- und Imageswap-functions  ALT */
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}

/* EO Preload- und Imageswap-functions ALT */
/* BO Tooltip-functions */
var ding;
function showDING(id)
{
  { ding = document.getElementById(id); }
  if (ding != null)
    { ding.style.left = (x - 330) + "px"; ding.style.top = (y - 60) + "px"; }
    { ding.style.display = "block" }
}
function hideDING() { ding.style.display = "none"; }
var vartool;
function showVARTOOL(id,cox,coy)
{
  { vartool = document.getElementById(id); }
  if (vartool != null)
    { vartool.style.left = (x + cox) + "px"; vartool.style.top = (y + coy) + "px"; }
    { vartool.style.display = "block" }
}
function hideVARTOOL() { vartool.style.display = "none"; }
wmtt = null;
document.onmousemove = updateWMTT;
function updateWMTT(e)
{ x = (document.all) ? window.event.x + document.body.scrollLeft : e.pageX; y = (document.all) ? window.event.y + document.body.scrollTop : e.pageY;
if (wmtt != null)
        { wmtt.style.left = (x - 20) + "px"; wmtt.style.top = (y + 18) + "px"; }
} function showWMTT(id)
{ wmtt = document.getElementById(id); wmtt.style.display = "block" }
function hideWMTT() { wmtt.style.display = "none"; }
/* EO Tooltip-functions */
/* BO Tippspiel-Fenster
function tippspiel() { var breite=500; var hoehe=600; var positionX=((screen.availWidth / 2) - breite / 2); var positionY=((screen.availHeight / 2) - hoehe / 2); var url='http://www.os-community.de/noz_tippspiel.php'; pop=window.open('','','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=auto,resizable=1,fullscreen=0,width='+breite+',height='+hoehe+',top=10000,left=10000'); pop.resizeTo(breite,hoehe); pop.moveTo(positionX,positionY); pop.location=url;
}
EO Tippspiel-Fenster */

/* BO VfL functions */
function Autogrammkarten()
{ var breite=320; var hoehe=555; var positionX=((screen.availWidth / 2) - breite / 2); var positionY=((screen.availHeight / 2) - hoehe / 2); var url='http://www.neue-oz.de/vfl_osnabrueck/autogrammkarten2004/berbig/index.html'; pop=window.open('','','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1,fullscreen=0,width='+breite+',height='+hoehe+',top=10000,left=10000'); pop.resizeTo(breite,hoehe); pop.moveTo(positionX,positionY); pop.location=url;
}
function Stadion() { var breite=610; var hoehe=320; var positionX=((screen.availWidth / 2) - breite / 2); var positionY=((screen.availHeight / 2) - hoehe / 2); var url='http://www.neue-oz.de/information/pub_Sport/_vfl/_stadion/stadion01/index.html'; pop=window.open('','','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1,fullscreen=0,width='+breite+',height='+hoehe+',top=10000,left=10000'); pop.resizeTo(breite,hoehe); pop.moveTo(positionX,positionY); pop.location=url; }
/* EO VfL functions */

/* BO Anzeigenaufgabe-functions */
function chkFormular()
{ if(document.Formular.termin.value == "")
        { alert("Bitte geben Sie einen Erscheinungstermin an!"); document.Formular.termin.focus(); return false;
        }
        if(document.Formular.anzeigentext.value == "")
        { alert("Bitte geben Sie den Anzeigentext ein!"); document.Formular.anzeigentext.focus(); return false; } if(document.Formular.name.value == "")
        { alert("Bitte geben Sie Ihren Namen an!"); document.Formular.name.focus(); return false;
        }
        if(document.Formular.strasse.value == "")
        { alert("Bitte geben Sie Ihre Strasse an!"); document.Formular.strasse.focus(); return false; } if(document.Formular.plz.value == "")
        { alert("Bitte geben Sie Ihre PLZ an!"); document.Formular.plz.focus(); return false;
        }
        if(document.Formular.ort.value == "")
        { alert("Bitte geben Sie Ihren Ort an!"); document.Formular.ort.focus(); return false;
        }
        if(document.Formular.blz.value == "")
        { alert("Bitte geben Sie Ihre BLZ an!"); document.Formular.blz.focus(); return false;
        }
        if(document.Formular.konto.value == "")
        { alert("Bitte geben Sie Ihre Kontonummer an!"); document.Formular.konto.focus(); return false;
        }
}
function popUp(URL)
{ day = new Date(); id = day.getTime(); eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=520,height=360,left = 240,top = 220');");
}
/* EO Anzeigenaufgabe-functions */

/* BO functions Virtueller Rundgang Quicktime-Version */
function neuesFenster1()
{ FensterName=window.open("http://www.neue-oz.de/unterhaltung/quicktime/_os/inhalt_rechte_navigation/uebersichtskarte.html","Info1","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=500,height=400");
}
function neuesFenster2() { FensterName2=window.open("http://www.neue-oz.de/unterhaltung/quicktime/_os/inhalt_rechte_navigation/unternehmen.html","Info2","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=500,height=400");
}
function neuesFenster3() { FensterName3=window.open("http://www.neue-oz.de/unterhaltung/quicktime/_os/inhalt_rechte_navigation/sehenswertes.html","Info3","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=500,height=400");
}
/* EO functions Virtueller Rundgang Quicktime-Version */

/* BO functions Virtueller Rundgang Java-Version */
function neuesFenster1() { FensterName=window.open("inhalt_rechte_navigation/uebersichtskarte.html","Info1","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=500,height=400");
}
function neuesFenster2() { FensterName2=window.open("inhalt_rechte_navigation/unternehmen.html","Info2","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=500,height=400");
}
function neuesFenster3()
{ FensterName3=window.open("inhalt_rechte_navigation/sehenswertes.html","Info3","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=500,height=400");
}
/* EO functions Virtueller Rundgang Java-Version */

/* BO Wetter-Fenster */
function neuesFensterWetter()
{ FensterName=window.open("http://www.neue-oz.de/information/pub_Wetter/index.html","Wetter","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=585,height=445,top=20,left=230");
}
/* EO Wetter-Fenster */

/* BO Evakuierungskarte-Fenster */
function neuesFensterBombe()
{ FensterName=window.open("http://www.neue-oz.de/information/_aktuelles/2009-10/21/map.html","Karte","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=1024,height=645,top=20,left=20");
}
/* EO Evakuierungskarte-Fenster */
//-->
<!--
/* BO WebCam Zoo functions */
var nTime; var nPan=0,nTilt=0,nZoom=0; var nStop=0; var nCamNr=1; var cPicSizeName = "http://62.8.232.62/fullsize";
function JS_NewPicure()
{ nTime = Math.random(); window.document.view.src= cPicSizeName + ".jpg?ptilt=" + nTilt + "&pzoom=" + nZoom + "&camera="+nCamNr+"&dummy=" + nTime + "&ppan=" + nPan;
}
function JS_PanoNew()
{ window.document.pano.src= "http://62.8.232.62/panorama.jpg?index=-1&camera=" +nCamNr; window.setTimeout("location.reload()",12000); } function JS_PicPos(X,Y){ nTime = Math.random(); window.document.view.src= cPicSizeName +".jpg?panox=" + X + "&panoy=" +Y;
}
function JS_Save()
{ top.vcmain.vcpic.location.href="http://62.8.232.62/config/expert/ccamera/vccsave/vccname.htm?ptilt="+ nTilt +"&ppan=" + nPan + "&pzoom=" + nZoom +"&camera=" + nCamNr;
}
function JS_Control2(commandNr)
{ nTime = Math.random(); nAdd = 10; if (nZoom > 10) nAdd = 9; if (nZoom > 20) nAdd = 8; if (nZoom > 30) nAdd = 7; if (nZoom > 40) nAdd = 6; if (nZoom > 50) nAdd = 5; if (nZoom > 60) nAdd = 4; if (nZoom > 70) nAdd = 3; if (nZoom > 80) nAdd = 2; if (nZoom > 90) nAdd = 1; if (commandNr == 1)
        { nTilt = nTilt + nAdd;
        } if (commandNr == 5)
        { nTilt = nTilt - nAdd;
        } if (commandNr == 2)
        { nPan = nPan - nAdd;
        } if (commandNr == 4)
        { nPan = nPan + nAdd;
        } if (commandNr == 3)
        { nTilt = 0; nPan = 0;
        } if(nTilt > 100) nTilt = 100; if(nTilt < -100) nTilt = -100; if(nPan > 100) nPan = 100; if(nPan < -100) nPan = -100; JS_NewPicure(); if (nStop == 1) location.reload();
}
function JS_PanTilt(nPan1,nTilt1)
{ nPan = nPan1; nTilt = nTilt1; JS_NewPicure(); if (nStop == 1) location.reload();
}
function JS_Zoom(nType)
{ if (nType == 1) nZoom = nZoom + 10; if (nType == 2) nZoom = nZoom - 10; if (nType == 3) nZoom = 0; if (nType == 4) nZoom = 100; if (nZoom > 100) nZoom = 100; if (nZoom < 0) nZoom = 0; JS_NewPicure(); if (nStop == 1) location.reload();
} function JS_Control(commandNr)
{ if (commandNr == 1)
        { nTilt=0;nPan=0;nZoom=0;
        } if (commandNr == 2)
        { nTilt=0;nPan=0;nZoom=0;
        } if (commandNr == 3)
        { nTilt=0;nPan=0;nZoom=0;
        } if (commandNr == 4)
        { nTilt=0;nPan=0;nZoom=0;
        } if (commandNr == 5)
        { nTilt=0;nPan=0;nZoom=0;
        } if (commandNr == 6)
        { nTilt=0;nPan=0;nZoom=0;
        } JS_NewPicure();
}
function neuesFenster_ie()
{ window.open('fenster_ie/', 'popwin', 'scrollbars=0,status=0,toolbar=0,resizable=0,width=200,height=210,top=150,left=150');
}
// -->
/* EO WebCam Zoo functions */
/* Markieren eines vordefinierten Inhaltes im Suchfeld bei Anklicken des Feldes */
var checkInsert = function(input) {
      input.focus();
      input.select();
}
/* BO Nowonscreen-Fenster */
function nowonscreen() { var breite=735; var hoehe=575; var positionX=((screen.availWidth / 2) - breite / 2); var positionY=((screen.availHeight / 2) - hoehe / 2); var url='http://player.nowonscreen.com/nos.php?id=46'; pop=window.open('','','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,fullscreen=0,width='+breite+',height='+hoehe+',top=10000,left=10000'); pop.resizeTo(breite,hoehe); pop.moveTo(positionX,positionY); pop.location=url;
}
/* EO Nowonscreen-Fenster */

/* BO Nowonstreet-Fenster */
function nowonstreet() { var breite=740; var hoehe=600; var positionX=((screen.availWidth / 2) - breite / 2); var positionY=((screen.availHeight / 2) - hoehe / 2); var url='http://player.nowonstreet.com/nos.php?id=25'; pop=window.open('','','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,fullscreen=0,width='+breite+',height='+hoehe+',top=10000,left=10000'); pop.resizeTo(breite,hoehe); pop.moveTo(positionX,positionY); pop.location=url;
}
/* EO Nowonstreet-Fenster */


/* Liveticker neuesFenster functions */
function Liveticker_vfl() { var breite=1000; var hoehe=880; var positionX=((screen.availWidth / 2) - breite / 2); var positionY=((screen.availHeight / 2) - hoehe / 2); var url='http://ticker.basecom.eu/index.php?changemode=1'; pop=window.open('','','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,fullscreen=0,width='+breite+',height='+hoehe+',top=10000,left=10000'); pop.resizeTo(breite,hoehe); pop.moveTo(positionX,positionY); pop.location=url;
}
function Liveticker_dragons() { var breite=950; var hoehe=780; var positionX=((screen.availWidth / 2) - breite / 2); var positionY=((screen.availHeight / 2) - hoehe / 2); var url='http://hpf1.basecom.eu/index.php?changemode=2'; pop=window.open('','','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,fullscreen=0,width='+breite+',height='+hoehe+',top=10000,left=10000'); pop.resizeTo(breite,hoehe); pop.moveTo(positionX,positionY); pop.location=url;
}
function Liveticker_ddp() { var breite=580; var hoehe=580; var positionX=((screen.availWidth / 2) - breite / 2); var positionY=((screen.availHeight / 2) - hoehe / 2); var url='http://noz.sportal.de/allsportslive/index.html?client=noz'; pop=window.open('','','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,fullscreen=0,width='+breite+',height='+hoehe+',top=10000,left=10000'); pop.resizeTo(breite,hoehe); pop.moveTo(positionX,positionY); pop.location=url;
}
function neues_chat_fenster()
{
neues_chat_fenster=window.open("http://www.neue-oz.de/unterhaltung/chat_und_foren/_live_chat/chat_inhalt_zwei/index.html","soccer","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=470,height=500,top=20,left=230 ");
}
/* BO Nowonscreen-Fenster */ 
function nowonscreen() {
var breite=765; var hoehe=615; var positionX=((screen.availWidth / 2) - breite / 2); var positionY=((screen.availHeight / 2) - hoehe / 2); 
var url='http://player.nowonscreen.com/nos.php?id=46'; pop=window.open('','','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,fullscreen=0,width='+breite+',height='+hoehe+',top=10000,left=10000'); pop.resizeTo(breite,hoehe); pop.moveTo(positionX,positionY); pop.location=url; 
} 
/* EO Nowonscreen-Fenster */ 
function getLocalUrl(){
 var url = window.location.href;
 var newurl = url.replace(/http:\/\//g, "");
 var newurl = newurl.replace(/www\./g, "");
 var pos = newurl.search(/\.de/);
 var newurl = "http://www." + newurl.substr(0, pos) + ".de";
 return newurl;
}
function UmfrageNewWindow(){
  var url = getLocalUrl();
  window.open(url + "/rawumfrage/index.php?option=3&begin=1&umfrage=immo"  ,"Umfrage", "scrollbars=no,toolbar=yes,width=550,height=460,resizeable=no");
}
/* BO Zoomin-functions */
/**   /
function ftvlaunch(video,quality,pid) {
	  var LeftPosition = (screen.width) ? (screen.width-670)/2 : 0;
	  var TopPosition = (screen.height) ? (screen.height-500)/2 : 0;
	  var popwin = window.open('http://www.zoomin.tv/videoplayer/index.cfm?id='+video+'&mode=normal&quality='+ quality +'&pid='+ pid,'MTV6_window','toolbar=no,width=670,height=500,top='+TopPosition+',left='+LeftPosition+',directories=no,status=no,statusbar=0,scrollbars=no,resizable=no,menubar=no');
      popwin.focus();
}
/**/
// Beginn 2009-09-11  ts
function ftvlaunchold(video,quality,pid) {
	  var LeftPosition = (screen.width) ? (screen.width-670)/2 : 0;
	  var TopPosition = (screen.height) ? (screen.height-500)/2 : 0;
	  var popwin = window.open('http://bongo.zoomin.tv/videoplayer/index.cfm?id='+video+'&mode=normal&quality='+ quality +'&pid='+ pid,'MTV6_window','toolbar=no,width=670,height=500,top='+TopPosition+',left='+LeftPosition+',directories=no,status=no,statusbar=0,scrollbars=no,resizable=no,menubar=no');
      popwin.focus();
}
function ftvlaunch(video,quality,pid) {
	
	if (pid=='t-online' || pid=='bemodelsvla' || pid=='bemodelswal' || pid=='missbevladp' || pid=='missbewaldp'){
	  var LeftPosition = (screen.width) ? (screen.width-665)/2 : 0;
	  var TopPosition = (screen.height) ? (screen.height-430)/2 : 0;
	  var popwin = window.open('http://bongo.zoomin.tv/videoplayer/index.cfm?id='+video+'&mode=normal&quality='+ quality +'&pid='+ pid,'MTV6_window','toolbar=no,width=665,height=430,top='+TopPosition+',left='+LeftPosition+',directories=no,status=no,statusbar=0,scrollbars=no,resizable=no,menubar=no');
      popwin.focus();
	}
	else {
	  var LeftPosition = (screen.width) ? (screen.width-670)/2 : 0;
	  var TopPosition = (screen.height) ? (screen.height-500)/2 : 0;
	  var popwin = window.open('http://bongo.zoomin.tv/videoplayer/index.cfm?id='+video+'&mode=normal&quality='+ quality +'&pid='+ pid,'MTV6_window','toolbar=no,width=670,height=500,top='+TopPosition+',left='+LeftPosition+',directories=no,status=no,statusbar=0,scrollbars=no,resizable=no,menubar=no');
      popwin.focus();
	}
}
// Ende 2009-09-11  

function ftvnewlaunch(video,quality,pid) {
	  var LeftPosition = (screen.width) ? (screen.width-670)/2 : 0;
	  var TopPosition = (screen.height) ? (screen.height-500)/2 : 0;
	  var popwin = window.open('http://bongo.zoomin.tv/videoplayer/index.cfm?id='+video+'&mode=normal&quality='+ quality +'&pid='+ pid,'MTV6_window','toolbar=no,width=670,height=500,top='+TopPosition+',left='+LeftPosition+',directories=no,status=no,statusbar=0,scrollbars=no,resizable=no,menubar=no');
      popwin.focus();
}
//Tour de France 2005 video player launch:
function tourlaunchNL(video,quality,pid,langid) {
	  var LeftPosition = (screen.width) ? (screen.width-648)/2 : 0;
	  var TopPosition = (screen.height) ? (screen.height-460)/2 : 0;
	  var popwin = window.open('http://www.zoomin.tv/tourdefrance2005/videoplayer/index.cfm?id='+video+'&mode=normal&quality='+ quality +'&pid='+ pid + '&lang='+ langid,'MTV6_window','toolbar=no,width=648,height=460,top='+TopPosition+',left='+LeftPosition+',directories=no,status=no,statusbar=0,scrollbars=no,resizable=no,menubar=no');
      popwin.focus();
}
function tourlaunch(video,quality,pid,langid) {
	switch(langid)
	{
		case "1":
			tourlaunchNL(video,quality,pid,"NL");
			break;
		case "2":
			tourlaunchBE(video,quality,pid,"BE");
			break;
	}
}
function tourlaunchBE(video,quality,pid,langid) {
	  var LeftPosition = (screen.width) ? (screen.width-665)/2 : 0;
	  var TopPosition = (screen.height) ? (screen.height-457)/2 : 0;
	  var popwin = window.open('http://www.zoomin.tv/tourdefrance2005/videoplayer/index.cfm?fuseaction=homebe&id='+video+'&mode=normal&quality='+ quality +'&pid='+ pid + '&lang='+ langid,'MTV7_window','toolbar=no,width=665,height=457,top='+TopPosition+',left='+LeftPosition+',directories=no,status=no,statusbar=0,scrollbars=no,resizable=no,menubar=no');
      popwin.focus();
}
/* EO Zoomin-functions */

/* Bildergalerien */
var changeFlag = false;
var picNo = 0;
function setPicNo(no){picNo = no;}
function openGallery(url){
	$("body").css("cursor", "wait");

	$("body").append("<div id='gallery_div'></div>");
	$.ajax({url:url.replace(/layer/, "javascript"), dataType:'script', cache:true});
	$("#gallery_div").load(url, function(){
		
		$.ajax({url:"/bg2/gal.js", dataType:'script', cache:false});
		$("head").append("<link rel='stylesheet' type='text/css' href='/bildergalerien2/styles/layer.css'/>");
	
	});
}
function elementPool(){
	this.elements = new Object();
	this.getEl = function(id){
		if(!this.elements[id]){
			if(document.getElementById(id)){
				this.elements[id] = document.getElementById(id);
			} else {
				this.elements[id] = false;
			}
		}
		return this.elements[id];
	}
	this.getEls = function(tagName, elemId){
		var index = "tag_" + tagName;
		if(!this.elements[index]){
			if(elemId){
				if(this.getEl(elemId).getElementsByTagName(tagName)){
					this.elements[index] = this.getEl(elemId).getElementsByTagName(tagName);
				} else {
					this.elements[index] = false;
				}
			} else {
				if(document.getElementsByTagName(tagName)){
					this.elements[index] = document.getElementsByTagName(tagName);
				} else {
					this.elements[index] = false;
				}
			}
		}
		return this.elements[index];
	}
}
function addToDom(tagName, target){
	this.target = target;
	this.tag = document.createElement(tagName);
	this.addAttribute = function(name, value, add){
		var attr = document.createAttribute(name);
		attr.nodeValue = value;
		this.tag.setAttributeNode(attr);
		if(add)this.add();
	}
	this.add = function(){
		this.target.appendChild(this.tag);
	}
}
function displayGalleryError(){
	var errorMsg = "Es ist ein Fehler aufgetreten, bitte versuchen Sie es spaeter erneut.";
	alert(errorMsg);
	if(typeof(closeGallery) == 'function')closeGallery();
	return;
}

function RecountIvwPx() {
	$("img[src*='neueoz.ivwbox']").attr("src",
		$("img[src*='neueoz.ivwbox']").attr("src").split("?")[0] + "?r="+escape(document.referrer)+"&d="+(Math.random()*100000)
	);
}