/*
jordanien.js: kursspezifische JavaScript-Datei fuer die 
E-Learning-Plattform

© 2003 ars navigandi GmbH http://www.arsnavigandi.de
Erstellt: 08-Sep-2006 Geaendert: 08-Sep-2006
*/


// ------------------------------------------------------------------------------------------------
// kursspezifische Funktionen
// ------------------------------------------------------------------------------------------------

// ------------------------------------------------------------------------------------------------
// Preload-Funktion fuer MouseOver-Bilder
// ------------------------------------------------------------------------------------------------

function preload_images() {
if (document.images) {
	}
}

// ------------------------------------------------------------------------------------------------
// SwitchImage-Funktion fuer MouseOver-Bilder
// ------------------------------------------------------------------------------------------------

function switchImage(imgName, imgSrc) 
{
  if (document.images)
  {
    if (imgSrc != "none")
    {
      document.images[imgName].src = imgSrc;
    }
  }
}

/* Function newWindow
   Creates a new popup-window width defined width and height on a defined position
   myFile: a URL
   internTitle: the internal JS-Title
   the rest should be clear */
function newWindow(myFile,internTitle,myWidth,myHeight,xPos,yPos) {
	this[internTitle]= open(myFile,internTitle,'width='+myWidth+',height='+myHeight+',screenX='+xPos+',screenY='+yPos+',dependent=no,scrollbars=yes,resizable=yes');
	this[internTitle].moveTo(xPos,yPos);
	this[internTitle].resizeTo(myWidth,myHeight);
	this[internTitle].self.focus();
}


