<!-- hide if no scripting possible

function doOpenDoc(sFrame,sURL) {
  
  if (window.parent.frames.length>0) {
    theFrame= eval('parent.'+sFrame);
    if (theFrame) {
      theFrame.location.href= sURL;
    }
  }
}


function doOpenImg(sURL, theWidth, theHeight) {
 document.open();
 document.writeln("<body onClick=\"javascript:history.back();\"><center>");
 document.writeln("<br>");
 document.writeln("<br>");
 document.writeln("<img src=\"" + sURL + "\" height=\"" + theHeight + "\" width=\"" + theWidth + "\" border=\"0\">");
 document.writeln("<br>");
 document.writeln("<h1><u>Zur&uuml;ck</u></h1>");
 document.writeln("</center></body>");

 document.close();
}


function doOpenImgExtren(sURL, theWidth, theHeight) {
  sStr= 'toolbar=0,menubar=0,scrollbars=0,status=0,resizable=0,top=0,left=0';
  if (theHeight!=undefined) sStr += ',height=' + theHeight;
  if (theWidth!=undefined) sStr += ',width=' + theWidth;
  myWindow= window.open(sURL, null, sStr);

  if(document.all && ! window.opera) {
    do {} while (myWindow.document.body==null);
    myWindow.document.body.leftMargin=0;
    myWindow.document.body.topMargin=0;
    myWindow.document.title='Zoom - ' + ((window.document.title!=undefined) ? window.document.title : '...');
  }
}

// IE 5.5 and 6.0 has difficulties displaying backgrounds,
// So let's do some manual refresh

function doFixIE(iCode) {
  	if (navigator.appName == "Microsoft Internet Explorer") {
		  document.body.doScroll("scrollbarDown");
		  document.body.doScroll("scrollbarUp");
	}
}

// thePicArray
// 0: Counter (reserved)
// 1..n: Path 2 PicSources
// tName: Name of image
// Wechselt die Bilder sequentiell	
function doChangePics(tName, thePicArray) {
var i= thePicArray[0];
	  
  i= (i<thePicArray.length-1) ? i+1 : 1;
  tName.src= thePicArray[i];	  
  thePicArray[0]=i;
}
   

// Noch nicht ganz ausgereift...
// thePicArray: Bilder - theTextArray: Texte
// 0: Counter (reserved)
// 1..n: Path 2 PicSources
// tName: Name of image, dName: Name of DIV
// Wechselt die Bilder sequentiell	
function doChangeAds(tName, dName, thePicArray, theTextArray) {
var i= thePicArray[0];
	  
  i= (i<thePicArray.length-1) ? i+1 : 1;
  tName.src= thePicArray[i];
  alert(theTextArray[i]);
  dName.innerHTML= theTextArray[i];
  thePicArray[0]=i;
}

// -->

