// only for IE
var myrules = {
'#head ul li' : function(el)
{
// only for IE
if(document.all)
{
el.onmouseover = function()
{
$(el).addClassName("over");
}
el.onmouseout = function()
{
$(el).removeClassName("over");
}
}
},
'#head ul li a' : function(el)
{
el.onclick = function()
{ 
if(el.parentNode.childNodes.length > 1)
return false;
}
},
'#head ul li ul li a' : function(el)
{
el.onclick = function()
{ 
return true;
}
},
'a.map' : function(el)
{
el.onclick = function()
{
window.open(el.href, "map_window", "status=0,toolbar=0,height=600,width=600");
return false;
}
},
'form' : function(el)
{
if(el.action == "/forms/submit/1/")
{
el.onsubmit = function()
{
if(
$('form1_existenzgruendung').checked ||
$('form1_praxisabgabe').checked ||
$('form1_controlling').checked ||
$('form1_ich-bitte-um-kontaktaufnahme').checked ||
$('form1_ihre-fragenanregungensonstiges').value != ""
)
{
return true;
}
else
{
alert("Sie müssen einen Bereich anklicken oder das Textfeld für weitere Angaben nutzen.");
return false;
}
}
}
}
}
if( typeof Behaviour != "undefined")
Behaviour.register(myrules);

