/* Wieselnetz - JavaScript */

function linkHeader() {
		// getElementById not supported -> cancel
	if (!document.getElementById)
		return;
	
		// find header container
	var header = document.getElementById("header");
	
		// header not found -> cancel
	if (header == null)
		return;
	
		// set hand cursor (if available)
	try {
		header.style.cursor = "pointer";
	} catch(err) {
	}
	header.title = "home";
	
		// register click handler
	header.onclick = function() {
		if (baseURL.length == 0) {
		  baseURL = window.location.protocol + "//" + window.location.host;
		}
		if (baseURL.length > 0) {
			location.href = baseURL;
		}
		return false;
	}
}


window.onload = linkHeader;

