<!--  
function contactPopUp(){   
//Get dimensions of the window
if(n4 || n6){
 //win_width=window.innerWidth;
 //win_height=window.innerHeight; 
   win_width=screen.width;
  win_height=screen.height;
}else if(ie) {
  //win_width=document.body.clientWidth;
  //win_height=document.body.clientHeight;
 win_width=screen.availWidth;
 win_height=screen.availHeight;
  }  
 
centerhor = win_width/2;
centerver = win_height/2;

_width  = 800;
_height = 600;
xPos    = centerhor -_width/2;
yPos    = centerver -_height/2;


var wProperties = "left="+xPos+", top="+yPos+",screenX="+xPos+",screenY="+yPos+", width="+_width+", height="+_height+", statusbar.visible=false, menubar.visible=false, locationbar.visible=false, toolbar.visible=false"; 

statusbar="false", menubar="false", locationbar="false", toolbar="false"

//var w_indow = window.open("./SOURCE/C_ontaktformular_1.htm", "_blank", "width=550,height=385,left=0,top=0");	
var w_indow = window.open("./SOURCE/C_ontaktframe.htm", "Cpopup", wProperties);
}


function sichtbar(elem1, elem2){
x=eval(doc+elem1+sty); 
x.visibility = "hidden"; 
y=eval(doc+elem2+sty);
y.visibility = "visible";
} 


function switchContact(){ 

var cf1 ="divSWalert";
var docObj = eval(doc + cf1 + sty);
docObj.visibility = "hidden";

var cf1 ="attachTxt";
var docObj = eval(doc + cf1 + sty);
docObj.visibility = "visible";  
var cf1 ="contactForm1";
var docObj = eval(doc + cf1 + sty);
docObj.visibility = "visible"; 
var at ="divAt";
var docObj  = eval(doc + at + sty);
docObj.visibility = "hidden";
}

function success(){  
var cf1 ="attachTxt";
var docObj = eval(doc + cf1 + sty);
docObj.visibility = "hidden"; 
var cf1 ="attach";
var docObj = eval(doc + cf1 + sty);
docObj.visibility = "hidden"; 
var cf1 ="contactForm1";
var docObj  = eval(doc + cf1 + sty);
docObj.visibility = "hidden"; 
var at ="divAt";
var docObj  = eval(doc + at + sty);
docObj.visibility = "visible";
}                                                                  

var contact_self = function(){   
var vContactForm = '<div id="contactForm1" style="position:absolute;border:none;width:600px;height:400px;padding:20px; margin:0; font:0.8em  verdana,sans-serif;color:#000;text-align: left;">';
vContactForm += '<form target="ime" name="ae" action="&#83;&#79;&#85;&#82;&#67;&#69;&#47;&#80;&#72;&#80;&#47;&#97;&#101;&#95;&#109;&#97;&#105;&#108;&#95;&#115;&#101;&#108;&#102;&#46;&#112;&#104;&#112;" enctype="multipart\/form-data" method="POST" >';
vContactForm += '<p class="fieldname" style="font-family:verdana,sans-serif;font-size:1.2em;font-weight:bold;letter-spacing:0em;color:#666;width:100%">Betreff:<\/p>';
vContactForm += '<p><input class="betreff" value="" name="vSubject"  type="text" style="border:1px solid #c8c8c8; width:99%;font-family:georgia,sans-serif;letter-spacing:1px;" \/><\/p>';
vContactForm += '<p class="fieldname" style="font-family:verdana,sans-serif;font-size:1.2em;font-weight:bold;letter-spacing:0em;color:#666;width:100%">Nachricht:<span class="subtxt" style="font-size:0.7em; color:#888; letter-spacing:0px;">&nbsp;[&nbsp;Bitte vergessen Sie nicht, eine Kontaktmöglichkeit mitzuteilen!&nbsp;]<\/span><\/p>';
vContactForm += '<p><textarea class="kontaktarea" value="" name="vMessage" style="border:1px solid #c8c8c8;width:99%;height:10em;font-family:georgia,sans-serif;letter-spacing:1px;"><\/textarea><\/p>';
vContactForm += '<p id="attachTxt" class="txt" style="color: #666;"><a href="javascript:sichtbar(\'attachTxt\',\'attach\')" style="color:#666;text-decoration:none;">Sie k&ouml;nnen ebenso eine Datei als Anhang senden<\/a><\/p>';
vContactForm += '<p id ="pAttach" style="width:100%;margin-top:-30px;"><input id="attach" type="file" name="vAttachment" style="width:100%;text-align:right;visibility:hidden;" \/><\/p>';
vContactForm += '<div id="fb1" class="formButtons1" style="position:absolute;width:80px;margin-top:100px;font-family:verdana,sans-serif;font-size:0.7em; color:#888; letter-spacing:0px;"><a href="javascript:document.forms[0].reset()" style="color:#666;">L&Ouml;SCHEN<\/a><\/div>';
vContactForm += '<div id="fb2" class="formButtons2" style="position:absolute;width:80px;margin-top:100px;left:120px;font-family:verdana,sans-serif;font-size:0.7em; color:#888; letter-spacing:0px;" onMouseDown="now()"><a href="javascript:document.forms[0].submit()" style="color:#666;">SENDEN<\/a><\/div>';
vContactForm += '<div id="fb3" class="formButtons3" style="position:absolute;width:400px;margin-top:100px;right:30px;text-align:right;font-family:verdana,sans-serif; font-size:0.7em; color:#888; letter-spacing:0px;">Sie können ebenso eine Nachricht an:&nbsp;<a href="&#109;&#97;&#105;&#108;&#116;&#111;&#58;&#109;&#97;&#105;&#108;&#64;&#97;&#108;&#98;&#101;&#114;&#116;&#101;&#98;&#101;&#114;&#116;&#46;&#100;&#101;" style="color:#666;">&#109;&#97;&#105;&#108;&#64;&#97;&#108;&#98;&#101;&#114;&#116;&#101;&#98;&#101;&#114;&#116;&#46;&#100;&#101;</a>&nbsp;senden.</div>';
vContactForm += '<p id="h_idden" style="visibility:hidden;">';
vContactForm += '<input id="date" type="hidden" value="" name="vDate" \/>';
vContactForm += '<iframe src=""  id="ime" name="ime"><\/iframe>';
vContactForm += '<\/p>';
vContactForm += '<\/form>';
vContactForm += '<p id="wClose" class=""><a href="javascript:success();">schlie&szlig;en</a></p></p>';
vContactForm += '<\/div>';
document.write(vContactForm);  

if(n4 || n6){
 win_width=window.innerWidth;
 win_height=window.innerHeight; 
}else if(ie) {
  win_width=document.body.clientWidth;
  win_height=document.body.clientHeight;
     }  
 
centerhor = win_width/2;
centerver = win_height/2;

w_idth  = 600;
h_eight = 400;
xPos    = centerhor -w_idth/2;
yPos    = 20   //centerver -h_eight/2;


var cf1 ="contactForm1";
var docObjCF1  = eval(doc + cf1 + sty);

if (document.all) {
    if(win_height>h_eight){
        docObjCF1.pixelTop = yPos;
    }else{
        docObjCF1.pixelTop = 20;  // (centerver - (h_eight/2));	
    }
    if(win_width >w_idth){
        docObjCF1.pixelLeft = xPos;
    }else{
        docObjCF1.pixelLeft =  30;  // (centerhor - (w_idth/2));
    }
}else {
    if(win_height>h_eight){	
docObjCF1.top = yPos +"px";
}else{
docObjCF1.top =  20  +"px";// (centerver - (h_eight/2)) +"px";	
}  
if(win_width>w_idth){	
docObjCF1.left = xPos+"px";
}else{
docObjCF1.left = 30  +"px";// ((centerhor - (w_idth/2))+"px";
}
}

docObjCF1.visibility = "hidden";
}



window.onresize = function(){
fResize();
}


var fResize = function(){
if(n4 || n6){
 win_width=window.innerWidth;
 win_height=window.innerHeight; 
}else if(ie) {
  win_width=document.body.clientWidth;
  win_height=document.body.clientHeight;
     }  
 
centerhor = win_width/2;
centerver = win_height/2;

w_idth  = 600;
h_eight = 400;
xPos    = centerhor -w_idth/2;
yPos    = 20   //centerver -h_eight/2;


var cf1 ="contactForm1";
var cf2 ="contactForm2";
var sw ="divSW";
if (eval(doc + cf1 + doc3)!=null){
var docObjCF  = eval(doc + cf1 + sty);
var w_idth  = 600;
var h_eight = 400;
xPos    = centerhor -w_idth/2;
yPos    = 20   //centerver -h_eight/2;
}else if(eval(doc + cf2 + doc3)!=null){
var docObjCF  = eval(doc + cf2 + sty);
var w_idth  = 600;
var h_eight = 400;
xPos    = centerhor -w_idth/2;
yPos    = 20   //centerver -h_eight/2;
}else if(eval(doc + sw + doc3)!=null){
var docObjCF  = eval(doc + sw + sty);
var w_idth  = 829;
var h_eight = 524;
xPos    = centerhor -w_idth/2;
yPos    = centerver -h_eight/2;
}else{}

if (document.all) {
    if(win_height>h_eight){
        docObjCF.pixelTop = yPos;
    }else{
        docObjCF.pixelTop = 20;  // (centerver - (h_eight/2));	
    }
    if(win_width >w_idth){
        docObjCF.pixelLeft = xPos;
    }else{
        docObjCF.pixelLeft =  30;  // (centerhor - (w_idth/2));
    }
}else {
    if(win_height>h_eight){	
docObjCF.top = yPos +"px";
}else{
docObjCF.top =  20  +"px";// (centerver - (h_eight/2)) +"px";	
}  
if(win_width>w_idth){	
docObjCF.left = xPos+"px";
}else{
docObjCF.left = 30  +"px";// ((centerhor - (w_idth/2))+"px";
}
}
}
//-->  
