var hub_mouseoverelement = "";
var hub_current = "";


function hub_reset() {
    hub_toggle_(hub_current);
}

function hub_toggle(id){
    hub_mouseoverelement = id;
    window.setTimeout("hub_toggle__('" + id + "')", 250);
}
function hub_toggle__(id) {
    if (hub_mouseoverelement == id)
        hub_toggle_(id);
}
function hub_toggle_(id) {
    var o = document.getElementById(id);
    if (o) {
        p = o.parentNode;
        for (var i = 0; i < p.childNodes.length; i++) {
            var c = p.childNodes[i];
            if (c != o) { c.style.display = 'none' }
        }
        o.style.display = 'block';
    }
}
function hub_sbpiform(){
	var v=document.getElementById("hub_pc").value;
	v=v.replace(/[^0-9]/ig,"");
	if (v.length != 5 || isNaN(parseInt(v, 10))) {
	    alert("Bitte geben Sie eine 5-stellige Postleitzahl für Ihre Suche an.");
	    return false
	}
	else {
	    s.linkTrackVars = 'events'; s.linkTrackEvents = 'event11'; s.events = 'event11'; s.tl(this, 'o', v);
	}
}
function hub_sbpiinput(that){
	that.value=that.value.replace(/[^0-9]/ig,"");
	that.style.color="black";
	that.style.fontStyle="normal";
}
function hub_sfsearchform(){

}