function impressum() {
  Impressum = window.open("impressum.php", "Impressum", "width=480,height=450");
  Impressum.focus();
}

function ImageSwap(rmImage, rmSrc){
var objStr,obj;
if(document.images){
if (typeof(rmImage) == 'string') {
objStr = 'document.' + rmImage;
obj = eval(objStr);
obj.src = rmSrc;
} else if ((typeof(rmImage) == 'object') && rmImage && rmImage.src) {
rmImage.src = rmSrc;
}
}
}

function PreloadImages() {
if (document.images) {
if (typeof(document.rm) == 'undefined'){
document.rm = new Object();
}
document.rm.loadedImages = new Array();
var argLength = PreloadImages.arguments.length;
for(arg=0;arg<argLength;arg++) {
      document.rm.loadedImages[arg] = new Image();
      document.rm.loadedImages[arg].src = PreloadImages.arguments[arg];
    }
  }
}

function css_change(id,color) 
{
	document.getElementById(id).style.color=color; 
}

function change_bg(id,color) 
{
document.getElementById(id).style.backgroundColor=color;
}

function anfrage(name) {
  Anfrage = window.open("formular.php?id="+name, "Anfrageformular", "width=680,height=560");
  Anfrage.focus();
}

function disclaimer() {
  Disclaimer = window.open("disclaimer.php", "Disclaimer", "width=480,height=540,scrollbars=yes");
  Disclaimer.focus();
}

function agb() {
  AGB = window.open("agb.php", "AGB", "width=480,height=540,scrollbars=yes");
  AGB.focus();
}
