$(document).ready(function(){$("a.vie-skip").focus(function(){$.colorbox.close()});$("a[rel='bde-image-view-link']").colorbox({onComplete:function(){$("#cboxPrevious a").attr("tabindex",1);$("#cboxNext a").attr("tabindex",2);$("#cboxClose a").attr("tabindex",3);$("#cboxClose a").focus();$("#cboxNext a").focus()},onClosed:function(){$("#cboxPrevious a").removeAttr("tabindex");$("#cboxNext a").removeAttr("tabindex");$("#cboxClose a").removeAttr("tabindex")},oewapixl:"TRUE",extendHeight:"30",linkOriginal:"TRUE",photo:"TRUE",opacity:"0.7",current:cf_fromToTxt,previous:cf_prevTxt,next:cf_nextTxt,close:cf_closeTxt,maxHeight:"90%",maxWidth:"90%",minWidth:"400",scalePhotos:"TRUE"});var b=document.URL;var a=new Object();a["/rk/msg/"]="Rathauskorrespondenz";a["xxx01-02test2.html"]="Testpage";$nameRk2=c(b);if($nameRk2!=""){$(".bde-image-view-link").colorbox({onComplete:function(){$(".lgallery").removeAttr("tabindex");$("#cboxPrevious a").attr("tabindex",1);$("#cboxNext a").attr("tabindex",2);$("#cboxClose a").attr("tabindex",3);$("#cboxClose a").focus();$("#cboxNext a").focus()},onClosed:function(){$("#cboxPrevious a").removeAttr("tabindex");$("#cboxNext a").removeAttr("tabindex");$("#cboxClose a").removeAttr("tabindex")},rel:"group1",oewapixl:"TRUE",extendHeight:"30",linkOriginal:"TRUE",current:cf_fromToTxt,previous:cf_prevTxt,next:cf_nextTxt,close:cf_closeTxt,photo:"TRUE",opacity:"0.7",maxHeight:"90%",maxWidth:"90%",minWidth:"400",scalePhotos:"TRUE"})}else{$(".bde-image-view-link").colorbox({onComplete:function(){$(".lgallery").removeAttr("tabindex");$("#cboxPrevious a").attr("tabindex",1);$("#cboxNext a").attr("tabindex",2);$("#cboxClose a").attr("tabindex",3);$("#cboxClose a").focus();$("#cboxNext a").focus()},onClosed:function(){$("#cboxPrevious a").removeAttr("tabindex");$("#cboxNext a").removeAttr("tabindex");$("#cboxClose a").removeAttr("tabindex")},rel:"group1",oewapixl:"TRUE",extendHeight:"30",current:cf_fromToTxt,previous:cf_prevTxt,next:cf_nextTxt,close:cf_closeTxt,photo:"TRUE",opacity:"0.7",maxHeight:"90%",minWidth:"400",scalePhotos:"TRUE"})}$(".bde-image-ajax").colorbox({width:"80%",height:"80%",onComplete:function(){$("#cboxClose a").attr("tabindex",1);$("#cboxClose a").focus()},onClosed:function(){$("#cboxClose a").removeAttr("tabindex")}});$(".bde-image-iframe").colorbox({width:"80%",height:"80%",iframe:true,onComplete:function(){$("#cboxClose a").attr("tabindex",1);$("#cboxClose a").focus()},onClosed:function(){$("#cboxClose a").removeAttr("tabindex")}});$("#click").click(function(){$("#click").css({"background-color":"#f00",color:"#fff",cursor:"inherit"}).text("Open this window again and this message will still be here.");return false});function c(d){var e="";$.each(a,function(f,g){if(d.indexOf(f)!=-1){e=g}});return e}});
