﻿// JScript-Datei
function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function changeImages(bild_over) {
	if (document.images && (preloadFlag == true)) {
	  var europa = document.getElementById("europa");
	  if (europa.src) {
	    europa.src = bild_over;
	  }
	}
	return true;
}

var preloadFlag = false;
function preloadImages() {
	if (document.images) {
		europa_e = newImage("/grafik/imagemaps/europa_e.gif");
		europa_f = newImage("/grafik/imagemaps/europa_f.gif");
		preloadFlag = true;
	}
	return true;
}

function startLyteFrame(title, url) {
  var anchor = this.document.createElement('a');
  anchor.setAttribute('rev', 'width:600px; height:400px; scrolling:auto;');
  anchor.setAttribute('title', title);
  anchor.setAttribute('href', url);
  anchor.setAttribute('rel', 'lyteframe');
  myLytebox.start(anchor, false, true);
  return false;
}
