<!--

/* blur links 
----------------------------------------------------------------------- */

function BlurLinks(){
	// Text- u. Grafik-Links
	lnks=document.getElementsByTagName('a');
	for(i=0;i<lnks.length;i++){
		lnks[i].onfocus=new Function("this.blur()");
	}

	// ImageMaps
	lnks=document.getElementsByTagName('area');
	for(i=0;i<lnks.length;i++){
		lnks[i].onfocus=new Function("this.blur()");
	}
}

onload=BlurLinks;


/* popup
----------------------------------------------------------------------- */

function setNewWindow(){
	/*
		 1. url  2. window name  3. width  4. height  5. top  6.left
		 7. resizable  8. toolbar 9. scrollbars 10. location 11. menubar 12. status
	*/
	var args = arguments;
	var setWindowValue = 'width=' + ((args[2]) ? args[2] : screen.width-30)
		+ ',height=' + ((args[3]) ? args[3] : screen.height-30)
		+ ',top=' + ((args[4]) ? args[4] : 30)
		+ ',left=' + ((args[5]) ? args[5] : 30)
		+ ',resizable=' + ((args[6]) ? 1 : 0)
		+ ',toolbar=' + ((args[7]) ? 1 : 0)
		+ ',scrollbars=' + ((args[8]) ? 1 : 0)
		+ ',location=' + ((args[9]) ? 1 : 0)
		+ ',menubar=' + ((args[10]) ? 1 : 0)
		+ ',status=' + ((args[11]) ? 1 : 0);
	var newWindow = window.open(args[0],args[1],setWindowValue);
	newWindow.focus();
}
function subWindow(url){
  setNewWindow(url,'subWindow',600,600,30,30,1,1,1,1,1,1);
}


/* DHTML Display */
function HideContent(d) {
  if (document.getElementById(d) != null) document.getElementById(d).style.display = "none";
}

function ShowContent(d) {
  if (document.getElementById(d) != null) document.getElementById(d).style.display = "block";
}


//-->