<!-- Hide the script from old browsers
var vG45;
var vG46	= false;
var vG47 						= new  Date();
function ff47()				{	self.status='-> Welcome  to  the  Douglas  County  AIDS  Project';	}
function ff44()	{
	var vL450	 = "Data/eventsCalendar.xml";
	ff31(vL450);
	ff129();
	ff152();
	ff147();
	ff191(1, 'CalendarLayer', null,null);
	ff77('Data/NewsFeeds/DCAPNews_RssFeeds_ver1-0.xml');
}
function ff45()		{
	displayAllEvents4SelectedMonth	= false;
	useFeaturedEvent_inShortLayout  = true;
	vG82 	= 'Nov 7';
	vG83	= 'Art Auction 2010';
	vG84	= 'ArtAuction.htm';
   	//vG84	= 'Home.htm';
	//vG84	= 'RedCarpetRendezvous-OscarParties.htm';
}
function ff29()				{
	ff47();
	ff45();
	ff44();
	if(vG6=="IE")	{
		var vL451 = ff190('NewsFeeds_MenuArrowsLayer',null,null);
		var vL452 = ff27(vL451,0);		 ff12(vL451,0,vL452+3);
	}
	menuExpandsDownwards 	 		   = false;
	vG46 = false;	numActiveRSSFeeds = 0;	ff69();
	var vL451 = ff190('NewsFeeds',null,null);		if(!vL451)	{	alert('Could  not  find  NewsFeeds  Form');	 return;	}
	var vL453 = vL451.usrSpecifiedRSSFeed.selectedIndex;
	parent.frames["leftFrame"].vG53 = vL453;
}
function ff69(vL454)	{
	if(vL454)						{
		if(vL454 >0)				{
			if(numActiveRSSFeeds==numHardcodedNewsFeedLayers)	{
				try			{	parent.frames["leftFrame"].vG52 = vG45;	}
				catch(e)	{	return;	}
				parent.frames["mainFrame"].location.href = "NewsAndMore.htm";
				return;
			}
			numActiveRSSFeeds += 1;
		}
		else if(vL454 < 0)			{
			if(numActiveRSSFeeds==0)							{	return;	}
			numActiveRSSFeeds -= 1;
		}
	}
	var vL455 = ff190('ShowingTopXNumFeedsLayer',null,null);
	if(vL455)	{
		if((vG46==false)&&(numActiveRSSFeeds==0))	{	ff96(vL455,'&nbsp;');				}
		else																	{	ff96(vL455, numActiveRSSFeeds);	}
	}
	if(menuExpandsDownwards==true)	{
		for(var vL456=1; vL456<=numActiveRSSFeeds; vL456++)								{	ff191(1,'RSSFeeds_FeedNum'+vL456,null,null);	}
		for(var vL456=numActiveRSSFeeds+1; vL456<=numHardcodedNewsFeedLayers; vL456++)	{	ff191(0,'RSSFeeds_FeedNum'+vL456,null,null);	}
	}
	else							{
		for(var vL456=numHardcodedNewsFeedLayers; vL456>(numHardcodedNewsFeedLayers-numActiveRSSFeeds); vL456--)	{	ff191(1,'RSSFeeds_FeedNum'+vL456,null,null);				}
		for(var vL456=(numHardcodedNewsFeedLayers-numActiveRSSFeeds); vL456>=1; vL456--)								{	ff191(0,'RSSFeeds_FeedNum'+vL456,null,null);				}
	}
}
function ff70()	{
	if(vG46==true)	{	return;	}
	vG46 = true;
	numActiveRSSFeeds = 1;		ff69();
}
function ff71(vL457)	{
	if(!newsFeeds_NodeList)	{	return;	}								var vL458 = newsFeeds_NodeList.length;
	var vL459 = 1;
	if(menuExpandsDownwards==true)	{	vL459 = vL457; 	}
	else							{
		vL459 = numHardcodedNewsFeedLayers-(vL457-1);
		if(vL459 < 1)	{		vL459 = 1;		}
	}
	var vL460  			= newsFeeds_NodeList[vL459-1].getElementsByTagName('link')[0].firstChild.nodeValue;
	window.open(vL460, 'NewsLinkDestination', config='height=386, width=800, left=323, top=261, toolbar=yes, menubar=yes, scrollbars=yes, resizable=yes,location=yes, directories=no, status=no')
}
var vG48 = false;
function ff72()							{	vG48  = true;										}
function ff73(vL461,vL462, vL463)	{	vG48    = false;	ff191(0,vL461,vL462,vL463);	}
function ff74(vL464, vL465, vL466, vL467,vL468,vL469,  vL470,vL471, vL472, vL473,vL474, vL475, vL476, vL477)	{
	if (vG48) {
		if(!vL464) {
			if(window.event){ vL464 = window.event;	}
			else { 	return;	}
		}
		var vL478,vL479;
		if(typeof(vL464.pageX) == 'number')					{
			vL478 = vL464.pageX;			vL479 = vL464.pageY;
		}
		else {
			if(typeof(vL464.clientX) == 'number') 			{
				vL478 = vL464.clientX;	vL479 = vL464.clientY;
				if(!( (window.navigator.userAgent.indexOf('Opera') + 1)||(window.ScriptEngine && ScriptEngine().indexOf('InScript') + 1)||(window.navigator.vendor=='KDE') )) {
					if( document.body && ( document.body.scrollLeft || document.body.scrollTop ) ) 		{
	          			vL478 += document.body.scrollLeft;       			vL479 += document.body.scrollTop;
					}
					else if( document.documentElement && ( document.documentElement.scrollLeft || document.documentElement.scrollTop ) ) {
	          			vL478 += document.documentElement.scrollLeft;		vL479 += document.documentElement.scrollTop;
	       			}
				}
			}
			else { return;	}
		}
		var vL480 = 'center';
		var vL481 = 1;
		if(!newsFeeds_NodeList)	{	return;	}								var vL482 = newsFeeds_NodeList.length;
		var vL483 = 1;
		if(menuExpandsDownwards==true)	{	vL483 = vL477; 	}
		else							{
			vL483 = numHardcodedNewsFeedLayers-(vL477-1);
			if(vL483 < 1)	{		vL483 = 1;		}
		}
		var vL484 = newsFeeds_NodeList[vL483-1].getElementsByTagName('dc:creator')[0];
		var vL485  	 = newsFeeds_NodeList[vL483-1].getElementsByTagName('link')[0].firstChild.nodeValue;
		if(vL484)		{	vL484  		= newsFeeds_NodeList[vL483-1].getElementsByTagName('dc:creator')[0].firstChild.nodeValue;	}
		else							{
			var vL486 = vL485.indexOf('www.')+4;
			var vL487 = vL485.indexOf('.',vL486);
			vL484 = vL485.substring(vL486,vL487);
		}
		var vL488 = '';
		if( 	 (vL485.indexOf('.co') >  0)||(vL485.indexOf('.Co')  > 0)||(vL485.indexOf('.CO')  > 0) )	{	vL488 = 'com';		}
		else if( (vL485.indexOf('.org') > 0)||(vL485.indexOf('.Org') > 0)||(vL485.indexOf('.ORG') > 0) )	{	vL488 = 'Org';		}
		else if( (vL485.indexOf('.net') > 0)||(vL485.indexOf('.Net') > 0)||(vL485.indexOf('.NET') > 0) )	{	vL488 = 'Net';		}
		else if( (vL485.indexOf('.edu') > 0)||(vL485.indexOf('.Edu') > 0)||(vL485.indexOf('.EDU') > 0) )	{	vL488 = 'edu';		}
		else if( (vL485.indexOf('.gov') > 0)||(vL485.indexOf('.Gov') > 0)||(vL485.indexOf('.GOV') > 0) )	{	vL488 = 'gov';		}
		var vL489 = '<table  width=\'100%\' border=\'0\' cellspacing=\'0\' cellpadding=\'0\'><tr><td>'+vL466+'</td><td  height=\'20\' style=\'text-align:right;\'>'+vL484+'.</td><td  width=\'32\' height=\'20\'><img  src=\'Images/Resources/D_'+vL488+'.gif\' width=\'32\' height=\'20\' border=\'0\'></td></tr></table>';
		if(vL484)		{
			if(vL472 == 1) {	ff126(vL489,vL480,vL467,vL468,vL469,vL481,  vL473,vL474,vL478+vL470+6,vL479-vL471+1,  vL465,vL475,vL476);		}
			if(vL472 == 0) {	ff126(vL489,vL480,vL467,vL468,vL469,vL481,  vL473,vL474,vL478+vL470+6,vL479+vL471+1,  vL465,vL475,vL476);		}
		}
		else							{
			if(vL472 == 1) {	ff126(vL466,vL480,vL467,vL468,vL469,vL481,  vL473,vL474,vL478+vL470+6,vL479-vL471+1,  vL465,vL475,vL476);		}
			if(vL472 == 0) {	ff126(vL466,vL480,vL467,vL468,vL469,vL481,  vL473,vL474,vL478+vL470+6,vL479+vL471+1,  vL465,vL475,vL476);		}
		}
	}
}
function ff7()					{	 ff191(0,'ImgLayer',null,null);				}
function ff75()				{	 ff191(0,'ImgLayer2_info',null,null);		}
function ff8(vL490,vL491,vL492, vL493,vL494)	{
	var vL495;
	if(vL494==true)	{	vL495 = 'ImgLayer2_info';	}
	else						{	vL495 = 'ImgLayer';			}
	var vL496 = ff190(vL495,null,null);
	ff12(vL496,1,vL492);
	ff12(vL496,2,vL493);
	ff10(vL496,vL490);
	ff11(vL496,vL491);
	ff191(1,vL495,null,null);
}
var vG23 = new  Image();
function ff9(vL497,vL498, vL499,vL500)							{
	var vL501 = '';	var  vL502 = '';		var  vL503  = '';
	var vL504 = 1;	var  vL505 = 1;
	switch(vL497)				{
		case 1: vL501 = 'Images/Main/';	vL502 = 'BecomeAMember.gif';							vL504 = 197;		vL505 = 436;	break;
		case 2: vL501 = 'Images/Main/';	vL502 = 'Poster_NationalHIVTestingDay2009_Large.jpg';	vL504 = 382;		vL505 = 489;	break;
		default:break;
	}
	vL503  = vL501+vL502;
	if( (vL498&&vL499)||((vL498==0)&&(vL499))||((vL498)&&(vL499==0)) )			{
					vG23.onload	= new Function("ff8("+vL504+","+vL505+","+vL498+","+vL499+","+vL500+")");
	}
	else	{	vG23.onload	= new  Function("ff8("+vL504+","+vL505+","+0+","+0+","+vL500+")");	}
	vG23.src 		= vL503;
	if(vL500==true)	{	document.images['freeImageObj2'].src  = vL503;		}
	else						{	document.images['freeImageObj'].src = vL503;		}
}
function ff76(vL506)	{
	if(vL506 < 0)	{	return;		}
	switch(vL506)	{
		case 1:	 return 'Data/NewsFeeds/External/MedicalNewsToday_HIV_AIDS.xml';
		default: return 'Data/NewsFeeds/DCAPNews_RssFeeds_ver1-0.xml';
	}
}
function ff77(vL507)	{
	ff91(vL507);
}
function ff78()	{
	var vL508 = newsFeeds_NodeList.length;
	var vL509 = 0;
	if(vL508 < numHardcodedNewsFeedLayers)								{
		if(vL508 < 0)	{	vL509 = 0;							}
		else								{	vL509 = vL508;	}
	}
	else									{	vL509 = numHardcodedNewsFeedLayers;	}
	var vL510, vL511, vL512, vL513, vL514, vL515;
	for(var vL516=1; vL516<=vL509; vL516++)	{
		vL510 		= newsFeeds_NodeList[vL516-1].getElementsByTagName('title')[0].firstChild.nodeValue;
		vL512  = newsFeeds_NodeList[vL516-1].getElementsByTagName('description')[0].firstChild.nodeValue;
		var vL517 = vL516%numHardcodedNewsFeedLayers;	if(vL517==0)	{	vL517 = numHardcodedNewsFeedLayers;	}
		if(vL517 < 10)		{	vL517 = '0'+vL517;	}
		if(menuExpandsDownwards==true)	{
			if(vL516 < 10)			{	vL513 = '0'+vL516;	}
			else if(vL516 < 100)	{	vL513 = vL516;		}
			else								{	alert('Are you really trying to display more than 100 news feeds at once?\nIf so update function that looks up the appropriate hardcoded layers...');	return;		}
		}
		else							{
			if(vL516 < 10)			{	vL513 = '0'+eval(vL509-vL516+1);	}
			else if(vL516 < 100)	{	vL513 = vL509-vL516+1;			}
			else								{	alert('Are you really trying to display more than 100 news feeds at once?\nIf so update function that looks up the appropriate hardcoded layers...');	return;		}
		}
		var vL518 = 'newsFeed'+vL517+'_Date';
		var vL519 = 'newsFeed'+vL513+'_Title';
		var vL520 = newsFeeds_NodeList[0].childNodes.length;
		var vL521;
		for(var vL522=0; vL522<vL520; vL522++)	{
			vL521 			  = newsFeeds_NodeList[vL516-1].childNodes[vL522];
			switch(vL521.nodeType)	{
				case 1:
						if( (vL521.nodeName.indexOf("date") > 0)||(vL521.nodeName.indexOf("Date") > 0) )	{
							if(newsFeeds_NodeList[vL516-1].getElementsByTagName("dc:date").length  > 0  )	{
								vL511  	= vL521.firstChild.nodeValue;
							}
							else	{
								var vL523  = Date.parse(vL521.firstChild.nodeValue);
								if(vL523 < 0)	{	vL511 = '?'+vL516+'? : < 1970';		}
								else					{
									vG47.setTime(vL523);
									vL511 = vG47.getFullYear()+'-'+eval(vG47.getMonth()+1)+'-'+vG47.getDate();
								}
							}
						}
						break;
				case 2:
				case 3:
				case 8:
				case 9:
				default: break;
			}
		}
		vL514 = 'newsFeed'+vL513+'_Title';		vL515 = ff190(vL514,null,null);		if(vL515!=null)	{
			if(maxLength_RSSFeeds_Title_Layer < vL510.length)	{	vL510 = vL510.substring(0,(maxLength_RSSFeeds_Title_Layer-3))+'...';		}
			ff96(vL515,vL510);
		}
		vL514 = 'newsFeed'+vL513+'_Date';		vL515 = ff190(vL514,null,null);		if(vL515!=null)	{
			if(maxLength_RSSFeeds_Date_Layer < vL511.length)	{	vL511 = vL511.substring(0,(maxLength_RSSFeeds_Date_Layer-3))+'...';			}
			ff96(vL515,vL511);
		}
		vL514 = 'newsFeed'+vL513+'_ShortInfo';	vL515 = ff190(vL514,null,null);		if(vL515!=null)	{
			if(maxLength_RSSFeeds_ShortInfo_Layer < vL512.length)	{	vL512 = vL512.substring(0,(maxLength_RSSFeeds_ShortInfo_Layer-3))+'...';		}
			ff96(vL515,vL512);
		}
	}
}
function ff79()	{
	vG45 = ff80();
	try			{	parent.frames["leftFrame"].vG52 = vG45;			ff77(vG45);		}
	catch(e)	{
		ff77(vG45);
	}
}
function ff80()	{
	var vL524 = ff190('NewsFeeds',null,null);		if(!vL524)	{	alert('Could  not  find  NewsFeeds  Form');	 return;	}
	var vL525 = vL524.usrSpecifiedRSSFeed.selectedIndex;
	parent.frames["leftFrame"].vG53 = vL525;
	switch(vL525)	{
		case 1:		return ff76(1);
		default:	return 'Data/DCAPNews_RssFeeds_ver1-0.xml';
	}
	try			{	parent.frames["leftFrame"].vG53 =	vL525;	}
	catch(e)	{	return '?';	}
	return vG52;
}
if (document.images) {
        newsFeeds_MenuArrowUp_Idle 		= new Image();        	newsFeeds_MenuArrowUp_Idle.src 	= "Images/Main/NewsMenu_PgUp_Off.gif";
        newsFeeds_MenuArrowUp_Actv 		= new Image();	      	newsFeeds_MenuArrowUp_Actv.src 	= "Images/Main/NewsMenu_PgUp_On.gif";
		newsFeeds_MenuArrowDown_Idle	= new Image();        	newsFeeds_MenuArrowDown_Idle.src = "Images/Main/NewsMenu_PgDown_Off.gif";
        newsFeeds_MenuArrowDown_Actv 	= new Image();	      	newsFeeds_MenuArrowDown_Actv.src = "Images/Main/NewsMenu_PgDown_On.gif";
		newsFeeds_DetailsLink_Idle		= new Image();     		newsFeeds_DetailsLink_Idle.src = "Images/Main/NewsFeed_Details_Off.gif";
        newsFeeds_DetailsLink_Actv 		= new Image();	      	newsFeeds_DetailsLink_Actv.src = "Images/Main/NewsFeed_Details_On.gif";
}
function ff4(vL526,vL527) {	document.images[vL526].src    = eval(vL527  + ".src")}
-->
