uagent = window.navigator.userAgent.toLowerCase();IEB=(uagent.indexOf('msie') != -1)?true:false;var scompat = document.compatMode;var Eventosintcomplate=0;Eventosimgarr=new Array();Eventosaltarr=new Array();Eventoslinkarr=new Array();Eventostargetarr=new Array();Eventostitarr=new Array();Eventosdesarr=new Array();Eventosimgarr[0]="";Eventosaltarr[0]="";Eventoslinkarr[0]="";Eventostargetarr[0]="";Eventostitarr[0]="";Eventosdesarr[0]="";Eventosimgarr[1]="01.jpg";Eventosaltarr[1]="";Eventoslinkarr[1]="#";Eventostargetarr[1]="_self";Eventostitarr[1]="";Eventosdesarr[1]="";Eventosimgarr[2]="02.jpg";Eventosaltarr[2]="";Eventoslinkarr[2]="#";Eventostargetarr[2]="_self";Eventostitarr[2]="";Eventosdesarr[2]="";Eventosimgarr[3]="03.jpg";Eventosaltarr[3]="";Eventoslinkarr[3]="#";Eventostargetarr[3]="_self";Eventostitarr[3]="";Eventosdesarr[3]="";Eventosimgarr[4]="04.jpg";Eventosaltarr[4]="";Eventoslinkarr[4]="#";Eventostargetarr[4]="_self";Eventostitarr[4]="";Eventosdesarr[4]="";var gnrated='';var Eventosstepcount=20;var Eventoscurrstep=10;var Eventostimeo=null;var Eventoshorvert=0;var Eventosllllll=0;var Eventoslllllll=0;var Eventosllllllll=0;var Eventosll=new Array();var Eventoslll=new Array();var Eventosllll=new Array();var Eventosstartposx=new Array();var Eventoslllll=new Array();var i=0;var Eventoslllllllll=0;var EventosDescCalcLeftBir=0;var EventosDescCalcLeft=0;var EventosDescCalcWidth=0;var EventosDescCalcHeight=0;var EventosDescCalcIcWidth=0;var EventosDescCalcIcHeight=0;var Eventoshpiece='';var Eventosds="";var EventosIEDescOpacity=100;var EventosFFOpacity=1.0;var EventosDescFadeEffectTimer=null;var EventosAutoPlayTimer=null;var EventosAutoPlayCurrent=1;var Eventosicerdemi=0;function EventosWriteDesc(){	if(Eventoslinkarr[i].length>2){Eventosds=Eventosds+'<a href="'+Eventoslinkarr[i]+'" target="'+Eventostargetarr[i]+'" style="text-decoration:none;">';}	Eventosds=Eventosds+'<div id="adesc'+i+'" style="position:absolute;top:'+150+'px;left:0px;width:'+EventosDescCalcWidth+'px;height:'+EventosDescCalcHeight+'px;visibility:hidden;overflow:hidden;cursor:pointer;filter:alpha(opacity=100);opacity:1.00;" onMouseOut="Eventosoutall()">';	Eventosds=Eventosds+'<div style="position:absolute;left:0px;top:0px;width:'+EventosDescCalcWidth+'px;height:'+EventosDescCalcHeight+'px;border-style:solid;border-width:0px;border-color:#000000;background-color:#'+'000000'+';opacity: '+0.50+';filter:alpha(opacity='+50+');" onMouseOut="Eventosoutall()"></div>';	Eventosds=Eventosds+'<div style="position:relative;left:0px;top:0px;width:'+EventosDescCalcIcWidth+';height:'+EventosDescCalcIcHeight+'px;text-align:'+'left'+';overflow:hidden;padding:'+3+'px;border-style:'+'solid'+';border-width:'+2+'px;border-color:#'+'FFFFFF'+';color:#'+'FFFFFF'+';font-family:'+'verdana'+';font-style:'+'normal'+';font-size: '+13+';font-weight:'+'normal'+';text-decoration:'+'none'+';opacity: 1.0;filter:alpha(opacity=100);" onMouseOut="Eventosoutall()">';	Eventosds=Eventosds+'<span style="color:#'+'4E95FF'+';font-family:'+'verdana'+';font-style:'+'normal'+';font-size: '+14+';font-weight:'+'bold'+';text-decoration:'+'none'+';" onMouseOut="Eventosoutall()">'+Eventostitarr[i]+'</span>';	if(Eventostitarr[i].length>0){Eventosds=Eventosds+'<br />';}			Eventosds=Eventosds+''+Eventosdesarr[i];	Eventosds=Eventosds+'</div>';	Eventosds=Eventosds+'</div>';	if(Eventoslinkarr[i].length>2){Eventosds=Eventosds+'</a>';}}function Eventosinit_doc(fstr,hormuvertmi){	EventosDescCalcLeftBir=5;		if((0==0)&&(Eventoshorvert==0))	{		EventosDescCalcLeft=5+2;	}	else	{		EventosDescCalcLeft=5;	}	if(0==0)	{		EventosDescCalcWidth=468-5-5;	}	else	{		EventosDescCalcWidth=486-5-5;	}	if((Eventoshorvert==1)&&(0==1))	{		EventosDescCalcHeight=221-150-5;	}	else	{		EventosDescCalcHeight=221-150-5;	}	if((IEB==true)&&(scompat == "BackCompat" ))	{		EventosDescCalcIcWidth=EventosDescCalcWidth;		EventosDescCalcIcHeight=EventosDescCalcHeight;	}	else	{		EventosDescCalcIcWidth=EventosDescCalcWidth-2*(2)-2*(3);		EventosDescCalcIcHeight=EventosDescCalcHeight-2*(2)-2*(3);	}	Eventosfolderset=fstr;	var tmpleftpad=0;	var tmptoppad=0;	Eventoshpiece=Eventoshpiece+'<div style="position:relative;width:'+486+'px;height:'+221+'px;border-style:solid;border-width:'+0+'px;border-color:#'+'666666'+';">';	Eventoshpiece=Eventoshpiece+'<div style="position:relative;width:'+486+'px;height:'+221+'px;overflow:hidden;border-style:solid;border-width:0px;border-color:#FFFFFF;cursor:default;" onMouseOver="Eventosoutall()" onMouseOut="Eventosmouse_divout()">';	if(0==1)	{		for(i=1;i<=4;i++) 		{			EventosWriteDesc();		}	}	for(i=1;i<=4;i++)	{		if(Eventoshorvert==0)		{			if(i==1){tmpleftpad=0;}else{tmpleftpad=2;}			tmptoppad=0;		}		else		{			tmpleftpad=0;			if(i==1){tmptoppad=0;}else{tmptoppad=2;}		}		gnrated=gnrated+'<div id="Eventospo'+i+'" style="position:absolute;left:0px;top:0px;" onMouseOver="Eventosmouse_over('+i+')" onMouseOut="Eventosoutall()"><div style="background-color:#FFFFFF;padding-left:'+tmpleftpad+'px;padding-top:'+tmptoppad+'px;"><a href="'+Eventoslinkarr[i]+'" target="'+Eventostargetarr[i]+'"><img width="'+468+'" height="'+221+'" src="'+Eventosfolderset+Eventosimgarr[i]+'" style="border-style:solid;border-width:0px;" TITLE="'+Eventosaltarr[i]+'"></img></a>';		if(0==0)		{			Eventosds="";			EventosWriteDesc();			gnrated=gnrated+Eventosds;		}		gnrated=gnrated+'</div></div>';	}	Eventoshpiece=Eventoshpiece+gnrated;	if(0==1)	{		Eventoshpiece=Eventoshpiece+Eventosds;	}	Eventoshpiece=Eventoshpiece+'</div>';	Eventoshpiece=Eventoshpiece+'</div>';	document.write(''+Eventoshpiece);	setTimeout("Eventosinit_position("+parseInt(hormuvertmi)+")",50);}function Eventosinit_position(hv){	Eventoshorvert=hv;	for(i=1;i<=4;i++)	{		Eventosll[i]=document.getElementById('Eventospo'+i);		Eventoslll[i]=document.getElementById('adesc'+i);		if((Eventosll[i]==null)||(Eventoslll[i]==null))		{		    setTimeout("Eventosinit_position("+parseInt(hv)+")",200);		    return;		}	}		if(Eventoshorvert==0)	{		Eventosllllll=parseInt(     (486-((4-1)*2))     /(4));		Eventoslllllll=Eventosllllll+2;		Eventosllllllll=parseInt(((486-468)/(4-1)));	}	else	{		Eventosllllll=parseInt(     (280-((4-1)*2))     /(4));		Eventoslllllll=Eventosllllll+2;		Eventosllllllll=parseInt(((280-221)/(4-1)));	}	for(i=1;i<=4;i++)	{		Eventosll[i]=document.getElementById('Eventospo'+i);		sx=(Eventoslllllll*(i-1))-2;		if(Eventoshorvert==0)		{			if(i==1)			{				Eventosll[i].style.left="0px";			}			else			{				Eventosll[i].style.left=""+sx+"px";			}		}		else		{			if(i==1)			{				Eventosll[i].style.top="0px";			}			else			{				Eventosll[i].style.top=""+sx+"px";			}		}		Eventosstartposx[i]=sx;		Eventoslllll[i]=Eventosstartposx[i];		if(i==1)		{			Eventoslll[i].style.left=""+EventosDescCalcLeftBir+"px";		}		else		{			Eventoslll[i].style.left=""+EventosDescCalcLeft+"px";		}			}	Eventosintcomplate=1;	if(0==1)	{		EventosDoAutoPlay();	}}function EventosDoAutoPlay(){	Eventosmouse_over(EventosAutoPlayCurrent);	EventosAutoPlayCurrent=EventosAutoPlayCurrent+1;	if(EventosAutoPlayCurrent>4)	{		EventosAutoPlayCurrent=1;	}	EventosAutoPlayTimer=setTimeout("EventosDoAutoPlay()",4000);}function Eventosdo_FadeAnim(){	if(Eventoslllllllll<1)	{		return;	}	EventosIEDescOpacity=EventosIEDescOpacity+5;	EventosFFOpacity=EventosFFOpacity+0.05;	if(IEB==true)	{		if(EventosIEDescOpacity>100)		{			EventosIEDescOpacity=100;			return;		}	}	else	{		if(EventosFFOpacity>1.00)		{			EventosFFOpacity=1.00;			return;		}	}	if(IEB==true)	{		Eventoslll[Eventoslllllllll].filters.item(0).opacity=EventosIEDescOpacity;	}	else	{		Eventoslll[Eventoslllllllll].style.opacity = EventosFFOpacity;	}	EventosDescFadeEffectTimer=setTimeout("Eventosdo_FadeAnim()",20);}function Eventosdo_anim(){	if(Eventoscurrstep<=0)	{		if(Eventoslllllllll>=1)		{			if(Eventoshorvert==0)			{				if(Eventoslllllllll==1)				{					Eventoslll[Eventoslllllllll].style.left=""+EventosDescCalcLeftBir+"px";				}				else				{					Eventoslll[Eventoslllllllll].style.left=""+EventosDescCalcLeft+"px";				}			}			else			{				if(0==0)				{					Eventoslll[Eventoslllllllll].style.left=""+(EventosDescCalcLeft+parseInt(Eventosll[Eventoslllllllll].style.left))+"px";					var DesvertTop=0;					if((Eventoslllllllll>1) &&(Eventoslllllllll!=4)){DesvertTop=150+2;}else{DesvertTop=150;}					Eventoslll[Eventoslllllllll].style.top=""+(DesvertTop)+"px";				}				else				{					Eventoslll[Eventoslllllllll].style.left=""+(EventosDescCalcLeft)+"px";					Eventoslll[Eventoslllllllll].style.top=""+150+"px";				}			}			if((Eventostitarr[Eventoslllllllll].length>0)||(Eventosdesarr[Eventoslllllllll].length>0))			{				if(2==2)				{					EventosIEDescOpacity=0;					EventosFFOpacity=0.00;					Eventosdo_FadeAnim();					Eventoslll[Eventoslllllllll].style.visibility="visible";				}				else				{					Eventoslll[Eventoslllllllll].style.visibility="visible";				}			}			else			{				Eventoslll[Eventoslllllllll].style.visibility="hidden";			}		}		return;	}	for(i=2;i<=4;i++)	{		Eventoslllll[i] = parseInt(Eventoslllll[i])+parseInt((Eventosllll[i]-Eventoslllll[i])/Eventoscurrstep);		if(Eventoshorvert==0)		{			Eventosll[i].style.left=""+Eventoslllll[i]+"px";		}		else		{			Eventosll[i].style.top=""+Eventoslllll[i]+"px";		}	}	if((2==1)&&(Eventoslllllllll>=1))	{		var dtop=0;		Eventoslll[Eventoslllllllll].style.visibility="visible";		dtop= 150+        parseInt(EventosDescCalcHeight-      ((EventosDescCalcHeight/Eventosstepcount)*(Eventosstepcount-(Eventoscurrstep-1)))         );		Eventoslll[Eventoslllllllll].style.top=""+dtop+"px";	}	Eventoscurrstep--;	setTimeout("Eventosdo_anim()",20);}function Eventosreposition(g){	for(i=1;i<=4;i++)	{		if(i<=g)		{			if(i==1)			{				Eventosllll[i]=0;			}			else			{				Eventosllll[i]=parseInt(((i-1)*Eventosllllllll)-2);			}		}		else		{			oncekix=0;			for(j=1;j<(i-1);j++)			{				oncekix=oncekix+Eventosllllllll;			}			if(Eventoshorvert==0)			{				Eventosllll[i]=parseInt(((468)+(oncekix)));			}			else			{				Eventosllll[i]=parseInt(((221)+(oncekix)));			}		}			}	if((Eventoshorvert==0)&&(4==g))	{		var bul1=Eventosllll[4]+2+468;		var bul2=486-bul1;		Eventosllll[4]=Eventosllll[4]+bul2;	}	if((Eventoshorvert==1)&&(4==g))	{		var bul1=Eventosllll[4]+2+221;		var bul2=221-bul1;		Eventosllll[4]=Eventosllll[4]+bul2;	}	Eventoscurrstep=Eventosstepcount;	Eventosdo_anim();}function Eventosmouse_over(g){	if(Eventosintcomplate==0){return;}	if(g==Eventoslllllllll){return;}	Eventoslllllllll=g;	clearTimeout(Eventostimeo);	if(0==1){if(Eventosicerdemi==1){clearTimeout(EventosAutoPlayTimer);}}	for(i=1;i<=4;i++)	{		if(i!=g)		{			Eventoslll[i].style.visibility="hidden";			if(IEB==true)			{				Eventoslll[i].filters.item(0).opacity=100;			}			else			{				Eventoslll[i].style.opacity = 1.0;			}		}	}	Eventosreposition(g);}function Eventosoutall(){	Eventosicerdemi=1;	clearTimeout(EventosAutoPlayTimer);	clearTimeout(Eventostimeo);}function Eventosmouse_divout2(){	Eventosicerdemi=0;	clearTimeout(Eventostimeo);	if(0==1)	{		clearTimeout(EventosAutoPlayTimer);		EventosAutoPlayCurrent=1;		EventosDoAutoPlay();	}	else	{	for(i=1;i<=4;i++)	{		Eventoslll[i].style.visibility="hidden";	}	for(i=1;i<=4;i++)	{		sx=(Eventoslllllll*(i-1))-2;		if(i==1)		{			Eventosllll[i]=0;		}		else		{			Eventosllll[i]=sx;		}			}	Eventoslllllllll=-1;	Eventoscurrstep=Eventosstepcount;	Eventosdo_anim();	}}function Eventosmouse_divout(){	clearTimeout(Eventostimeo);	Eventostimeo=setTimeout("Eventosmouse_divout2()",300);}
