function click()
{
if (event.button==2)
{ alert('Alle Rechte bei den Herausgebern: © Praxis Dr. Grammatidis und www.kima-werbung.de')
}
}
document.onmousedown=click

function popup (url) {
 fenster = window.open(url, "Infoportal", "width=760,height=650,resizable=no,scrollbars=no");
 fenster.focus();
 return false;
}

function kontakt (url) {
 fenster = window.open(url, "Kontakt", "width=525,height=475,resizable=no,scrollbars=no");
 fenster.focus();
 return false;
}

function callback (url) {
 fenster = window.open(url, "Callback", "width=525,height=300,resizable=no,scrollbars=no");
 fenster.focus();
 return false;
}


function openwin(url) 
{
window.open
window.open(url,'infowindow','align=center,width=760,height=650,scrollbars=no,statusbar=no,resizable=no,toolbar=no,menubar=no').focus();
}

function PlaybgSound(url) 
{
document.all.sound.src = url;
}



function openwin1(url) 
{
window.open
(url,'impressum','align=center,width=400,height=720,scrollbars=no,statusbar=no,resizable=no,toolbar=no,menubar=no').focus();
}

function PlaybgSound(url) 
{
document.all.sound.src = url;
}



function openwin2(url)
 {
window.open(url,'gutschein','align=center,width=500,height=665,scrollbars=no,statusbar=no,resizable=yes,toolbar=no,menubar=no').focus();
}


function openwin3(url) {
window.open('http://www.kima-werbung.de/grammatidis-kontakt_formular.htm','fragen','align=center,width=525,height=435,scrollbars=no,statusbar=no,resizable=no,toolbar=no,menubar=no').focus();
}

function openwin4(url) {
window.open('http://www.kima-werbung.de/grammatidis-callback_formular.htm','callback','align=center,width=525,height=275,scrollbars=no,statusbar=no,resizable=no,toolbar=no,menubar=no').focus();
}





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 opencallback(){
	var windowName = "thecallbackpopup";
	var the_file = "callback_formular.htm";
	var my_width = 520;
	var my_height = 260;
	
	var params = "width=" + my_width + ", height=" + my_height + ",scrollbars=no,statusbar=no,resizable=no,toolbar=no,menubar=no";
	var window_left = (screen.width - my_width)/2;
	var window_top = (screen.height - my_height)/2;
	newwin = window.open(the_file, windowName, params); 
	newwin.moveTo(window_left,window_top);
}




function openfrage(){
	var windowName = "thequestionpopup";
	var the_file = "kontakt_formular.htm";
	var my_width = 520;
	var my_height = 430;
	
	var params = "width=" + my_width + ", height=" + my_height + ",scrollbars=no,statusbar=no,resizable=no,toolbar=no,menubar=no";
	var window_left = (screen.width - my_width)/2;
	var window_top = (screen.height - my_height)/2;
	newwin = window.open(the_file, windowName, params); 
	newwin.moveTo(window_left,window_top);
}



function showHideLayers() { 
  var i, visStr, args, theObj;
  args = showHideLayers.arguments;
  for (i=0; i<args.length; i+=2) { //with arg triples (objNS,objIE,visStr)
    theObj = args[i];
    if (navigator.appName == 'Netscape' && document.layers != null) {
      visStr = args[i+1];
      if (document.layers[theObj]) document.layers[theObj].visibility = visStr;
    } else {
      visStr = args[i+1] == 'show' ? 'visible' : 'hidden';
      if (document.all != null) { //IE
        if (document.all[theObj]) document.all[theObj].style.visibility = visStr;
      } else {
        if (document.getElementById(theObj)) document.getElementById(theObj).style.visibility = visStr;
      }
    } 
  }
}


function MM_findObj(n, d) { //v3.0
  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); return x;
}



StartOn= new Image(128,33);
StartOn.src="images/zur_startseite_1.gif";  
StartOff= new Image(128,33);
StartOff.src="images/zur_startseite.gif";

function buttonon(imgName) {
   if (document.images) {
      imgsrc=eval(imgName + "On.src");
      document[imgName].src= imgsrc;
   }
}

function buttonoff(imgName) {
   if (document.images) {
      imgsrc=eval(imgName + "Off.src");
      document[imgName].src= imgsrc;
   }
}


