// JavaScript Document
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

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_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_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;
}

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 Kap_Fenster_Oeffnen()
{
fenster1=window.open("clients/ref_kap_1.html","CD_Kap","width=600,height=600,scrollbars=no,toolbars=no,resizable=no");
fenster1.moveTo(300,70);
if(window.focus){
fenster1.focus();
}}


function Wiehre_Fenster_Oeffnen()
{
fenster1=window.open("clients/ref_wiehre_1.html","CD_Wiehre","width=600,height=600,scrollbars=no,toolbars=no,resizable=no");
fenster1.moveTo(300,70);
if(window.focus){
fenster1.focus();
}}


function Lizzy_Fenster_Oeffnen()
{
fenster1=window.open("clients/ref_lizzy_1.html","CD_Lizzy","width=600,height=600,scrollbars=no,toolbars=no,resizable=no");
fenster1.moveTo(300,70);
if(window.focus){
fenster1.focus();
}}




function QueenMum_Fenster_Oeffnen()
{
fenster1=window.open("clients/ref_queenmum_1.html","CD_QM","width=600,height=600,scrollbars=no,toolbars=no,resizable=no");
fenster1.moveTo(300,70);
if(window.focus){
fenster1.focus();
}}




function Coachwerkstatt_Fenster_Oeffnen()
{
fenster1=window.open("clients/ref_coachwerk.html","fly_CW","width=600,height=600,scrollbars=no,toolbars=no,resizable=no");
fenster1.moveTo(300,70);
if(window.focus){
fenster1.focus();
}}




function SozialeStadt_PK_Fenster_Oeffnen()
{
fenster1=window.open("clients/ref_SozStadt.html","pksozstadt","width=600,height=600,scrollbars=no,toolbars=no,resizable=no");
fenster1.moveTo(300,70);
if(window.focus){
fenster1.focus();
}}



function Gropius_Fenster_Oeffnen()
{
fenster1=window.open("clients/ref_gropius1.html","gropi","width=600,height=600,scrollbars=no,toolbars=no,resizable=no");
fenster1.moveTo(300,70);
if(window.focus){
fenster1.focus();
}}



function FacialGabDan_Fenster_Oeffnen()
{
fenster1=window.open("clients/ref_gabdan1.html","gabdan","width=600,height=600,scrollbars=no,toolbars=no,resizable=no");
fenster1.moveTo(300,70);
if(window.focus){
fenster1.focus();
}}



function Vitalcentrum_Fenster_Oeffnen()
{
fenster1=window.open("clients/ref_vital.html","vital","width=600,height=600,scrollbars=no,toolbars=no,resizable=no");
fenster1.moveTo(300,70);
if(window.focus){
fenster1.focus();
}}


function Quartiere_Fenster_Oeffnen()
{
fenster1=window.open("clients/ref_quartiere.html","quartier","width=500,height=780,scrollbars=no,toolbars=no,resizable=yes");
fenster1.moveTo(300,70);
if(window.focus){
fenster1.focus();
}}


function Daalmann_Fenster_Oeffnen()
{
fenster1=window.open("clients/ref_daalmann_log.html","daalmann","width=600,height=600,scrollbars=no,toolbars=no,resizable=no");
fenster1.moveTo(300,70);
if(window.focus){
fenster1.focus();
}}


function Meysel_Fenster_Oeffnen()
{
fenster1=window.open("clients/ref_meysel.html","meysel","width=600,height=600,scrollbars=no,toolbars=no,resizable=no");
fenster1.moveTo(300,70);
if(window.focus){
fenster1.focus();
}}



function Kiarang_Fenster_Oeffnen()
{
fenster1=window.open("clients/ref_kiar_log.html","kiarang","width=600,height=600,scrollbars=no,toolbars=no,resizable=no");
fenster1.moveTo(300,70);
if(window.focus){
fenster1.focus();
}}
		




function Bock_Fenster_Oeffnen()
{
fenster1=window.open("clients/ref_bock.html","bock","width=600,height=600,scrollbars=no,toolbars=no,resizable=no");
fenster1.moveTo(300,70);
if(window.focus){
fenster1.focus();
}}



function Heymann_Fenster_Oeffnen()
{
fenster1=window.open("clients/ref_hey_log.html","heymann","width=600,height=600,scrollbars=no,toolbars=no,resizable=no");
fenster1.moveTo(300,70);
if(window.focus){
fenster1.focus();
}}



function Benkert_Fenster_Oeffnen()
{
fenster1=window.open("clients/ref_benkert_01.html","benkert","width=600,height=600,scrollbars=no,toolbars=no,resizable=no");
fenster1.moveTo(300,70);
if(window.focus){
fenster1.focus();
}}



function Office_Fenster_Oeffnen()
{
fenster1=window.open("clients/ref_office_01.html","office","width=600,height=600,scrollbars=no,toolbars=no,resizable=no");
fenster1.moveTo(300,70);
if(window.focus){
fenster1.focus();
}}



function Tapete_Fenster_Oeffnen()
{
fenster1=window.open("clients/ref_tapete_01.html","tapete","width=600,height=600,scrollbars=no,toolbars=no,resizable=no");
fenster1.moveTo(300,70);
if(window.focus){
fenster1.focus();
}}


function close_window() {
    window.close();
}


function popup (url) {
 fenster = window.open(url, "Popupfenster", "width=1024,height=768,resizable=yes,toolbars=yes,menubar=yes,locationbar=yes,scrollbars=yes");
 fenster.focus();
 return false;
}



