function sendRequest(domref){var req;try{req=window.XMLHttpRequest?new XMLHttpRequest():new ActiveXObject("Microsoft.XMLHTTP");}catch(e){}
req.open('POST','typo3conf/ext/vn_stefanusgemeinschaft/pi1/ajax.php');req.setRequestHeader('Content-Type','application/x-www-form-urlencoded');req.send(domref!==null?'text='+domref.value+'&name='+domref.name:'');req.onreadystatechange=function(){if(req.readyState==4){var data=eval('('+req.responseText+')');document.getElementById('course-information').innerHTML=data;jQuery('#course-information').slideDown('slow',function($){});}}
return false;}
jQuery(function($){var $el,leftPos,newWidth,$mainNav=$("#magic-nav");$mainNav.append("<li id='magic-line'></li>");var $magicLine=$("#magic-line");$magicLine.width($(".current_page_item").width()-30).css("left",$(".current_page_item a").position().left).data("origLeft",$magicLine.position().left).data("origWidth",$magicLine.width());$("#magic-nav li").find("a").hover(function(){$el=$(this);leftPos=$el.position().left;newWidth=$el.parent().width()-30;$magicLine.stop().animate({left:leftPos,width:newWidth});},function(){$magicLine.stop().animate({left:$magicLine.data("origLeft"),width:$magicLine.data("origWidth")});});});
