/** comnex.net combined. timestamp: 1320337591 */
(function($){$.fn.hoverIntent=function(f,g){var cfg={sensitivity:7,interval:100,timeout:0};cfg=$.extend(cfg,g?{over:f,out:g}:f);var cX,cY,pX,pY;var track=function(ev){cX=ev.pageX;cY=ev.pageY;};var compare=function(ev,ob){ob.hoverIntent_t=clearTimeout(ob.hoverIntent_t);if((Math.abs(pX-cX)+Math.abs(pY-cY))<cfg.sensitivity){$(ob).unbind("mousemove",track);ob.hoverIntent_s=1;return cfg.over.apply(ob,[ev]);}else{pX=cX;pY=cY;ob.hoverIntent_t=setTimeout(function(){compare(ev,ob);},cfg.interval);}};var delay=function(ev,ob){ob.hoverIntent_t=clearTimeout(ob.hoverIntent_t);ob.hoverIntent_s=0;return cfg.out.apply(ob,[ev]);};var handleHover=function(e){var p=(e.type=="mouseover"?e.fromElement:e.toElement)||e.relatedTarget;while(p&&p!=this){try{p=p.parentNode;}catch(e){p=this;}}
if(p==this){return false;}
var ev=jQuery.extend({},e);var ob=this;if(ob.hoverIntent_t){ob.hoverIntent_t=clearTimeout(ob.hoverIntent_t);}
if(e.type=="mouseover"){pX=ev.pageX;pY=ev.pageY;$(ob).bind("mousemove",track);if(ob.hoverIntent_s!=1){ob.hoverIntent_t=setTimeout(function(){compare(ev,ob);},cfg.interval);}}else{$(ob).unbind("mousemove",track);if(ob.hoverIntent_s==1){ob.hoverIntent_t=setTimeout(function(){delay(ev,ob);},cfg.timeout);}}};return this.mouseover(handleHover).mouseout(handleHover);};})(jQuery);;(function($){$.fn.superfish=function(op){var sf=$.fn.superfish,c=sf.c,$arrow=$(['<span class="',c.arrowClass,'"> &#187;</span>'].join('')),over=function(){var $$=$(this),menu=getMenu($$);clearTimeout(menu.sfTimer);$$.showSuperfishUl().siblings().hideSuperfishUl();},out=function(){var $$=$(this),menu=getMenu($$),o=sf.op;clearTimeout(menu.sfTimer);menu.sfTimer=setTimeout(function(){o.retainPath=($.inArray($$[0],o.$path)>-1);$$.hideSuperfishUl();if(o.$path.length&&$$.parents(['li.',o.hoverClass].join('')).length<1){over.call(o.$path);}},o.delay);},getMenu=function($menu){var menu=$menu.parents(['ul.',c.menuClass,':first'].join(''))[0];sf.op=sf.o[menu.serial];return menu;},addArrow=function($a){$a.addClass(c.anchorClass).append($arrow.clone());};return this.each(function(){var s=this.serial=sf.o.length;var o=$.extend({},sf.defaults,op);o.$path=$('li.'+o.pathClass,this).slice(0,o.pathLevels).each(function(){$(this).addClass([o.hoverClass,c.bcClass].join(' ')).filter('li:has(ul)').removeClass(o.pathClass);});sf.o[s]=sf.op=o;$('li:has(ul)',this)[($.fn.hoverIntent&&!o.disableHI)?'hoverIntent':'hover'](over,out).each(function(){if(o.autoArrows)addArrow($('>a:first-child',this));}).not('.'+c.bcClass).hideSuperfishUl();var $a=$('a',this);$a.each(function(i){var $li=$a.eq(i).parents('li');$a.eq(i).focus(function(){over.call($li);}).blur(function(){out.call($li);});});o.onInit.call(this);}).each(function(){var menuClasses=[c.menuClass];if(sf.op.dropShadows&&!($.browser.msie&&$.browser.version<7))menuClasses.push(c.shadowClass);$(this).addClass(menuClasses.join(' '));});};var sf=$.fn.superfish;sf.o=[];sf.op={};sf.IE7fix=function(){var o=sf.op;if($.browser.msie&&$.browser.version>6&&o.dropShadows&&o.animation.opacity!=undefined)
this.toggleClass(sf.c.shadowClass+'-off');};sf.c={bcClass:'sf-breadcrumb',menuClass:'sf-js-enabled',anchorClass:'sf-with-ul',arrowClass:'sf-sub-indicator',shadowClass:'sf-shadow'};sf.defaults={hoverClass:'sfHover',pathClass:'overideThisToUse',pathLevels:1,delay:800,animation:{opacity:'show'},speed:'normal',autoArrows:true,dropShadows:true,disableHI:false,onInit:function(){},onBeforeShow:function(){},onShow:function(){},onHide:function(){}};$.fn.extend({hideSuperfishUl:function(){var o=sf.op,not=(o.retainPath===true)?o.$path:'';o.retainPath=false;var $ul=$(['li.',o.hoverClass].join(''),this).add(this).not(not).removeClass(o.hoverClass).find('>ul').hide().css('visibility','hidden');o.onHide.call($ul);return this;},showSuperfishUl:function(){var o=sf.op,sh=sf.c.shadowClass+'-off',$ul=this.addClass(o.hoverClass).find('>ul:hidden').css('visibility','visible');sf.IE7fix.call($ul);o.onBeforeShow.call($ul);$ul.animate(o.animation,o.speed,function(){sf.IE7fix.call($ul);o.onShow.call($ul);});return this;}});})(jQuery);function hideElementById(id){document.getElementById(id).style.display='none';}
function showElementById(id,type){if(!type){var type='block';}
document.getElementById(id).style.display=type;}
function hideElement(node){node.style.display='none';}
function showElement(node,type){if(!type){var type='block';}
node.style.display=type;}
function makeSublist(parent,child,childVal,parentVal,keineAngabeParent,keineAngabeChild){$("body").append("<select style='display:none' id='"+parent+child+"'></select>");$('#'+parent+child).html($("#"+child+" option"));var parentValue=$('#'+parent).attr('value');$('#'+child).html($("#"+parent+child+" .sub_"+parentValue).clone());if(keineAngabeParent)
$('#'+parent).prepend("<option value='' selected='selected'>alle</option>");if(keineAngabeChild)
$('#'+child).prepend("<option value='' selected='selected'>alle</option>");childVal=(typeof childVal=="undefined")?"":childVal;$("#"+child).val(childVal).attr('selected','selected');parentVal=(typeof parentVal=="undefined")?"":parentVal;$("#"+parent).val(parentVal).attr('selected','selected');$('#'+parent).change(function(){var parentValue=$('#'+parent).attr('value');$('#'+child).html($("#"+parent+child+" .sub_"+parentValue).clone());$('#'+child).prepend("<option value='' selected='selected'>alle</option>");if(parentVal=="")
$("#"+child).val(childVal).attr('selected','selected');$('#'+child).trigger("change");$('#'+child).focus();});}
$(document).ready(function(){$('ul.sf-menu').superfish();$(".kolumnen-latest-content-wrapper").hide();$(".meistgelesen-latest-content-wrapper").hide();$("#blogs-latest-header").toggleClass("active");$("#blogs-latest-header").click(function(){$(".meistgelesen-latest-content-wrapper").hide();$(".kolumnen-latest-content-wrapper").hide();$(".blogs-latest-content-wrapper").show();$("#blogs-latest-header").addClass("active");$("#kolumnen-latest-header").removeClass("active");$("#meistgelesen-latest-header").removeClass("active");});$("#kolumnen-latest-header").click(function(){$(".blogs-latest-content-wrapper").hide();$(".meistgelesen-latest-content-wrapper").hide();$(".kolumnen-latest-content-wrapper").show();$("#kolumnen-latest-header").addClass("active");$("#blogs-latest-header").removeClass("active");$("#meistgelesen-latest-header").removeClass("active");});$("#meistgelesen-latest-header").click(function(){$(".blogs-latest-content-wrapper").hide();$(".kolumnen-latest-content-wrapper").hide();$(".meistgelesen-latest-content-wrapper").show();$("#meistgelesen-latest-header").addClass("active");$("#blogs-latest-header").removeClass("active");$("#kolumnen-latest-header").removeClass("active");});makeSublist('selLand','selGebiet',"","",true,true);if($("#land :selected").text()=="Österreich"){$(".bundesland").fadeIn("fast");}
$("#land").change(function(){if($("#land :selected").text()=="Österreich"){$(".bundesland").fadeIn("fast");}else{$(".bundesland").fadeOut("hide");}});});function hideMenus(){hideElementById('sub_service');}
function showMenu(id){hideMenus();showElementById(id);}
function changeSrc(id,src){document.getElementById(id).src=src;}
var menuItems=new Array(true);menuItems[0]={'ID':'wein','src':'fileadmin/templates/wein.gif','srcSel':'fileadmin/templates/weinSel.gif','state':0};menuItems[1]={'ID':'gourmet','src':'fileadmin/templates/gourmet.gif','srcSel':'fileadmin/templates/gourmetSel.gif','state':0};menuItems[2]={'ID':'reisen','src':'fileadmin/templates/reisen.gif','srcSel':'fileadmin/templates/reisenSel.gif','state':0};menuItems[3]={'ID':'events','src':'fileadmin/templates/events.gif','srcSel':'fileadmin/templates/eventsSel.gif','state':0};menuItems[4]={'ID':'weinsuche','src':'fileadmin/templates/weinsuche.gif','srcSel':'fileadmin/templates/weinsucheSel.gif','state':0};menuItems[6]={'ID':'community','src':'fileadmin/templates/community.gif','srcSel':'fileadmin/templates/communitySel.gif','state':0};menuItems[7]={'ID':'service','src':'fileadmin/templates/service.gif','srcSel':'fileadmin/templates/serviceSel.gif','state':0};menuItems[8]={'ID':'blogs','src':'fileadmin/templates/blogs.gif','srcSel':'fileadmin/templates/blogsSel.gif','state':0};menuItems[9]={'ID':'kolumnen','src':'fileadmin/templates/kolumnen.gif','srcSel':'fileadmin/templates/kolumnenSel.gif','state':0};menuItems[10]={'ID':'kontakt','src':'fileadmin/templates/kontakt.gif','srcSel':'fileadmin/templates/kontaktSel.gif','state':0};menuItems[11]={'ID':'mediadaten','src':'fileadmin/templates/mediadaten.gif','srcSel':'fileadmin/templates/mediadatenSel.gif','state':0};menuItems[12]={'ID':'aboservice','src':'fileadmin/templates/aboservice.gif','srcSel':'fileadmin/templates/aboserviceSel.gif','state':0};menuItems[13]={'ID':'guides','src':'fileadmin/templates/guides.gif','srcSel':'fileadmin/templates/guidesSel.gif','state':0};menuItems[14]={'ID':'presse','src':'fileadmin/templates/presse.gif','srcSel':'fileadmin/templates/presseSel.gif','state':0};function onMouseoverMenu(menu){changeSrc('menu_'+menuItems[menu]['ID'],menuItems[menu]['srcSel']);}
function onMouseoutMenu(menu){changeSrc('menu_'+menuItems[menu]['ID'],menuItems[menu]['src']);}
var searchExtClosed=new Array(true);function toggleExtSearch(id){if(searchExtClosed[id-1]){searchExtClosed[id-1]=false;document.getElementById('searchtype_arrow_'+id).src='../arrowUp.png';document.getElementById('searchtype_box_01').style.visibility='visible';}else{searchExtClosed[id-1]=true;document.getElementById('searchtype_arrow_'+id).src='../arrowDown.png';document.getElementById('searchtype_box_01').style.visibility='hidden';}}
function chooseSearchtype(id,type){toggleExtSearch(id);document.getElementById('searchtype_selected_'+id).firstChild.nodeValue=document.getElementsByName('searchtype')[type].value;}
function showNewsGroup(count,row){var node=document.getElementById(newsGroupItems[count]['ID']);for(var i=0;i<node.getElementsByTagName('div').length;++i){if(row*3<=i&&i<=row*3+2){showElement(node.getElementsByTagName('div')[i]);}else{hideElement(node.getElementsByTagName('div')[i]);}}
for(var i=0;i<node.getElementsByTagName('div').length/3;++i){if(document.getElementById(newsGroupItems[count]['ID']+'_pager')!=null){if(document.getElementById(newsGroupItems[count]['ID']+'_pager').getElementsByTagName('input')[i]!=null){if(i==row){document.getElementById(newsGroupItems[count]['ID']+'_pager').getElementsByTagName('input')[i].src='fileadmin/templates/activeCar.gif';newsGroupItems[count]['row']=row;}else{document.getElementById(newsGroupItems[count]['ID']+'_pager').getElementsByTagName('input')[i].src='fileadmin/templates/inactiveCar.gif';}}}}}
function showNewsGroupLeft(count){if(newsGroupItems[count]['row']-1>=0){showNewsGroup(count,newsGroupItems[count]['row']-1);}}
function showNewsGroupRight(count){var node=document.getElementById(newsGroupItems[count]['ID']);if(newsGroupItems[count]['row']+1<node.getElementsByTagName('div').length/3){showNewsGroup(count,newsGroupItems[count]['row']+1);}}
function createNewsGroupMenu(count){if(newsGroupItems[count]&&document.getElementById(newsGroupItems[count]['ID']).getElementsByTagName('div').length>3){var inputNode;var attribute;for(var i=0;i<document.getElementById(newsGroupItems[count]['ID']).getElementsByTagName('div').length/3;++i){inputNode=document.createElement('input');inputNode.className='padding';inputNode.src='fileadmin/templates/inactiveCar.gif';inputNode.alt='Blättern';attribute=document.createAttribute('type');attribute.nodeValue='image';inputNode.setAttributeNode(attribute);attribute=document.createAttribute('onclick');attribute.nodeValue='showNewsGroup('+count+','+i+')';inputNode.setAttributeNode(attribute);document.getElementById(newsGroupItems[count]['ID']+'_pager').appendChild(inputNode);}
inputNode=document.createElement('input');inputNode.src='fileadmin/templates/backward.gif';inputNode.alt='Zurück blättern';attribute=document.createAttribute('type');attribute.nodeValue='image';inputNode.setAttributeNode(attribute);attribute=document.createAttribute('onclick');attribute.nodeValue='showNewsGroupLeft('+count+')';inputNode.setAttributeNode(attribute);document.getElementById(newsGroupItems[count]['ID']+'_pager').appendChild(inputNode);inputNode=document.createElement('input');inputNode.src='fileadmin/templates/forward.gif';inputNode.alt='Vorwärts blättern';attribute=document.createAttribute('type');attribute.nodeValue='image';inputNode.setAttributeNode(attribute);attribute=document.createAttribute('onclick');attribute.nodeValue='showNewsGroupRight('+count+')';inputNode.setAttributeNode(attribute);document.getElementById(newsGroupItems[count]['ID']+'_pager').appendChild(inputNode);}}
$(document).ready(function(){var currentPosition01=0;var currentPosition02=0;var currentPosition03=0;var currentPosition04=0;var newsWidth=210;var maxNews=15;var news_def=new Array(new Array(0,'newsGroup_01','newsInner01','newsGroup_01_pager','/index.php?id=37'),new Array(1,'newsGroup_02','newsInner02','newsGroup_02_pager','/index.php?id=38'),new Array(2,'newsGroup_03','newsInner03','newsGroup_03_pager','/index.php?id=39'),new Array(3,'newsGroup_04','newsInner04','newsGroup_04_pager','/index.php?id=963'),new Array(4,'newsGroup_RE','newsInnerRE','newsGroup_RE_pager',''));var news_state=new Array(new Array(0,0,0),new Array(0,0,0),new Array(0,0,0),new Array(0,0,0),new Array(0,0,0));initSlider(news_def[0]);initSlider(news_def[1]);initSlider(news_def[2]);initSlider(news_def[3]);initSlider(news_def[4]);function manageControls(currentID){for(i=0;i<Math.ceil(news_state[currentID][1]/3);i++){if(news_state[currentID][0]==i){$('#navpoint0'+currentID+i).attr("src",'fileadmin/templates/activeCar.gif');}else{$('#navpoint0'+currentID+i).attr("src",'fileadmin/templates/inactiveCar.gif');}}}
function initSlider(newsdef){var news=$('#'+newsdef[1]+' .news');if(news){news_state[newsdef[0]][1]=news.length;news_state[newsdef[0]][2]=Math.ceil(news_state[newsdef[0]][1]/3);$('#'+newsdef[1]).css('overflow','hidden');news.wrapAll('<div id="'+newsdef[2]+'"></div>').css({'float':'left','width':newsWidth-14,'padding':'0 7 0 7'});$('#'+newsdef[2]).css('width',(newsWidth)*news_state[newsdef[0]][1]);for(i=0;i<news_state[newsdef[0]][2];i++){$('#'+newsdef[3]).append('<img src="fileadmin/templates/inactiveCar.gif" width="9" height="9" id="navpoint0'+newsdef[0]+i+'" class="navcontrol0'+newsdef[0]+'">');}
$('#'+newsdef[3]).append('<img src="fileadmin/templates/backward.gif" width="28" height="29" id="navleft0'+newsdef[0]+'" class="navcontrol0'+newsdef[0]+'">');$('#'+newsdef[3]).append('<img src="fileadmin/templates/forward.gif" width="28" height="29" id="navright0'+newsdef[0]+'" class="navcontrol0'+newsdef[0]+'">');manageControls(newsdef[0]);$('.navcontrol0'+newsdef[0]).bind('click',function(){currentID=parseInt($(this).attr('class').substring(11));if($(this).attr('id').substring(0,8)=='navpoint'){news_state[currentID][0]=parseInt($(this).attr('id').substring(10));}else{if($(this).attr('id').substring(0,7)=='navleft'){if(news_state[currentID][0]>0){news_state[currentID][0]=news_state[currentID][0]-1;}}else{if(news_state[currentID][0]<(news_state[currentID][2]-1)){news_state[currentID][0]=news_state[currentID][0]+1;}
else{if((news_state[currentID][1]>=maxNews)&&(news_def[currentID][4]!=''))window.location.href=news_def[currentID][4];}}}
manageControls(currentID);$('#'+news_def[currentID][2]).animate({'marginLeft':newsWidth*3*(-news_state[currentID][0])},800);});}}});if(window.location.hash=='#commentPosition'){$('div.commentForm').slideDown('fast',function(){$("a[name='commentPosition']").click();});}
$('div.commentCount a').click(function(event){event.preventDefault();$('div.commentForm').slideDown('slow');});eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}(';5(10.M)(w($){$.N({11:w(j,k){5(!j)t{};w B(d,e){5(!d)t y;6 f=\'\',2=y,E=y;6 g=d.x,12=l(d.O||d.P);6 h=d.v||d.F||\'\';5(d.G){5(d.G.7>0){$.Q(d.G,w(n,a){6 b=a.x,u=l(a.O||a.P);6 c=a.v||a.F||\'\';5(b==8){t}z 5(b==3||b==4||!u){5(c.13(/^\\s+$/)){t};f+=c.H(/^\\s+/,\'\').H(/\\s+$/,\'\')}z{2=2||{};5(2[u]){5(!2[u].7)2[u]=p(2[u]);2[u][2[u].7]=B(a,R);2[u].7=2[u].7}z{2[u]=B(a)}}})}};5(d.I){5(d.I.7>0){E={};2=2||{};$.Q(d.I,w(a,b){6 c=l(b.14),C=b.15;E[c]=C;5(2[c]){5(!2[c].7)2[c]=p(2[c]);2[c][2[c].7]=C;2[c].7=2[c].7}z{2[c]=C}})}};5(2){2=$.N((f!=\'\'?A J(f):{}),2||{});f=(2.v)?(D(2.v)==\'16\'?2.v:[2.v||\'\']).17([f]):f;5(f)2.v=f;f=\'\'};6 i=2||f;5(k){5(f)i={};f=i.v||f||\'\';5(f)i.v=f;5(!e)i=p(i)};t i};6 l=w(s){t J(s||\'\').H(/-/g,"18")};6 m=w(s){t(D s=="19")||J((s&&D s=="K")?s:\'\').1a(/^((-)?([0-9]*)((\\.{0,1})([0-9]+))?$)/)};6 p=w(o){5(!o.7)o=[o];o.7=o.7;t o};5(D j==\'K\')j=$.S(j);5(!j.x)t;5(j.x==3||j.x==4)t j.F;6 q=(j.x==9)?j.1b:j;6 r=B(q,R);j=y;q=y;t r},S:w(a){6 b;T{6 c=($.U.V)?A 1c("1d.1e"):A 1f();c.1g=W}X(e){Y A L("Z 1h 1i 1j 1k 1l")};T{5($.U.V)b=(c.1m(a))?c:W;z b=c.1n(a,"v/1o")}X(e){Y A L("L 1p Z K")};t b}})})(M);',62,88,'||obj|||if|var|length||||||||||||||||||||||return|cnn|text|function|nodeType|null|else|new|parseXML|atv|typeof|att|nodeValue|childNodes|replace|attributes|String|string|Error|jQuery|extend|localName|nodeName|each|true|text2xml|try|browser|msie|false|catch|throw|XML|window|xml2json|nn|match|name|value|object|concat|_|number|test|documentElement|ActiveXObject|Microsoft|XMLDOM|DOMParser|async|Parser|could|not|be|instantiated|loadXML|parseFromString|xml|parsing'.split('|'),0,{}))
