<!--//--><![CDATA[//><!--

sfHover = function() {
	var sfEls = document.getElementById("tabs").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);

$(function(){
  // Document is ready
  $("#tabs .active_sub").each(function(i){
  		$(this).parent().parent().parent().addClass("active");
	});
  $(".maint").each(function(i){
		this.onclick = function() {
			location.href=location.href+"?mode=edit";
		}
	});
});

function safeMail(part1,part2,part3) {
	document.write("<a href=\"mail" + "to:" + part1 + "@" + part2 + "." + part3 + "\">" + part1 + "@" + part2 + "." + part3 + "</a>");
}
//--><!]]>
