function initCommunity(){   	
	//Modify breadcrumb to remove category
	if ($$('div.Forums_Breadcrumbs').length)
	{
		var breadcrumb = $$('div.Forums_Breadcrumbs')[0].innerHTML;
		var breadcrumbSearch = "Forums</a>";
		var breadcrumbDex = breadcrumb.indexOf(breadcrumbSearch);
		$$('div.Forums_Breadcrumbs')[0].innerHTML = breadcrumb.substr(0,breadcrumbDex+breadcrumbSearch.length) + breadcrumb.substr(breadcrumbDex+breadcrumbSearch.length+2);
	}
	
	//Modify bottom breadcrumb
	if ($$('div.Forums_BottomBreadcrumbs').length)
	{
		var breadcrumb = $$('div.Forums_BottomBreadcrumbs')[0].innerHTML;
		var breadcrumbSearch = "Forums</a>";
		var breadcrumbDex = breadcrumb.indexOf(breadcrumbSearch);
		$$('div.Forums_BottomBreadcrumbs')[0].innerHTML = breadcrumb.substr(0,breadcrumbDex+breadcrumbSearch.length) + breadcrumb.substr(breadcrumbDex+breadcrumbSearch.length+2);
	}
	
	//grab the innerHTML of the login status bar and append the FAQ link to it
	var doAppend = function(){
		var loginBar = $$('div.Forums_LoginStatus');
		if(loginBar){
			var toAppend = '&nbsp;|&nbsp;<a href="#" href="javascript:void(0);" onclick="launchPopUp(\'faq-popup\');">FAQ</a>';
			loginBar.first().insert(toAppend);
		}
	}
	//waits til IE is done processing everything before inserting it back into the DOM
	doAppend.defer();
	
	//toggles the anchor tags for each of the FAQ subjects
	$$('a.show-hide').each(
		function(el){
			el.observe('click', 
				function(){
					if(!el.hasClassName('shown')){
						$$('a.shown').each(
							function(el){
								el.removeClassName('shown');
								Effect.BlindUp(el.up(0).next(0), 'blind', { duration: 0.8 });
							})
						this.addClassName("shown");
						Effect.BlindDown(this.up(0).next(0), 'blind', { duration: 0.8 });
					}else{
						this.removeClassName('shown');
						Effect.BlindUp(this.up(0).next(0), 'blind', { duration: 0.8 });
					}
			});
	});          
	
	//change look of start discussion button to use text so that it matches VD
	if ($('CreateDiscussion1') != null){
		$('CreateDiscussion1').update('Start New Discussion');           
	} 
	
	
	//hide uncategorized topics forum since Pluck cannot hide without deletion
	var uncat = $$('div.ForumList_ForumName a');
	if (uncat.length > 0){
		for (i = 0; i < uncat.length; i++){   
			if(uncat[i].innerHTML === "Uncategorized Topics"){
				uncat[i].style.display = "none";
			}
		}
	}
	
	//align RSS link with left of login status bar, no matter the status
	if($$('a.Forums_RSS')){
		var sifrHeader =  $$('h2.sifr-head-light').first();
		var RSS_link = $$('a.Forums_RSS').first();
		if (sifrHeader && RSS_link)
		{
			Element.clonePosition(RSS_link, sifrHeader, {'offsetLeft': 190, 'offsetTop':5, 'setHeight': false, 'setWidth': false});
		}
	}
	
	//align pluck logo with footer
	if($$('div.Pluck_FooterLink')){
		var pluckFooter = $$('div.Pluck_FooterLink').first();
		var footerDiv = $('footer');
		Element.clonePosition(pluckFooter, footerDiv, {'offsetLeft': 500, 'offsetTop':-60, 'setHeight': false, 'setWidth': false});
	}
	
	var posts = $$('div.Discussion_ReadPostContainer').first();   	  
	if (posts){  					   
		posts.addClassName('main-post');   
		$('DiscussionSortContainer').show();
		$('DiscussionSortContainer').down(1).hide();
		$('DiscussionSortContainer').down(3).hide();
	}
	
}

function setTransparency(){
	$('popup-wrapper').setOpacity(0.95);
}

function launchPopUp() {
	
	element = $('popup-wrapper');
	element.appear({ duration: 0.3, from: 0, to: 1 ,afterFinish: setTransparency});
	element.addClassName('open');
	// function to center the popup on screen
	var centerPopUp = function(){
		var thePopup = element;
		
		var dim = document.body.clientWidth;
		var leftPos = parseInt(((dim / 2) - (thePopup.getWidth() / 2)));
		// set it in middle
 		thePopup.style.top = "200px";
		thePopup.style.left = leftPos+'px';	
 		// Add the dropshadow to the element
 		if(!thePopup.hasClassName('shadow')){
 			thePopup.addClassName('shadow');
 		}
	}
	
	// center
	centerPopUp();
	// keep popup in center while resizing
	Event.observe(window, 'resize', centerPopUp);

	// CHECK TO SEE IF POP CLOSE BUTTON IS CLICKED
	$('close-popup-btn').observe('click',function(){		
		// close popup		
		this.up(1).fade({ duration: 0.3, from: 1, to: 0 });
		this.up(1).removeClassName('open');
	});
}