<!--

//////// I M A G E * S W A P

browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);
if ((browserName == "Netscape" && browserVer >= 3) || (browserVer >= 4)) 
	canRoll = true;
else
	canRoll = false;

anypic = new Image(); anypic.src = "img/nav_main_comm.gif";

function hiLite(imgID, imgName) {
	if (canRoll) {
		document.images[imgID].src = eval(imgName + ".src");
	}
}

function hiLite_contact(imgID, imgName) {
	if ((canRoll) && (g_win_focus == true)) {
		document.images[imgID].src = eval(imgName + ".src");
	}
}

//////// W I N D O W * O P E N

var platform= navigator.platform;
var tmp = 0;

	// initial browser check
	n = (document.layers)?1:0;
	n6 = ((navigator.appName=="Netscape")&&(parseInt(navigator.appVersion)==5))?1:0;
	ie = (document.all)?1:0;

function launch(url) {
	if (n) tmp_browser = "ns";
	if (n6)	tmp_browser = "n6";
	if (ie) tmp_browser = "ie";
	if (platform != "MacPPC") {
		tmp = "win";
		var url_edit = tmp + "_" + tmp_browser + "_" + url;
	}
	else {
		tmp = "mac";
		if (tmp_browser == "n6") {
			var url_edit = tmp + "_" + tmp_browser + "_" + url;
		}
		else {
			var url_edit = tmp + "_" + url;
		}
	}
  	var remote = open(url_edit, "floater", "width=409,height=495,directories=0,fullscreen=0,location=0,menubar=0,resizable=1,scrollbars=0,status=0,toolbar=0");
	resize(remote);
}

function resize(win) {
	if ((platform == "Win32") || (platform == "Win16"))  {
		if (ie) win.resizeTo(419,520);
		if (n) win.resizeTo(409,525);
		win.setResizable(false);
	}
}


function freelaunch(url,w,h) {
	if (n) tmp_browser = "ns";
	if (n6)	tmp_browser = "n6";
	if (ie) tmp_browser = "ie";
	if (platform != "MacPPC") {
		tmp = "win";
		var url_edit =  url;
	}
	else {
		tmp = "mac";
		if (tmp_browser == "n6") {
			var url_edit =  url;
		}
		else {
			var url_edit =  url;
		}
	}
  	var remote = open(url_edit, "popup", "width="+w+",height="+h+",directories=0,fullscreen=0,location=0,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0");
	if ((!ie) && (tmp != "win")) {
		freesize(remote,w,h);
	}
}

function freesize(win,ww,hh) {
	if ((platform == "Win32") || (platform == "Win16"))  {
		if (ie) win.resizeTo(ww+10,hh+25);
		if (n) win.resizeTo(ww,hh+30);
		win.setResizable(false);
	}
}

function reflaunch(url,w,h) {

  	var remote = open(url, "popup", "width="+w+",height="+h+",directories=0,fullscreen=0,location=0,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0");
	refsize(remote,w,h);
}

function refsize(win,ww,hh) {
	if ((platform == "Win32") || (platform == "Win16"))  {
		if (ie) win.resizeTo(ww+10,hh+25);
		if (n) win.resizeTo(ww,hh+30);
//		win.setResizeable(false);  Auskommentiert Joerg 27.2.2001 wegen Javascripterror unter IE 5.x Windows. Ist ja gar nicht noetig.
	}
}













//-->