<!--
/*
General functions 
*/
function TwoFrames(URI1, F1, URI2, F2) {
  Frame1=eval("parent." + F1);
  Frame2=eval("parent." + F2);
  Frame1.location.href = URI1;
  Frame2.location.href = URI2;
}

function TwoFramesBack(F1, F2) {
  Frame1=eval("parent." + F1);
  Frame2=eval("parent." + F2);
  Frame1.history.back();
  if (!window.opera) window.setTimeout("Frame2.history.back()",10);
}

function TwoFramesForward(F1, F2) {
  Frame1=eval("parent." + F1);
  Frame2=eval("parent." + F2);
  Frame1.history.forward();
  if (!window.opera) window.setTimeout("Frame2.history.forward()",10);
}

function centeredWindow(w, h, pg) {

	//var w = 550; //Breite des neuen Fensters
	//var h = 450;  //Höhe des neuen Fensters

	var l = (screen.availWidth - w) / 2;
	var t = (screen.availHeight - h) / 2;

    //var s = "../" + pg;

	params = ('width='+ w +',height='+ h +',left='+ l +',top='+ t + ',scrollbars=1,resizable=1');

	//f = window.open('centered.html','name',params);
	f = window.open(pg, 'name', params);
	f.focus();
}

function infoWindow(l, t, w, h, pg) {

	//var w = 550; //Breite des neuen Fensters
	//var h = 450;  //Höhe des neuen Fensters

	//var l = (screen.availWidth - w) / 2;
	//var t = (screen.availHeight - h) / 2;

    //var s = "../" + pg;

    //alert('1w= ' + w + ' h= ' + h);

	params = ('width='+ w +',height='+ h +',left='+ l +',top='+ t + ',scrollbars=1,resizable=1');

	//f = window.open('centered.html','name',params);
	f = window.open(pg, 'name', params);

    //alert('2w= ' + w + ' h= ' + h);

	f.resizeTo(w, h + 40);
    f.focus();
}

//-->