uagent = window.navigator.userAgent.toLowerCase();IEB=(uagent.indexOf('msie') != -1)?true:false;OPB=(uagent.indexOf('opera') != -1)?true:false;CRB=(uagent.indexOf('chrome') != -1)?true:false;SFB=(uagent.indexOf('safari') != -1)?true:false;var scompat = document.compatMode;var shows=null;var showdescgoster=0;var showthumbgoster=0;var showcwidth=0;var showcheight=0;var showcalc=0;var showtam=0;var showkalan=0;var showkalany=0;var showts="";var showds="";var showjbtype=0;var showrealcurrent=0;var showtimeo=null;showthumbs_obj=null;showmoving_obj=null;showTotalThumbWidth=0;showTotalThumbHeight=0;showMoveIcWidth=0;var TBW=0;var CursorStr="default";var showDescCalcWidth=0;var showDescCalcHeight=0;var showDescCalcIcWidth=0;var showDescCalcIcHeight=0;var MoveWidth=0;var ThumbAreaWidth=340;var ThumbAreaHeight=340;showimgarr=new Array();showthumbimgstr=new Array();showimgstr=new Array();showlinkstr=new Array();showclslinkstr=new Array();showtitarr=new Array();showdesarr=new Array();showimgarr[0]=new Image();showimgarr[0].c=0;showimgarr[0].onload = showsecondcomplate;showimgarr[0].src=showfoldername+'01.jpg';showimgstr[0]=showfoldername+'01.jpg';showthumbimgstr[0]=showfoldername+'01.jpg';showlinkstr[0]='<a href="index.php" target="_self" style="text-decoration: none;">';showclslinkstr[0]='</a>';showtitarr[0]="";showdesarr[0]="";showimgarr[1]=new Image();showimgarr[1].c=0;showimgarr[1].onload = showsecondcomplate;showimgarr[1].src=showfoldername+'02.jpg';showimgstr[1]=showfoldername+'02.jpg';showthumbimgstr[1]=showfoldername+'02.jpg';showlinkstr[1]='<a href="file/gemeinde/spargelkoenigin/spargelkoenigin.php" target="_self" style="text-decoration: none;">';showclslinkstr[1]='</a>';showtitarr[1]="";showdesarr[1]="";showimgarr[2]=new Image();showimgarr[2].c=0;showimgarr[2].onload = showsecondcomplate;showimgarr[2].src=showfoldername+'03.jpg';showimgstr[2]=showfoldername+'03.jpg';showthumbimgstr[2]=showfoldername+'03.jpg';showlinkstr[2]='<a href="file/gemeinde/einrichtungen/gemeindebibliothek.php" target="_self" style="text-decoration: none;">';showclslinkstr[2]='</a>';showtitarr[2]="";showdesarr[2]="";showimgarr[3]=new Image();showimgarr[3].c=0;showimgarr[3].onload = showsecondcomplate;showimgarr[3].src=showfoldername+'04.jpg';showimgstr[3]=showfoldername+'04.jpg';showthumbimgstr[3]=showfoldername+'04.jpg';showlinkstr[3]='<a href="file/umwelt/umwelt.php" target="_self" style="text-decoration: none;">';showclslinkstr[3]='</a>';showtitarr[3]="";showdesarr[3]="";if((IEB==true)&&(scompat == "BackCompat" )){    showcwidth=584;    showcheight=150;}else{    showcwidth=584-2*(0);    showcheight=150-2*(0);}var showicwidth=584-2*(0);var showicheight=150-2*(0);showDescCalcWidth=260;showDescCalcHeight=80;if((IEB==true)&&(scompat == "BackCompat" )){	showDescCalcIcWidth=showDescCalcWidth;	showDescCalcIcHeight=showDescCalcHeight;}else{    showDescCalcIcWidth=showDescCalcWidth-2*(2)-2*(3);    showDescCalcIcHeight=showDescCalcHeight-2*(2)-2*(3);}document.write('<div style="position:relative;width:'+showcwidth+'px;height:'+showcheight+'px;overflow:hidden;border-style:'+'solid'+';border-width:'+0+'px;border-color:#'+'CCCCCC'+';'+''+''+'">');document.write('<div id="showdv" style="position:relative;width:'+showicwidth+'px;height:'+showicheight+'px;overflow:hidden;padding:0px;margin:0px;z-index:1;'+'FILTER: progid:DXImageTransform.Microsoft.Fade(Overlap=1.00,duration=2,enabled=false);'+'"'+' onfilterchange=showFadeBitti()'+'></div>');for(i=0;i<4;i++){	if(0==0){showds=showds+showlinkstr[i];if(showlinkstr[i].length>2){CursorStr="pointer";}else{CursorStr="default";}}	showds=showds+'<div id="showdesc'+i+'" style="position:absolute;top:'+120+'px;left:'+10+'px;width:'+showDescCalcWidth+'px;height:'+showDescCalcHeight+'px;visibility:hidden;overflow:hidden;cursor:'+CursorStr+';z-index:20;">';	showds=showds+'<div style="position:absolute;left:0px;top:0px;width:'+showDescCalcWidth+'px;height:'+showDescCalcHeight+'px;border-style:solid;border-width:0px;border-color:#000000;background-color:#'+'000000'+';opacity: '+'0.50'+';filter:alpha(opacity='+'50'+');-moz-opacity:'+'0.50'+';"></div>';	showds=showds+'<div style="position:relative;left:0px;top:0px;width:'+showDescCalcIcWidth+'px;height:'+showDescCalcIcHeight+'px;overflow:hidden;padding:'+3+'px;text-align:'+'left'+';border-style:'+'solid'+';border-width:'+2+'px;border-color:#'+'990000'+';color:#'+'FFFFFF'+';font-family:'+'arial'+';font-style:'+'normal'+';font-size: '+'13px'+';font-weight:'+'normal'+';text-decoration:'+'none'+';opacity: 1.0;filter:alpha(opacity=100);-moz-opacity:1.0;">';	showds=showds+'<span style="color:#'+'FECE3F'+';font-family:'+'arial'+';font-style:'+'normal'+';font-size: '+'14px'+';font-weight:'+'bold'+';text-decoration:'+'none'+';">'+showtitarr[i]+'</span><br />'+showdesarr[i];	showds=showds+'</div>';	showds=showds+'</div>';	if(0==0){showds=showds+showclslinkstr[i];}	}document.write(''+showds);function showShowCurrentDesc(){	if((showdescgoster==1)&&( (showtitarr[showrealcurrent].length>0) || (showdesarr[showrealcurrent].length>0)  ))	{		after_des=document.getElementById('showdesc'+showrealcurrent);		after_des.style.visibility="visible";		}}function showHideCurrentDesc(){	before_des=document.getElementById('showdesc'+showvcurr);	before_des.style.visibility="hidden";}function showHighlightCurrTumb(){	if((0==1)&&(0==0))	{		showbeforethumb=document.getElementById('showthumb'+showvcurr);		showafterthumb=document.getElementById('showthumb'+showrealcurrent);		showbeforethumb.style.borderColor='999999';		showafterthumb.style.borderColor='990000';	}}document.write('</div>');function showzindx(){	showobjn.style.visibility="visible";	showobjc.style.zIndex=2;	showobjn.style.zIndex=3;    }function showThumbOut(tobj,nm){	if((showvcurr==nm)&&(0==0))	{}	else	{		tobj.style.borderColor='999999';	}}function showThumbOver(tobj,nm){	tobj.style.borderColor='990000';}function showSonrakiClick(c,n){	showvcurr=c;	showvnext=n;			showobjc=document.getElementById('showd'+showvcurr);	showobjn=document.getElementById('showd'+showvnext);		if(showfademi!=1)	{		showobjc.style.visibility="visible";			showobjn.style.visibility="visible";		}		}function showSonraki(){	showvcurr=showvnext;	showvnext=showvnext+1;		if(showvnext>=4)	{		showvnext=0;		showtam=1;	}		showobjc=document.getElementById('showd'+showvcurr);	showobjn=document.getElementById('showd'+showvnext);		      }function showsecondcomplate(){	this.c=1;}function showdevam(fm,pt){	if((showimgarr[showvnext].c==1)&&(showimgarr[showvcurr].c==1))	{		showtimeo=setTimeout(fm+'()',pt);	}	else	{		setTimeout('showdevam("'+fm+'")',500);	}	var showcagain=1;	for(i=0;i<4;i++)	{		if(showimgarr[i].c==1){}		else{showcagain=0;}	}	if(showcagain==1){showtam=1;}}function ThumbClick(clicked_img,tobj){	if(showjbtype==1){return;}	clearTimeout(showtimeo);	showSonrakiClick(showrealcurrent,clicked_img);	if(showfademi==1)        {            if(IEB==true)            {		if(showtam==0)		{	    		showdevam("showdotrans",4000);		}		else		{			showdotrans();		}            }            else            {		if(showtam==0)		{    			showdevam("showbeftrans",4000);		}		else		{			showbeftrans();		}            }        }	else if(showfademi==2)	{		if(showtam==0)		{ 			showdevam("showDoSlide",4000);		}		else		{			showDoSlide();		}	}	else if(showfademi==3)	{		if(showtam==0)		{ 			showdevam("showDoScrollUp",4000);		}		else		{			showDoScrollUp();		}	}	else if(showfademi==4)	{		if(showtam==0)		{ 			showdevam("showDoBlindX",4000);		}		else		{			showDoBlindX();		}	}	else if(showfademi==5)	{		if(showtam==0)		{ 			showdevam("showDoBlindY",4000);		}		else		{			showDoBlindY();		}	}	}function showsl(){showfademi=1;showvcurr=0;showvnext=0;showvssdiv=null;stepc=20*(2);showdif=0.00;showop=1.00;showdif=(1.00/stepc);dstr1='<div id="';dstr2='" style="position:absolute;visibility:hidden;'+'left:0px;top:0px;'+'padding:0px;margin:0px;overflow:hidden;">';dstr23='<table cellspacing="0" cellpadding="0" style="position:relative;left:0px;top:0px;padding:0px;margin:0px;"><tr><td style="width:'+showicwidth+'px;height:'+showicheight+'px;left:0px;top:0px;padding:0px;margin:0px;text-align:'+'center'+';vertical-align:'+'middle'+';">';dstr3='<img id="showimg';dstr4='" src="';dstr5='"  border="0" style="position:relative;border-style:'+'solid'+';border-width:'+'0'+'px;border-color:'+'#CCCCCC'+';'+""+'" alt=""></img>';dstr56='</td></tr></table>';dstr6='</div>';this.showdotrans=showdotrans;this.showinitte=showinitte;this.showinitte2=showinitte2;this.showbeftrans=showbeftrans;this.showdotransff=showdotransff;}function showFadeBitti(){	showjbtype=0;	showShowCurrentDesc();	}function showdotrans(){	showjbtype=1;	showHideCurrentDesc();	if(IEB==true){showvssdiv.filters[0].apply();}	showobjc.style.visibility="hidden";	showobjn.style.visibility="visible";	if(IEB==true){showvssdiv.filters[0].play();}	showrealcurrent=showvnext;	showHighlightCurrTumb();	showSonraki();			if(showtam==0){showdevam("showdotrans",((1000*2)+4000));}	else	{		showtimeo=setTimeout('showdotrans()',((1000*2)+4000));	} 	}function showdotransff(){	showop=showop-showdif;		if(showop<(0.00)){showop=0.00;}	showobjc.style.opacity = showop;	showobjn.style.opacity = 1.00-showop;	if(showop>(0.00))	{		setTimeout('showdotransff()',50);	}	else	{		showobjc.style.zIndex=2;		showobjn.style.zIndex=3;		showrealcurrent=showvnext;		showShowCurrentDesc();		showHighlightCurrTumb();				showSonraki();			        if(showtam==0){showdevam("showbeftrans",4000);}        	else {showtimeo=setTimeout('showbeftrans()',4000);}		showjbtype=0;  					}}function showbeftrans(){	showjbtype=1;	showHideCurrentDesc();    	showop=1.00;	showobjc.style.visibility="visible";	showobjn.style.visibility="visible";		showobjc.style.zIndex=3;	showobjn.style.zIndex=2;		showobjc.style.opacity = 1.00;		showobjn.style.opacity = 1.00;			showdotransff();	}function showDoSlide(){	showjbtype=1;	showHideCurrentDesc();	showkalan=showkalan-Math.ceil(showkalan/2);	showobjc.style.left=""+(showkalan-showicwidth)+"px";	showobjn.style.left=""+showkalan+"px";		if(showkalan<=0)	{		showrealcurrent=showvnext;		showShowCurrentDesc();		showHighlightCurrTumb();    		showSonraki();		showkalan=showicwidth;		showobjn.style.left=""+showkalan+"px";	        		showzindx();          		showjbtype=0;        		if(showtam==0){showdevam("showDoSlide",4000);}		else {showtimeo=setTimeout('showDoSlide()',4000);}	}	else	{		setTimeout('showDoSlide()',50);    	} }function showDoScrollUp(){	showjbtype=1;	showHideCurrentDesc();	showkalan=showkalan-Math.ceil(showkalan/2);	showobjc.style.top=""+(showkalan-showicheight)+"px";	showobjn.style.top=""+showkalan+"px";	    if(showkalan<=0)    {	showrealcurrent=showvnext;	showShowCurrentDesc();	showHighlightCurrTumb();        showSonraki();        showkalan=showicheight;	showobjn.style.top=""+showkalan+"px";	        showzindx();                 	showjbtype=0;        if(showtam==0){showdevam('showDoScrollUp',4000);}        else{showtimeo=setTimeout('showDoScrollUp()',4000);}        }    else    {        setTimeout('showDoScrollUp()',50);        }}function showDoBlindX(){	showjbtype=1;	showHideCurrentDesc();   	showkalan=showkalan-Math.ceil(showkalan/2);	showobjc.style.left=""+(showicwidth-showkalan)+"px";	showobjn.style.left=""+showkalan+"px";	    if(showkalan<=0)    {		showrealcurrent=showvnext;		showShowCurrentDesc();	showHighlightCurrTumb();            showSonraki();        showkalan=showicwidth;	showobjn.style.left=""+showkalan+"px";		    	        showzindx();	showjbtype=0;                  if(showtam==0){showdevam("showDoBlindX",4000);}        else{showtimeo=setTimeout('showDoBlindX()',4000);}    }    else    {        setTimeout('showDoBlindX()',50);        }}function showDoBlindY(){	showjbtype=1;	showHideCurrentDesc();  	showkalan=showkalan-Math.ceil(showkalan/2);	showobjc.style.top=""+(showicheight-showkalan)+"px";	showobjn.style.top=""+showkalan+"px";	    if(showkalan<=0)    {		showrealcurrent=showvnext;		showShowCurrentDesc();showHighlightCurrTumb();        showSonraki();        showkalan=showicheight;	    showobjn.style.top=""+showkalan+"px";                showzindx();                 	showjbtype=0;        if(showtam==0){showdevam("showDoBlindY",4000);}        else{showtimeo=setTimeout('showDoBlindY()',4000);}        }    else    {        setTimeout('showDoBlindY()',50);        } }function showinitte2(){	showthumbs_obj=document.getElementById('showthumbsid');	showmoving_obj=document.getElementById('showmovingdiv');	showvssdiv=document.getElementById("showdv");	if(4>0)	{		showobjc=document.getElementById('showd'+0);			showobjc.style.visibility="visible";		}	if(4>1)	{		showvcurr=0;		showvnext=0;		showrealcurrent=0;        if(showfademi==0)        {			showvcurr=0;			showvnext=1;			showrealcurrent=0;			setTimeout('showdotrans()',4000);                }        else if(showfademi==1)        {            if(IEB==true)            {	    		showSonraki();			showShowCurrentDesc();			showHighlightCurrTumb();	    		showdevam("showdotrans",4000);                       }            else            {	    		showSonraki();			showShowCurrentDesc();			showHighlightCurrTumb();	    		showdevam("showbeftrans",4000);                        }        }         else if(showfademi==2)        {		showkalan=showicwidth;     		showSonraki();		showrealcurrent=0;		showShowCurrentDesc();		showHighlightCurrTumb();		showobjn.style.left=""+showkalan+"px";          			showzindx();            		showdevam("showDoSlide",4000);		   	                }        else if(showfademi==3)        {		showkalan=showicheight;            		showSonraki();		showrealcurrent=0;		showShowCurrentDesc();		showHighlightCurrTumb();		showobjn.style.top=""+showkalan+"px";            			showzindx();                        		showdevam("showDoScrollUp",4000);               }                  else if(showfademi==4)        {                        showkalan=showicwidth;                        showSonraki();		showrealcurrent=0;		showShowCurrentDesc();showHighlightCurrTumb();        	showobjn.style.left=""+showkalan+"px";	            	            showzindx();                                   showdevam("showDoBlindX",4000);                 }            else if(showfademi==5)        {                        showkalan=showicheight;                        showSonraki();		showrealcurrent=0;		showShowCurrentDesc();showHighlightCurrTumb();        	showobjn.style.top=""+showkalan+"px";            	            showzindx();                                  showdevam("showDoBlindY",4000);                 }												}}function showinitte(){	i=0;	innertxt="";	for(i=0;i<4;i++)	{		innertxt=innertxt+dstr1+"showd"+i+dstr2+dstr23+showlinkstr[i]+dstr3+i+dstr4+showimgstr[i]+dstr5+showclslinkstr[i]+dstr56+dstr6;	}	spage=document.getElementById('showdv');	spage.innerHTML=""+innertxt;    setTimeout('showinitte2()',100);}function showBas(){        shows=new showsl();        shows.showinitte();}setTimeout('showBas()',100);
