var _major = parseInt(navigator.appVersion);
var _ie4up = ((navigator.appName == "Microsoft Internet Explorer") && (_major >= 4));
var _moz = ((navigator.appName == "Netscape") && (_major >= 5));

_pixadd = new Array();
_pix = new Array();

var _xpix = 0;
var _ypix = 0;
 

function picassogal(){
	 while(_xpix <= eval(_pixadd.length-1)){
	   _pix[_xpix] = new Array();
	   while(_ypix <= eval(_pixadd[_xpix].length-1))
	    {
	     _pix[_xpix][_ypix] = new Image();
	     _pix[_xpix][_ypix].src = _pixfolder[_xpix] + _pixadd[_xpix][_ypix];
	     _testx =  _pixfolder[_xpix] + _pixadd[_xpix][_ypix];
	     _ypix++;
	    }
	  _ypix = 0;
	  _xpix++;
	 }
	}
 

function picasso(_name,_px,_py){
	 if(_ie4up || _moz){document.images[_name].src = _pix[_px][_py].src;}
	}

_pixadd[0] = new Array('1a.gif','1b.gif','2a.gif','2b.gif','3a.gif','3b.gif','4a.gif','4b.gif','5a.gif','5b.gif','6a.gif','6b.gif','7a.gif','7b.gif','8a.gif','8b.gif','9a.gif','9b.gif');
_pixfolder = new Array('sources/de_mmenu_');
picassogal();


function uhr ()
	 {   
	  var now = new Date();
		    
	  var stunden = (now.getHours() < 10) ? ("0" + now.getHours()) : (now.getHours());
	  var minuten = (now.getMinutes() < 10) ? ("0" + now.getMinutes()) : (now.getMinutes());
	  var sekunden = (now.getSeconds() < 10) ? ("0" + now.getSeconds()) : (now.getSeconds());
		   
       window.document.Zeit.Time.value=stunden+":"+minuten+":"+sekunden;
       window.setTimeout ('uhr()',1000);
	 }


		
function OpenDialog(dlghref,dlgwidth,dlgheight)	
    {
    dlgtop = (window.screen.height- dlgheight)/2;
    dlgleft = (window.screen.width - dlgwidth)/2;
    window.open(dlghref,"_blank","height=" + dlgheight + ",width=" + dlgwidth + ",top=" + dlgtop + ",left=" + dlgleft + ",location=no, menubar=no, resizable=1, status=no, titlebar=no, toolbar=no, personalbar=no, scrollbars=yes");
    }
 

function NewQEP(id)
    {
    OpenDialog("http://dostal-gyn.de/QEP_Zertifizierung.html?ID=" + id,620,850);
    }
		
		