function loadimg() {
 //   var imgList = new Array('images/01.gif', 'images/02.gif', 'images/03.gif', 'images/04.gif', 'images/05.gif', 'images/06.gif', 'images/07.gif', 'images/08.gif', 'images/09.gif');
 //   var dummyImgList = new Array();
    
 //   for (i=0; i<imgList.length; i++) {
 //       dummyImgList[i] = new Image();
 //       dummyImgList[i].src = imgList[i];
 //   }
}

function findObj(n, d) { 
  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=findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function pop(ziel,b,h) {
         var parameter = 'height=' + h + ',width=' + b + ',hotkeys=no,location=no,' +
             'menubar=no,personalbar=no,resizable=no,status=no,titlebar=yes,toolbar=no,scrollbars=yes';
         if (window.popUp && !window.popUp.closed) {
            
            if (window.resizeTo) {
            
               window.popUp.resizeTo(b,h);
               window.popUp.location.href=ziel;
               window.popUp.focus();
            }
            else {
            
                 if (!window.popUp.closed) window.popUp.close();
                 popUp = window.open(ziel,'Infofenster',parameter);
            }
         }
         else {
              popUp = window.open(ziel,'Infofenster',parameter);
         }
}

function Clipboard(obj)
{
	obj = findObj(obj);
	
	if (obj) {
		window.clipboardData.setData('Text', obj.value);
	}
}

// --------------------------------------------------------------------------------------------------------------

function preload() {

	document.images[22].src='images/03on.gif';
	document.images[22].src='images/03off.gif';
	
	document.images[26].src='images/05on.gif';
	document.images[26].src='images/05off.gif';
	
	document.images[30].src='images/07on.gif';
	document.images[30].src='images/07off.gif';
	
	document.images[32].src='images/09on.gif';
	document.images[32].src='images/09off.gif';


}


