uagent = window.navigator.userAgent.toLowerCase();IEB=(uagent.indexOf('msie') != -1)?true:false;var scompat = document.compatMode;var home_accintcomplate=0;home_accimgarr=new Array();home_accaltarr=new Array();home_acclinkarr=new Array();home_acctargetarr=new Array();home_acctitarr=new Array();home_accdesarr=new Array();home_accimgarr[0]="";home_accaltarr[0]="";home_acclinkarr[0]="";home_acctargetarr[0]="";home_acctitarr[0]="";home_accdesarr[0]="";home_accimgarr[1]="home_acc_cfp.jpg";home_accaltarr[1]="";home_acclinkarr[1]="http://www.catalogueforphilanthropy-dc.org/cfpdc/nonprofit-detail.php?id=94400";home_acctargetarr[1]="_blank";home_acctitarr[1]="Maunter Featured in the Catalogue for Philanthropy";home_accdesarr[1]="Mautner Project will be featured in the 2011 Catalogue for Philanthropy -- Greater Washington as one of the best community-based nonprofits in the Washington region, selected for excellence, cost-effectiveness, and impact.  To see us in the Catalogue, click this image.";home_accimgarr[2]="home_acc_dare_to_be.jpg";home_accaltarr[2]="";home_acclinkarr[2]="http://gala.mautnerproject.org";home_acctargetarr[2]="_self";home_acctitarr[2]="Dare to Be: The 2011 Mautner Project Gala";home_accdesarr[2]="Find out more about THE premier LGBT women's event on DC's social calendar.  Click here now!";home_accimgarr[3]="home_acc_she_circle.jpg";home_accaltarr[3]="";home_acclinkarr[3]="http://www.shecircle.org";home_acctargetarr[3]="_self";home_acctitarr[3]="SHE Circle Begins";home_accdesarr[3]="S.H.E. Circle - A wellness community by and for African American lesbian and bisexual women.  Circles are running NOW - click here to find out more information.";home_accimgarr[4]="home_acc_menu_smoking_cessation.jpg";home_accaltarr[4]="";home_acclinkarr[4]="http://www.mautnerproject.org/education/tobacco.cfm";home_acctargetarr[4]="_self";home_acctitarr[4]="You can quit smoking";home_accdesarr[4]="Mautner Project can help you  succeed! We are taking registrations for our smoking cessation group NOW.  To register or for more information, click this image.";var gnrated='';var home_accstepcount=20;var home_acccurrstep=10;var home_acctimeo=null;var home_acchorvert=0;var home_accllllll=0;var home_acclllllll=0;var home_accllllllll=0;var home_accll=new Array();var home_acclll=new Array();var home_accllll=new Array();var home_accstartposx=new Array();var home_acclllll=new Array();var i=0;var home_acclllllllll=0;var home_accDescCalcLeftBir=0;var home_accDescCalcLeft=0;var home_accDescCalcWidth=0;var home_accDescCalcHeight=0;var home_accDescCalcIcWidth=0;var home_accDescCalcIcHeight=0;var home_acchpiece='';var home_accds="";var home_accIEDescOpacity=100;var home_accFFOpacity=1.0;var home_accDescFadeEffectTimer=null;var home_accAutoPlayTimer=null;var home_accAutoPlayCurrent=1;var home_accicerdemi=0;function home_accWriteDesc(){	if(home_acclinkarr[i].length>2){home_accds=home_accds+'<a href="'+home_acclinkarr[i]+'" target="'+home_acctargetarr[i]+'" style="text-decoration:none;">';}	home_accds=home_accds+'<div id="home_accadesc'+i+'" style="position:absolute;top:'+80+'px;left:0px;width:'+home_accDescCalcWidth+'px;height:'+home_accDescCalcHeight+'px;visibility:hidden;overflow:hidden;cursor:pointer;filter:alpha(opacity=100);opacity:1.00;" onMouseOut="home_accoutall()">';	home_accds=home_accds+'<div style="position:absolute;left:0px;top:0px;width:'+home_accDescCalcWidth+'px;height:'+home_accDescCalcHeight+'px;border-style:solid;border-width:0px;border-color:#000000;background-color:#'+'000000'+';opacity: '+0.75+';filter:alpha(opacity='+75+');" onMouseOut="home_accoutall()"></div>';	home_accds=home_accds+'<div style="position:relative;left:0px;top:0px;width:'+home_accDescCalcIcWidth+';height:'+home_accDescCalcIcHeight+'px;text-align:'+'left'+';overflow:hidden;padding:'+3+'px;border-style:'+'solid'+';border-width:'+2+'px;border-color:#'+'400080'+';color:#'+'FFFFFF'+';font-family:'+'arial'+';font-style:'+'normal'+';font-size: '+13+';font-weight:'+'normal'+';text-decoration:'+'none'+';opacity: 1.0;filter:alpha(opacity=100);" onMouseOut="home_accoutall()">';	home_accds=home_accds+'<span style="color:#'+'8080FF'+';font-family:'+'arial'+';font-style:'+'normal'+';font-size: '+14+';font-weight:'+'bold'+';text-decoration:'+'none'+';" onMouseOut="home_accoutall()">'+home_acctitarr[i]+'</span>';	if(home_acctitarr[i].length>0){home_accds=home_accds+'<br />';}			home_accds=home_accds+''+home_accdesarr[i];	home_accds=home_accds+'</div>';	home_accds=home_accds+'</div>';	if(home_acclinkarr[i].length>2){home_accds=home_accds+'</a>';}}function home_accinit_doc(fstr,hormuvertmi){	home_accDescCalcLeftBir=5;		if((0==0)&&(home_acchorvert==0))	{		home_accDescCalcLeft=5+2;	}	else	{		home_accDescCalcLeft=5;	}	if(0==0)	{		home_accDescCalcWidth=300-5-5;	}	else	{		home_accDescCalcWidth=500-5-5;	}	if((home_acchorvert==1)&&(0==1))	{		home_accDescCalcHeight=250-80-5;	}	else	{		home_accDescCalcHeight=250-80-5;	}	if((IEB==true)&&(scompat == "BackCompat" ))	{		home_accDescCalcIcWidth=home_accDescCalcWidth;		home_accDescCalcIcHeight=home_accDescCalcHeight;	}	else	{		home_accDescCalcIcWidth=home_accDescCalcWidth-2*(2)-2*(3);		home_accDescCalcIcHeight=home_accDescCalcHeight-2*(2)-2*(3);	}	home_accfolderset=fstr;	var tmpleftpad=0;	var tmptoppad=0;	home_acchpiece=home_acchpiece+'<div style="position:relative;width:'+500+'px;height:'+250+'px;border-style:solid;border-width:'+0+'px;border-color:#'+'666666'+';">';	home_acchpiece=home_acchpiece+'<div style="position:relative;width:'+500+'px;height:'+250+'px;overflow:hidden;border-style:solid;border-width:0px;border-color:#FFFFFF;cursor:default;" onMouseOver="home_accoutall()" onMouseOut="home_accmouse_divout()">';	if(0==1)	{		for(i=1;i<=4;i++) 		{			home_accWriteDesc();		}	}	for(i=1;i<=4;i++)	{		if(home_acchorvert==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="home_accpo'+i+'" style="position:absolute;left:0px;top:0px;" onMouseOver="home_accmouse_over('+i+')" onMouseOut="home_accoutall()"><div style="background-color:#FFFFFF;padding-left:'+tmpleftpad+'px;padding-top:'+tmptoppad+'px;"><a href="'+home_acclinkarr[i]+'" target="'+home_acctargetarr[i]+'"><img width="'+300+'" height="'+250+'" src="'+home_accfolderset+home_accimgarr[i]+'" style="border-style:solid;border-width:0px;" TITLE="'+home_accaltarr[i]+'"></img></a>';		if(0==0)		{			home_accds="";			home_accWriteDesc();			gnrated=gnrated+home_accds;		}		gnrated=gnrated+'</div></div>';	}	home_acchpiece=home_acchpiece+gnrated;	if(0==1)	{		home_acchpiece=home_acchpiece+home_accds;	}	home_acchpiece=home_acchpiece+'</div>';	home_acchpiece=home_acchpiece+'</div>';	document.write(''+home_acchpiece);	setTimeout("home_accinit_position("+parseInt(hormuvertmi)+")",50);}function home_accinit_position(hv){	home_acchorvert=hv;	for(i=1;i<=4;i++)	{		home_accll[i]=document.getElementById('home_accpo'+i);		home_acclll[i]=document.getElementById('home_accadesc'+i);		if((home_accll[i]==null)||(home_acclll[i]==null))		{		    setTimeout("home_accinit_position("+parseInt(hv)+")",200);		    return;		}	}		if(home_acchorvert==0)	{		home_accllllll=parseInt(     (500-((4-1)*2))     /(4));		home_acclllllll=home_accllllll+2;		home_accllllllll=parseInt(((500-300)/(4-1)));	}	else	{		home_accllllll=parseInt(     (280-((4-1)*2))     /(4));		home_acclllllll=home_accllllll+2;		home_accllllllll=parseInt(((280-250)/(4-1)));	}	for(i=1;i<=4;i++)	{		home_accll[i]=document.getElementById('home_accpo'+i);		sx=(home_acclllllll*(i-1))-2;		if(home_acchorvert==0)		{			if(i==1)			{				home_accll[i].style.left="0px";			}			else			{				home_accll[i].style.left=""+sx+"px";			}		}		else		{			if(i==1)			{				home_accll[i].style.top="0px";			}			else			{				home_accll[i].style.top=""+sx+"px";			}		}		home_accstartposx[i]=sx;		home_acclllll[i]=home_accstartposx[i];		if(i==1)		{			home_acclll[i].style.left=""+home_accDescCalcLeftBir+"px";		}		else		{			home_acclll[i].style.left=""+home_accDescCalcLeft+"px";		}			}	home_accintcomplate=1;	if(0==1)	{		home_accDoAutoPlay();	}}function home_accDoAutoPlay(){	home_accmouse_over(home_accAutoPlayCurrent);	home_accAutoPlayCurrent=home_accAutoPlayCurrent+1;	if(home_accAutoPlayCurrent>4)	{		home_accAutoPlayCurrent=1;	}	home_accAutoPlayTimer=setTimeout("home_accDoAutoPlay()",4000);}function home_accdo_FadeAnim(){	if(home_acclllllllll<1)	{		return;	}	home_accIEDescOpacity=home_accIEDescOpacity+5;	home_accFFOpacity=home_accFFOpacity+0.05;	if(IEB==true)	{		if(home_accIEDescOpacity>100)		{			home_accIEDescOpacity=100;			return;		}	}	else	{		if(home_accFFOpacity>1.00)		{			home_accFFOpacity=1.00;			return;		}	}	if(IEB==true)	{		home_acclll[home_acclllllllll].filters.item(0).opacity=home_accIEDescOpacity;	}	else	{		home_acclll[home_acclllllllll].style.opacity = home_accFFOpacity;	}	home_accDescFadeEffectTimer=setTimeout("home_accdo_FadeAnim()",20);}function home_accdo_anim(){	if(home_acccurrstep<=0)	{		if(home_acclllllllll>=1)		{			if(home_acchorvert==0)			{				if(home_acclllllllll==1)				{					home_acclll[home_acclllllllll].style.left=""+home_accDescCalcLeftBir+"px";				}				else				{					home_acclll[home_acclllllllll].style.left=""+home_accDescCalcLeft+"px";				}			}			else			{				if(0==0)				{					home_acclll[home_acclllllllll].style.left=""+(home_accDescCalcLeft+parseInt(home_accll[home_acclllllllll].style.left))+"px";					var DesvertTop=0;					if((home_acclllllllll>1) &&(home_acclllllllll!=4)){DesvertTop=80+2;}else{DesvertTop=80;}					home_acclll[home_acclllllllll].style.top=""+(DesvertTop)+"px";				}				else				{					home_acclll[home_acclllllllll].style.left=""+(home_accDescCalcLeft)+"px";					home_acclll[home_acclllllllll].style.top=""+80+"px";				}			}			if((home_acctitarr[home_acclllllllll].length>0)||(home_accdesarr[home_acclllllllll].length>0))			{				if(2==2)				{					home_accIEDescOpacity=0;					home_accFFOpacity=0.00;					home_accdo_FadeAnim();					home_acclll[home_acclllllllll].style.visibility="visible";				}				else				{					home_acclll[home_acclllllllll].style.visibility="visible";				}			}			else			{				home_acclll[home_acclllllllll].style.visibility="hidden";			}		}		return;	}	for(i=2;i<=4;i++)	{		home_acclllll[i] = parseInt(home_acclllll[i])+parseInt((home_accllll[i]-home_acclllll[i])/home_acccurrstep);		if(home_acchorvert==0)		{			home_accll[i].style.left=""+home_acclllll[i]+"px";		}		else		{			home_accll[i].style.top=""+home_acclllll[i]+"px";		}	}	if((2==1)&&(home_acclllllllll>=1))	{		var dtop=0;		if((home_acctitarr[home_acclllllllll].length>0)||(home_accdesarr[home_acclllllllll].length>0))		{    		home_acclll[home_acclllllllll].style.visibility="visible";        }        else        {            home_acclll[home_acclllllllll].style.visibility="hidden";        }		dtop= 80+        parseInt(home_accDescCalcHeight-      ((home_accDescCalcHeight/home_accstepcount)*(home_accstepcount-(home_acccurrstep-1)))         );		home_acclll[home_acclllllllll].style.top=""+dtop+"px";	}	home_acccurrstep--;	setTimeout("home_accdo_anim()",20);}function home_accreposition(g){	for(i=1;i<=4;i++)	{		if(i<=g)		{			if(i==1)			{				home_accllll[i]=0;			}			else			{				home_accllll[i]=parseInt(((i-1)*home_accllllllll)-2);			}		}		else		{			oncekix=0;			for(j=1;j<(i-1);j++)			{				oncekix=oncekix+home_accllllllll;			}			if(home_acchorvert==0)			{				home_accllll[i]=parseInt(((300)+(oncekix)));			}			else			{				home_accllll[i]=parseInt(((250)+(oncekix)));			}		}			}	if((home_acchorvert==0)&&(4==g))	{		var bul1=home_accllll[4]+2+300;		var bul2=500-bul1;		home_accllll[4]=home_accllll[4]+bul2;	}	if((home_acchorvert==1)&&(4==g))	{		var bul1=home_accllll[4]+2+250;		var bul2=250-bul1;		home_accllll[4]=home_accllll[4]+bul2;	}	home_acccurrstep=home_accstepcount;	home_accdo_anim();}function home_accmouse_over(g){	if(home_accintcomplate==0){return;}	if(g==home_acclllllllll){return;}	home_acclllllllll=g;	clearTimeout(home_acctimeo);	if(0==1){if(home_accicerdemi==1){clearTimeout(home_accAutoPlayTimer);}}	for(i=1;i<=4;i++)	{		if(i!=g)		{			home_acclll[i].style.visibility="hidden";			if(IEB==true)			{				home_acclll[i].filters.item(0).opacity=100;			}			else			{				home_acclll[i].style.opacity = 1.0;			}		}	}	home_accreposition(g);}function home_accoutall(){	home_accicerdemi=1;	clearTimeout(home_accAutoPlayTimer);	clearTimeout(home_acctimeo);}function home_accmouse_divout2(){	home_accicerdemi=0;	clearTimeout(home_acctimeo);	if(0==1)	{		clearTimeout(home_accAutoPlayTimer);		home_accAutoPlayCurrent=1;		home_accDoAutoPlay();	}	else	{	for(i=1;i<=4;i++)	{		home_acclll[i].style.visibility="hidden";	}	for(i=1;i<=4;i++)	{		sx=(home_acclllllll*(i-1))-2;		if(i==1)		{			home_accllll[i]=0;		}		else		{			home_accllll[i]=sx;		}			}	home_acclllllllll=-1;	home_acccurrstep=home_accstepcount;	home_accdo_anim();	}}function home_accmouse_divout(){	clearTimeout(home_acctimeo);	home_acctimeo=setTimeout("home_accmouse_divout2()",300);}
