function form_TC_contact_DE()
{
	wnd=window.open('TC_contact_DE.php', '_blank', 'directories=no,menubar=no,toolbar=no,status=no,scrollbars=no,resizable=no,width=600,height=420,left=' + (window.screen.availWidth/2-300) + ',top=' + (window.screen.availHeight/2-210));
	wnd.focus();
}
function form_TC_contact_EN()
{
	wnd=window.open('TC_contact_EN.php', '_blank', 'directories=no,menubar=no,toolbar=no,status=no,scrollbars=no,resizable=no,width=600,height=420,left=' + (window.screen.availWidth/2-300) + ',top=' + (window.screen.availHeight/2-210));
	wnd.focus();
}

function image_popup(shckp,shckti,shckte)
{ var undefined;

  if (shckte==undefined)
  {shckte='Zoombild schliessen';}

  if (shckti==undefined)
  {shckti='Popup';}

  shcknw = window.open('', 'wnd_image_popup','width=10,height=10,resizable=0');
  shcknw.focus();
  
  with (shcknw)
  {
    document.open();
    //document.write('<!--\n\t© Christian Köchy\n\thttp://www.shck.de\n\tmail@shck.de\n-->\n\n');
    document.write('<title>'+shckti+'</title>');
    document.write('<meta http-equiv=\"imagetoolbar\" content=\"no\">');
    document.write('<body leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\" marginheight=\"0\" scroll=\"no\" onload=\"opener.shckrez(document.images[0].width,document.images[0].height)\">')
    document.write('<table cellspacing="0" cellpadding="0" border="0" height="100%" width="100%" bgcolor="#F4F7F9"><tr><td align="center" valign="middle">')
    document.write('<a href=\"javascript:self.close()\">');
    document.write('<img src=\"'+shckp+'\" border=\"0\" alt=\"'+shckte+'\">')
    document.write('</td></tr></table>');
    document.close();
  }
}

function shckrez(x,y)
{
if (navigator.appName.toLowerCase() == 'microsoft internet explorer')
  {

 /*if (navigator.appVersion.charAt(0) == "7"){
 	
 		shcknw.resizeTo(x+38,y+48);
	}*/

 if ((navigator.userAgent.toLowerCase().indexOf('aol')==-1) && (navigator.userAgent.toLowerCase().indexOf('opera')==-1))
     {shcknw.resizeTo(x+20,y+86); 	}  
    
 if (navigator.userAgent.toLowerCase().indexOf('opera')!=-1)
     {shcknw.resizeTo(x+12,y+31); }

 if (navigator.userAgent.toLowerCase().indexOf('aol')!=-1)
     {shcknw.resizeTo(x+4,y+4); }
 

  
}
else
{

if(navigator.appVersion.substring(0,1) < "5")
{shcknw.resizeTo(x,y);}
else
{shcknw.resizeTo(x+8,y+58);}
}

shckx=(screen.availWidth/2)-(x/2);
shcky=(screen.availHeight/2)-(y/2);

shcknw.moveTo(shckx,shcky);
}