<!--
/* *************************************************************
* set some global variables that will be checked later         *
***************************************************************/
var emailLinkImg = new Image();

var imageRootPath = "http://www.rncdc.org/images/";
var imageType = "gif";

var navArray = [
	/* here's are sample Array entryies for "nav" and "spacer" types
	["nav","inactive cue","Image Link","Image Root Name","image events (aside from 'Home' and 'Off' which are mandatory 'O' for over ,'D' so...'O' 'D' or 'OD' ", "alt text...if none found here just use],
	["spacer","spacer.gif","alt text"],
	*/


	["nav","home","http://www.rncdc.org/index.php","navHome","O","Home Page"],
	["nav","investors","http://www.rncdc.org/investors.php","navInvestors","O","Investors"],
	["nav","talkToUs","http://www.rncdc.org/talkToUs.php","navTalkToUs","O","Talk To Us"],
	["nav","commDev","http://www.rncdc.org/cgi-bin/listman/exec/search.cgi?search=1&template=_comm_dev.html&lfield3_keyword=Community&sort_order=1%2C123%2Cforward&marknew=0&pagenum=1","navCommDev","O","Community Development"],
	["nav","bizDev","http://www.rncdc.org/cgi-bin/listman/exec/search.cgi?search=1&template=_biz_dev.html&lfield3_keyword=Business&sort_order=1%2C123%2Cforward&marknew=0&pagenum=1","navBizDev","O","Business Development"],
	["nav","faithHouse","http://www.rncdc.org/cgi-bin/listman/exec/search.cgi?search=1&template=_faith_house.html&lfield3_keyword=Faith+House&sort_order=1%2C123%2Cforward&marknew=0&pagenum=1","navFaithHouse","O","Faith House Structures"],

	// this last entry is here just to help protect you from screwing up the syntax when adding entries...just leave it be
	["image type values nav/spacer","inactive cue","off Image","over image","click image","alt text"]
];

function createImageObject(rootName){
	eval(rootName +'= new Image()');
	eval(rootName+'.src = "'+ imageRootPath + rootName + '.' +imageType+'"');
}

function drawImageSet(imageSet,nativeTrigger,navStart){
	document.write('<table cellspacing="0" cellpadding="0" class="navigation'+navStart+'" ><tr>');
	for( x= navStart-1; x < navStart+2; x++){
		document.write('<td class="navButton'+navStart+'">');
		if(imageSet[x][0].toLowerCase() == "nav"){
			tmpAText = "";
			tmpAltText = "";
			if ( imageSet[x][1].toLowerCase() != nativeTrigger.toLowerCase() ){

				tmpAText += '<a href="'+imageSet[x][2]+'"';

				if ( eval("menu"+(x+1)+".length") > 0 ){
					tmpAText += ' onMouseOver="dropdownmenu(this, event, menu'+(x+1)+', \'205px\',\''+imageSet[x][3]+'\');"';
					tmpAText += ' onMouseOut="dynamichide(event,\''+imageSet[x][3]+'\')"';
				}
				else{
					tmpAText += ' onMouseOver="document.autoDrawn'+imageSet[x][3]+'.src='+imageSet[x][3]+'Over.src"';
					tmpAText += ' onMouseOut="document.autoDrawn'+imageSet[x][3]+'.src='+imageSet[x][3]+'Off.src;"';
				}

				( !imageSet[x][5] || imageSet[x][5] == "" ) ? tmpAltText = ' alt="'+imageSet[x][2]+'"' : tmpAltText = ' alt="'+imageSet[x][5]+'"';
				tmpAText += ">";
				document.write(tmpAText+'<img name="autoDrawn'+imageSet[x][3]+'" src='+imageRootPath+imageSet[x][3]+'Off.'+imageType+ ' border="0" '+tmpAltText+'></a>');

				/*
					tmpAText += '<a href="'+imageSet[x][2]+'"';
					if (imageSet[x][4].toLowerCase().indexOf("o") > -1) tmpAText += ' onMouseOver="document.autoDrawn'+imageSet[x][3]+'.src='+imageSet[x][3]+'Over.src"';
					if (imageSet[x][4].toLowerCase().indexOf("x") > -1) tmpAText += ' onMouseDown="return clickreturnvalue()" onMouseOver="dropdownmenu(this, event, menu'+(x+1)+', \'205px\'); document.autoDrawn'+imageSet[x][3]+'.src='+imageSet[x][3]+'Over.src;"';
					if (imageSet[x][4].toLowerCase().indexOf("d") > -1) tmpAText += ' onMouseDown="document.autoDrawn'+imageSet[x][3]+'.src='+imageSet[x][3]+'Down.src"';
					if (imageSet[x][4].toLowerCase().indexOf("d") > -1 ||imageSet[x][4].toLowerCase().indexOf("o") > -1) tmpAText += ' onMouseOut="document.autoDrawn'+imageSet[x][3]+'.src='+imageSet[x][3]+'Off.src;"';
					if (imageSet[x][4].toLowerCase().indexOf("x") > -1) tmpAText += ' onMouseOut="dynamichide(event); document.autoDrawn'+imageSet[x][3]+'.src='+imageSet[x][3]+'Off.src;"';
					( !imageSet[x][5] || imageSet[x][5] == "" ) ? tmpAltText = ' alt="'+imageSet[x][2]+'"' : tmpAltText = ' alt="'+imageSet[x][5]+'"';
					tmpAText += ">";
					document.write(tmpAText+'<img name="autoDrawn'+imageSet[x][3]+'" src='+imageRootPath+imageSet[x][3]+'Off.'+imageType+ ' border="0" '+tmpAltText+'></a>');
				*/
			}else{
				tmpAText += '<a href="'+imageSet[x][2]+'"';
				if ( eval("menu"+(x+1)+".length") > 0 ){
					tmpAText += '<a href="'+imageSet[x][2]+'"';
					tmpAText += ' onMouseOver="dropdownmenu(this, event, menu'+(x+1)+', \'205px\');"';
					tmpAText += ' onMouseOut="dynamichide(event)"';
					( !imageSet[x][5] || imageSet[x][5] == "" ) ? tmpAltText = ' alt="'+imageSet[x][2]+'"' : tmpAltText = ' alt="'+imageSet[x][5]+'"';
					tmpAText += ">";
					document.write(tmpAText+'<img name="autoDrawn'+imageSet[x][3]+'" src='+imageRootPath+imageSet[x][3]+'Home.'+imageType+ ' border="0" '+tmpAltText+'></a>');
				}
				else{
					( !imageSet[x][5] || imageSet[x][5] == "" ) ? tmpAltText = ' alt="'+imageSet[x][2]+'"' : tmpAltText = ' alt="'+imageSet[x][5]+'"';
					document.write('<img src="'+imageRootPath+imageSet[x][3]+'Home.'+imageType+'" border="0" '+tmpAltText+'>');
				}
				/*
				( !imageSet[x][5] || imageSet[x][5] == "" ) ? tmpAltText = ' alt="'+imageSet[x][2]+'"' : tmpAltText = ' alt="'+imageSet[x][5]+'"';
				if (imageSet[x][4].toLowerCase().indexOf("x") > -1)
				{document.write('<a href="/" onMouseOver="dropdownmenu(this, event, menu'+(x+1)+', \'205px\')" ><img src="'+imageRootPath+imageSet[x][3]+'Home.'+imageType+'" border="0" >');}
				else
				{document.write('<img src="'+imageRootPath+imageSet[x][3]+'Home.'+imageType+'" border="0" '+tmpAltText+'>');}
				*/
			}
		}else{
			( !imageSet[x][2] || imageSet[x][2] == "" ) ? tmpAltText = ' alt="'+imageSet[x][1]+'"' : tmpAltText = ' alt="'+imageSet[x][2]+'"';
			document.write('<img src="'+imageRootPath+imageSet[x][1]+'" border="0"  '+tmpAltText+'>');
		}
		document.write('</td></tr>');
	}
	document.write('</table>');
}

for( x=0; x < navArray.length; x++){
	if ( navArray[x][0].toLowerCase() == "nav" ){
		createImageObject(navArray[x][3]+"Off");
		if(navArray[x][4].toLowerCase().indexOf("o") > -1 ) createImageObject(navArray[x][3]+"Over");
		if(navArray[x][4].toLowerCase().indexOf("x") > -1 ) createImageObject(navArray[x][3]+"Over");
		if(navArray[x][4].toLowerCase().indexOf("d") > -1 ) createImageObject(navArray[x][3]+"Down");
	}
}


/***********************************************
* AnyLink Drop Down Menu- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

//Contents for menu 1
var menu1=new Array()

//Contents for menu 2, and so on
var menu2=new Array()

//Contents for menu 3, and so on
var menu3=new Array()

//Contents for menu 4, and so on
var menu4=new Array()

//Contents for menu 5, and so on
var menu5=new Array()

//Contents for menu 6, and so on
var menu6=new Array()


var menuwidth='185px' //default menu width
var menubgcolor='#E4E4E3'  //menu bgcolor
var disappeardelay=250  //menu disappear speed onMouseout (in miliseconds)
var hidemenu_onclick="yes" //hide menu when user clicks within menu?

/////No further editting needed

var ie4=document.all
var ns6=document.getElementById&&!document.all

if (ie4||ns6)
document.write('<div id="dropmenudiv" style="visibility:hidden;width:'+menuwidth+';background-color:'+menubgcolor+'" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>')

function getposOffset(what, offsettype){
var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
var parentEl=what.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}


function showhide(obj, e, visible, hidden, menuwidth){
if (ie4||ns6)
dropmenuobj.style.left=dropmenuobj.style.top="500px"
if (menuwidth!=""){
dropmenuobj.widthobj=dropmenuobj.style
dropmenuobj.widthobj.width=menuwidth
}
if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
obj.visibility=visible
else if (e.type=="click")
obj.visibility=hidden
}

function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function clearbrowseredge(obj, whichedge){
var edgeoffset=0
if (whichedge=="rightedge"){
var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth
}
else{
var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset
var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move up?
edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either?
edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge
}
}
return edgeoffset
}

function populatemenu(what){
if (ie4||ns6)
dropmenuobj.innerHTML=what.join("")
}


function dropdownmenu(obj, e, menucontents, menuwidth,parentImage){
	//alert(obj+"-"+e+"-"+menucontents+"-"+menuwidth+"-"+parentImage);
	//return;
	if (typeof(parentImage) != "undefined") eval("autoDrawn"+parentImage+".src = " + parentImage + "Over.src");
	if (window.event) event.cancelBubble=true
	else if (e.stopPropagation) e.stopPropagation()
	clearhidemenu()
	dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv
	populatemenu(menucontents)

	if (ie4||ns6){
	showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)
	dropmenuobj.x=getposOffset(obj, "left")
	dropmenuobj.y=getposOffset(obj, "top")
	//dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px"
	dropmenuobj.style.left="209px";
	//dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px"
	dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight-28+"px"
}

return clickreturnvalue()
}

function clickreturnvalue(){
if (ie4||ns6) return false
else return true
}

function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}

function dynamichide(e,parentImage){
	if (typeof(parentImage) != "undefined") eval("autoDrawn"+parentImage+".src = " + parentImage + "Off.src");
	if (ie4&&!dropmenuobj.contains(e.toElement)){
		if (typeof(parentImage) != "undefined") eval("autoDrawn"+parentImage+".src = " + parentImage + "Off.src");
		delayhidemenu()
	}
	else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget)){
		if (typeof(parentImage) != "undefined") eval("autoDrawn"+parentImage+".src = " + parentImage + "Off.src");
		delayhidemenu()
	}
}

function hidemenu(e){
	if (typeof dropmenuobj!="undefined"){
		if (ie4||ns6)
		dropmenuobj.style.visibility="hidden"
	}
}

function delayhidemenu(){
if (ie4||ns6)
delayhide=setTimeout("hidemenu()",disappeardelay)
}

function clearhidemenu(){
if (typeof delayhide!="undefined")
clearTimeout(delayhide)
}

if (hidemenu_onclick=="yes")
document.onclick=hidemenu

function spawnWindow( width, height, location )
{
		var thePropertiesString = "";
		thePropertiesString += "menu=no,";
		thePropertiesString += "address=no,";
		thePropertiesString += "height=" + height + ",";
		thePropertiesString += "width=" + width;

		window.open( location , "Gallery" , thePropertiesString );
}

function emailLink()
{

	var emailMOver	= "emailLinkImg.src = \'images/emailLinkSelected.gif\'"; 
	var emailMOut		= "emailLinkImg.src = \'images/emailLink.gif\'";
	var emailImg		= "images/emailLink.gif";
	
	document.write('<table border=\'0\' cellpadding=\'0\' cellspacing=\'0\' valign=\'top\' height=\'100%\'>');
	document.write('<tr><td valign=\'top\'><img src=\'images/address.gif\' alt=\'11646 Sullivan Road Baton Rouge, LA 70818 Office: 225.261.2000 Fax: 225.261.6932\' height=\'83\' width=\'268\' /></td></tr>');
	document.write('<tr><td valign=\'top\'><a href=\'mailto:info@centralfd.org\' onMouseOver="');
	document.write(emailMOver);
	document.write('" onMouseOut="');
	document.write(emailMOut);
	document.write('"><img name=\'emailLinkImg\' src=\'');
	document.write(emailImg);
	document.write('\' border=\'0\' height=\'37\' width=\'268\' /></a></td></tr></table>');
}

function footer()
{
	var today=new Date();
	var nyear=today.getYear();
	
	if (nyear<=99)
  	nyear= "19"+nyear;

	if ((nyear>99) && (nyear<2000))
 	nyear+=1900;
		document.write("<a href='http://www.rncdc.org/index.php' alt='Home Page'>Home</a> | ");
		document.write("<a href='http://www.rncdc.org/investors.php' alt='Investors'>Investors</a> | ");
		document.write("<a href='http://www.rncdc.org/talkToUs.php' alt='Talk To Us'>Talk To Us</a> | ");
		document.write("<a href='http://www.rncdc.org/cgi-bin/listman/exec/search.cgi?search=1&template=_comm_dev.html&lfield3_keyword=Community&sort_order=1%2C123%2Cforward&marknew=0&pagenum=1' alt='Community Developers'>Community Development</a> | ");
		document.write("<a href='http://www.rncdc.org/cgi-bin/listman/exec/search.cgi?search=1&template=_biz_dev.html&lfield3_keyword=Business&sort_order=1%2C123%2Cforward&marknew=0&pagenum=1' alt='Business Development'>Business Development</a> | ");
		document.write("<a href='http://www.rncdc.org/cgi-bin/listman/exec/search.cgi?search=1&template=_faith_house.html&lfield3_keyword=Faith+House&sort_order=1%2C123%2Cforward&marknew=0&pagenum=1' alt='Faith House Structures'>Faith House Structures</a>");
		document.write('<br />copyright &copy; ');
		document.write(nyear);
		document.write(' RNCDC');
}

<!-- Copyright 2002 Bontrager Connection, LLC

function getCalendarDate()
{
   var months = new Array(13);
   months[0]  = "January";
   months[1]  = "February";
   months[2]  = "March";
   months[3]  = "April";
   months[4]  = "May";
   months[5]  = "June";
   months[6]  = "July";
   months[7]  = "August";
   months[8]  = "September";
   months[9]  = "October";
   months[10] = "November";
   months[11] = "December";
   var now         = new Date();
   var monthnumber = now.getMonth();
   var monthname   = months[monthnumber];
   var monthday    = now.getDate();
   var year        = now.getYear();
   if(year < 2000) { year = year + 1900; }
   var dateString = monthname +
                    ' ' +
                    monthday +
                    ', ' +
                    year;
   return dateString;
} // function getCalendarDate()

function getClockTime()
{
   var now    = new Date();
   var hour   = now.getHours();
   var minute = now.getMinutes();
   var second = now.getSeconds();
   var ap = "AM";
   if (hour   > 11) { ap = "PM";             }
   if (hour   > 12) { hour = hour - 12;      }
   if (hour   == 0) { hour = 12;             }
   if (hour   < 10) { hour   = "" + hour;   }
   if (minute < 10) { minute = "0" + minute; }
   if (second < 10) { second = "0" + second; }
   var timeString = hour +
                    ':' +
                    minute +                    
                    " " +
                    ap;
   return timeString;
} // function getClockTime()


function footerDate()
{
	
	var calendarDate = getCalendarDate();
	var clockTime = getClockTime();
		
	document.write(calendarDate);
	document.write('&nbsp;');
	document.write(clockTime);


}

//-->