<style type="text/css">
<!--/***********************************************/
/* HTML tag styles                             */
/***********************************************/-->


body {
	margin: 0px;
	padding: 0px; /* Need to set body margin and padding to get consistency between browsers. */
	text-align: center; /* Hack for IE5/Win */
	background-color: White; 
	/*background-image: url(http://www.chcrpa.org/Assets/images/stripe_backgrnd1.png);
	background-repeat: repeat-x;
	background-position: top;*/
}

#content {
	width: 780px;
	margin: 0px auto; /* Right and left margin widths set to "auto" */
	text-align: left; /* Counteract to IE5/Win Hack */
	background-color: White;
	font: 12px Myriad, Arial, sans-serif;
	color: #4B4B4B;
}

#topCell{
	position: static;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 780px;
	height: 75px;
	background-color: White;
	padding: 0px;
	margin: 0px;
}



#midCell{
	position: static;
	top: 0px;
	left: 0;
	right: 0;
	width: 780px;
	background-color: #ffffff;
	padding: 0px;
	margin: 0px;
	color: #4B4B4B;
}

#midCell table{
	margin:0px;
	padding:0px; /* Need to set body margin and padding to get consistency between browsers. */
	text-align:left;  /*Hack for IE5/Win */	
	color: #4B4B4B;
}


#midCell table tr td p {
	font: 12px Myriad, Arial, sans-serif;
}



#mainTitle {
	margin: 0px;
	padding: 50px 10px 20px 20px;
	height: 20px; /*background-color: #666666; background-image: url(http://staging.chcrpa.org/Assets/images/background-2a.gif);*/
	border-top: 1px solid #FFFFFF;
	border-bottom: thin solid #000000;
	font: normal lighter 18px Verdana, Geneva, Arial, Helvetica, sans-serif;
	color: #FFFFFF;
}


#mainTitle :link, :visited {
	color: #FFFFFF;
	text-decoration: none;
}


#mainTitle :link:hover, :visited:hover {
	color: #FFFFFF;
	text-decoration: none;
}

#mainTitle :link:active, :visited:active {
	color: #FFFFFF;
	text-decoration: none;
}

#pageBanner {
	position: relative;
	top: 0px;
	left: 0;
	right: 0;
	width: 780px;
	height: 100px;
	background-color: #ffffff;
	padding: 0px;
	margin: 3px 0px 0px 0px;
}


#pageNav {
	float: left;
	width: 210px;
	padding: 50px 0px 0px 0px;
	margin: 0px 0px 0px 0px;
	background-color: #ffffff;
	border-top: 1px solid Gray;
}


#pageContent {
	float: right;
	width: 545px;
	height: 350px;
	margin: 0px;
	padding: 20px 5px 10px 20px;
	background-color: #F9FFFC;
	border-top: 1px solid Gray;
	border-bottom: medium solid Gray;
}


#botCell {
	position: static;
	top: 0px;	
	left: 0;
	right: 0;
	width:780px;
	padding:0px;
	margin:0px;
	text-align: center;
}


#botCell table {
	
	background-color: #ffffff;
	padding:0px;
	margin:0px;
	padding-bottom: 10px;
	border-top: 5px solid #000000;
	color: Gray;
}


#botCell table tr td {
	font-size: 11px;
}


#vignetteCell{
	position: static;
	height: 100%;
	margin:0px;
	border-top-color: #000000;
	border-top-width: 1px;
	border-top-style: solid;
	padding-bottom: 10px;
	display: block;
	padding-top: 10px;
}


#vignetteCell table {
	margin:0px;
	padding: 0px;
}



/*********************************/
/*    text formating             */
/*********************************/

p {
	padding: 0px;
	margin: 10px 0px 10px 0px;
}


:link {
	color: #2F6464;
	text-decoration: none;
}

:visited {
	color: #2F4F4F;
	text-decoration: none;
}

:link:hover, :visited:hover {
	color: #AF0000;
	text-decoration: none;
}


:link:active, :visited:active {
	color: #2F6464;
	text-decoration: none;
}


h1 {
	margin: 0;
	font: lighter 24px Myriad,Arial,sans-serif;
	color: #333333;
	margin-top: 30px;
	margin-bottom: 20px;
}

h2 {
	font: bold 14px Myriad,Arial,sans-serif;
	color: #236464;
	margin: 10px 0px 20px;
	padding: 2px 2px 2px 4px;
	background-color: #E3EEEF;
}


h2 :link {
	font: bold 14px Myriad,Arial,sans-serif;
	color: #236464;
	text-decoration: none;
}


h2 :visited {
	font: bold 14px Myriad,Arial,sans-serif;
	color: #236464;
	text-decoration: none;
}


h2 :link:hover {
	font: bold 14px Myriad,Arial,sans-serif;
	color: #AF0000;
	text-decoration: underline;
}


h2 :visited:hover {
	font: bold 14px Myriad,Arial,sans-serif;
	color: #AF0000;
	text-decoration: underline;
}


h2 :link:active {
	font: bold 14px Myriad,Arial,sans-serif;
	color: #236464;
	text-decoration: none;
}


h2 :visited:active {
	font: bold 14px Myriad,Arial,sans-serif;
	color: #236464;
	text-decoration: none;
}


h3 {
	padding: 4px;
	color: Gray;
	font: small-caps 14px Myriad,Arial,sans-serif;
	font-weight: lighter;
	border: none;
	border-bottom: 1px dotted Silver;
	border-left: medium solid Silver;
}


h4 {
	margin: 0px 0px 10px 15px;
	padding: 0px 0px 0px 4px;
	color: #236464;
	font: normal small-caps lighter 12px Verdana, Geneva, Arial, Helvetica, sans-serif;
	border: none;
	border-left: medium double;
}



#greenMenu {
	font: 700 12px Myriad, Arial, sans-serif;
	text-align: left;
	color: #FFFFFF;
}

#greenMenu table tr td {
	font: 12px Myriad, Arial, sans-serif;
}


#greenMenu table tr td :link {
	color: #FFFFFF;
	font-weight: 700;
	text-decoration: none;
}


#greenMenu table tr td :visited {
	color: #FFFFFF;
	font-weight: 700;
	text-decoration: none;
}


#greenMenu table tr td :link:hover {
	color: #000000;
	font-weight: 700;
	text-decoration: none;
}


#greenMenu table tr td :visited:hover {
	color: #000000;
	font-weight: 700;
	text-decoration: none;
}


#greenMenu table tr td :link:active {
	color: #000000;
	font-weight: 700;
	text-decoration: none;
}


#greenMenu table tr td :visited:active {
	color: #000000;
	font-weight: 700;
	text-decoration: none;
}


.adNav {
	padding: 2px 0px 2px 0px;
	margin: 2px 0px 2px 0px;
	line-height: 200%;
	font: 12px Myriad, Arial, sans-serif;
	font-weight: bold;
}


.tpoNavTop {
	padding: 2px 0px 2px 0px;
	margin: 2px 0px 2px 0px;
	border-top: 1px solid Gray;
}


.tpoNav {
	padding: 2px 0px 2px 0px;
	margin: 2px 0px 2px 0px;
	line-height: 200%;
	display: block;
	font: 12px Myriad, Arial, sans-serif;
	font-weight: bold;
	text-decoration: none;
}

.tpoNav :link {
	color: #696969;
	font-weight: bold;
	text-decoration: none
}


.tpoNav :visited {
	color: #696969;
	font-weight: bold;
}


.tpoNav :link:hover {
	color: #AF0000;
	font-weight: bold;
	display: block;
	background-color: #F5F5F5;
	text-decoration: none;
	/*background-color: #DDDDDD;*/
}


.tpoNav :visited:hover {
	color: #AF0000;
	font-weight: bold;
	display: block;
	background-color: #F5F5F5;
	text-decoration: none;
	/*background-color: #DDDDDD;*/
}


.tpoNav :link:active {
	color: #696969;
	font-weight: bold;
}


.tpoNav :visited:active {
	color: #696969;
	font-weight: bold;
}



#botCell table tr td :link {
	color: #236464;
	font-weight: normal;
}

#botCell table tr td :visited {
	color: #236464;
	font-weight: normal;
}


#botCell table tr td :link:hover {
	color: #AF0000;
	font-weight: normal;
}


#botCell table tr td :visited:hover {
	color: #AF0000;
	font-weight: normal;
}


#botCell table tr td :link:active {
	color: #236464;
	font-weight: normal;
}


#botCell table tr td :visited:active {
	color: #236464;
	font-weight: normal;
}


#vignetteCell :link {
	font-size: 12px;
	color: #696969;
	text-decoration: none;
}


#vignetteCell table tr td :link {
	font-size: 12px;
	color: #696969;
	text-decoration: none;
	font-weight: normal;
}


#vignetteCell table tr td :visited {
	font-size: 12px;
	color: #696969;
	text-decoration: none;
	font-weight: normal;
}


#vignetteCell table tr td :link:hover {
	font-size: 12px;
	color: #AF0000;
	text-decoration: underline;
	font-weight: normal;
}


#vignetteCell table tr td :visited:hover {
	font-size: 12px;
	color: #AF0000;
	text-decoration: underline;
	font-weight: normal;
}


#vignetteCell table tr td :link:active {
	font-size: 12px;
	color: #696969;
	text-decoration: none;
	font-weight: normal;
}



#vignetteCell table tr td :visited:active {
	font-size: 12px;
	color: #696969;
	text-decoration: none;
	font-weight: normal;
}


#bottomlinks {
	text-align:right;	
	padding-top: 5px;
	padding-bottom: 10px;
	border-top: 5px solid #000000;
	background-color:#FFFFFF;
	font-size: 11px;
	font-weight: lighter;
}


/*********************************/
/*      text areas & forms       */
/*********************************/


form {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1em;
	color: #333333; 
}

input {	
	font-family: Arial, Helvetica, sans-serif;	
	font-size: 1em;
	color: #333333;
}
	
li {	
	font: 12px Myriad, Arial, sans-serif;
}

ol {
	font: 12px Myriad, Arial, sans-serif;
	list-style-type: decimal;	
	list-style-position: outside;
}

textarea {
	font-family: Arial, Helvetica, sans-serif;	
	font-size: 1em;
}

.FormBackgroundColor {
	color: #CCCCCC;
}



.tableInfo {
	border: 1px;
	border-color: Gray;
	font: 11px Myriad, Arial, sans-serif; 
}



.tableInfo tr td {
	padding: 3px;
	border: 1px;
	border-color: Silver;
	border-bottom: 1px dotted Silver;
	border-right: 1px solid Silver;
}


.mainContentArea {
	margin: 0px;
	padding: 10px 5px 10px 20px;
	background-color: #F9FFFC;
	border-top: 1px solid Gray;
	border-bottom: medium solid Gray;
}


.mainContentArea :link {
	color: #AF0000;
	font-weight: bold;
}

.mainContentArea :visited {
	color: Maroon;
	font-weight: bold;
}

.mainContentArea :link:hover {
	color: #AF0000;
	font-weight: bold;
	text-decoration: underline;
}


.mainContentArea :visited:hover {
	color: #AF0000;
	font-weight: bold;
	text-decoration: underline;
}



.mainContentArea :link:active {
	color: #AF0000;
	font-weight: bold;
}


.mainContentArea :visited:active {
	color: #AF0000;
	font-weight: bold;
}


/**.mainContentArea img {
	margin: 20px;
	padding: 0px;
	border: thin solid #333333;
}**/


#quickLinks{
	/*font: normal 12px Myriad,Arial,sans-serif;*/
	color: #236464;
	margin: 50px 0px 10px 0px;
	padding: 0px;
}


.quickLook {
	margin: 0px;
	padding: 2px 2px 2px 2px;
	background-color: #F9FFFC;
	border-top: 1px solid Gray;
	border-bottom: medium solid Gray;
}



/*********************************/
/*       other attributes        */
/*********************************/

#landUsePlans {
	margin: 0px;
	padding: 0px;
	position: static;
	display: block;
	font-size: 12px;
	vertical-align: top;
	width: 330px;
}

#landUsePlans table tr td {
	margin: 0px;
	padding: 0px;
	position: static;
	display: block;
	border: thin solid White;
	border-color: #FFFFFF;
	font: "Arial Narrow";
	font-size: 12px;
	color: #333333;
	background-color: #EEEEEE;
	text-align: center;
	vertical-align: middle;
}

#landUsePlans table tr td a, #landUsePlans table tr td a:link, #landUsePlans table tr td a:visited {
	padding: 4px;
	display: block;
}


#landUsePlans table tr td a:hover {
	color: #AF0000;
	background-color: #F9FFFC;
	background: #F9FFFC;
}


.landUsePlans {
	margin: 0px;
	padding: 10px 5px 10px 5px;
}


.landUseGreen {
	margin: 0px;
	padding: 4px;
	position: static;
	font: "Arial Black";
	color: #FFFFFF;
	background-color: #236464;
	border: thin solid White;
	border-color: #FFFFFF;
	text-align: center;
	vertical-align: middle;
}


.landUseGreen a {
	font: "Arial Black";
	color: #FFFFFF;
	background-color: #236464;
	text-decoration: none;
}


.landUseGreen a:link {
	font: "Arial Black";
	color: #FFFFFF;
	background-color: #236464;
	text-decoration: none;
}


.landUseGreen a:visited {
	font: "Arial Black";
	color: #FFFFFF;
	background-color: #236464;
	text-decoration: none;
}


.landUseGreen a:hover {
	font: "Arial Black";
	color: #FFFFFF;
	background-color: #236464;
	background: #236464;
	text-decoration: none;
}


#landUseImages {
	margin: 0px;
	padding: 0px;
	position: static;
	width: 445px;
	vertical-align: top;
}


#landUseImages table tr td {
	margin: 0px;
	padding: 0px;
	position: static;
	display: block;
	width: 443px;
	/*border: thin solid White;
	border-color: #FFFFFF;*/
	font: bold Arial Helvetica sans-serif;
	color: #236464;
	background-color: #FFFFFF;
	text-align: center;
	vertical-align: top;
}


.greyBlock {
	margin: 0px;
	padding: 0px;
	position: static;
	height: 100%;
	background-color: #DDDDDD;
	/*vertical-align: baseline;*/
	border: thin solid white;
}


.projects {
	margin: 0px;
	padding: 4px;
	position: static;
	font: normal bolder small Arial, Helvetica, sans-serif;
	color: #CCE3E3;
	background-color: #236464;
	border: thin solid White;
	border-color: #FFFFFF;
	text-align: center;
	vertical-align: middle;
}


.projects a {
	color: #FFFFFF;
	background-color: #236464;
	text-decoration: none;
}


.projects a:link {
	color: #FFFFFF;
	background-color: #236464;
	text-decoration: none;
}


.projects a:visited {
	color: #FFFFFF;
	background-color: #236464;
	text-decoration: none;
}


.projects a:hover {
	color: #000000;
	background-color: #236464;
	background: #236464;
}



#photoGallery {
	width: 710px;
	margin: 0px;
	padding: 10px;
	text-align: center;
	background-color: #D8E7E0;
	color: #333333;
	font-size: small;
	/*border: thin #333333;*/
	font-weight: bold;
}


.picture {
	margin: 20px;
	padding: 10px;
	background-color: White;
	border: medium solid #333333;
}


.banner {
	margin: 0px 0px 2px 0px;
	border-bottom: .5px solid Gray;
}




.center {
	text-align: center;
}



.left {
	text-align: left;
}


.right {
	text-align: right;
}

.floatR {
	float: right;
}

.floatL {
	float: left;
}


.static {
	position: static;
}

/*************** Slide Menu Extras Begin ******************/

	#leftMenu{
		width:200px;
		padding-left:10px;
		padding-right:10px;
		float:left;
	}
	#mainContent{
		width: 520px;
		padding-right:10px;	
		float:left;
	}
	/*
	General rules
	*/
 
	#dhtmlgoodies_slidedown_menu li{
		list-style-type:none;
		position:relative;
	}
	#dhtmlgoodies_slidedown_menu ul{
		margin:0px;
		padding:0px;
		position:relative;
 
	}
 
	#dhtmlgoodies_slidedown_menu div{
		margin:0px;
		padding:0px;
	}
	/* 	Layout CSS */
	#dhtmlgoodies_slidedown_menu{		
		width:205px;	
		visibility:hidden;
	}
 
	/* All A tags - i.e menu items. */
	#dhtmlgoodies_slidedown_menu a{
		color: #000;
		text-decoration:none;	
		display:block;
		clear:both;
		width:170px;	
		padding-left:2px;	
 
	}
	
	/*
	A tags 
	*/
	#dhtmlgoodies_slidedown_menu .slMenuItem_depth1{	/* Main menu items */
		margin-top:1px;
		border-bottom:1px solid #red;
		font-weight:bold;
	}	
	#dhtmlgoodies_slidedown_menu .slMenuItem_depth2{	/* Sub menu items */
		margin-top:1px;
		color:#333;
	}	
	#dhtmlgoodies_slidedown_menu .slMenuItem_depth3{	/* Sub menu items */
		margin-top:1px;
		font-style:italic;
		color:blue;
	}	
	#dhtmlgoodies_slidedown_menu .slMenuItem_depth4{	/* Sub menu items */
		margin-top:1px;
		color:red;
	}	
	#dhtmlgoodies_slidedown_menu .slMenuItem_depth5{	/* Sub menu items */
		margin-top:1px;
	}
 
	/* UL tags, i.e group of menu utems. 
	It's important to add style to the UL if you're specifying margins. If not, assign the style directly
	to the parent DIV, i.e. 
	
	#dhtmlgoodies_slidedown_menu .slideMenuDiv1
	
	instead of 
	
	#dhtmlgoodies_slidedown_menu .slideMenuDiv1 ul
	*/
	
	#dhtmlgoodies_slidedown_menu .slideMenuDiv1 ul{
		padding:1px;
	}
	#dhtmlgoodies_slidedown_menu .slideMenuDiv2 ul{
		margin-left:5px;
		padding:1px;
	}
	#dhtmlgoodies_slidedown_menu .slideMenuDiv3 ul{
		margin-left:10px;
		padding:1px;
	}
	#dhtmlgoodies_slidedown_menu .slMenuItem_depth4 ul{
		margin-left:15px;
		padding:1px;
	}
	
	</style> 
	<script type="text/javascript"> 
	/************************************************************************************************************
	(C) www.dhtmlgoodies.com, October 2005
	
	This is a script from www.dhtmlgoodies.com. You will find this and a lot of other scripts at our website.	
	
	Terms of use:
	You are free to use this script as long as the copyright message is kept intact. However, you may not
	redistribute, sell or repost it without our permission.
	
	Thank you!
	
	www.dhtmlgoodies.com
	Alf Magne Kalleland
	
	************************************************************************************************************/	
var expandFirstItemAutomatically = false;	// Expand first menu item automatically ?
var initMenuIdToExpand = false;	// Id of menu item that should be initially expanded. the id is defined in the <li> tag.
var expandMenuItemByUrl = true;	// Menu will automatically expand by url - i.e. if the href of the menu item is in the current location, it will expand
 
 
var initialMenuItemAlwaysExpanded = true;	// NOT IMPLEMENTED YET
 
var dhtmlgoodies_slmenuObj;
var divToScroll = false;
var ulToScroll = false;	
var divCounter = 1;
var otherDivsToScroll = new Array();
var divToHide = false;
var parentDivToHide = new Array();
var ulToHide = false;
var offsetOpera = 0;
if(navigator.userAgent.indexOf('Opera')>=0)offsetOpera=1;	
var slideMenuHeightOfCurrentBox = 0;
var objectsToExpand = new Array();
var initExpandIndex = 0;
var alwaysExpanedItems = new Array();
	
function popMenusToShow()
{
	var obj = divToScroll;
	var endArray = new Array();
	while(obj && obj.tagName!='BODY'){
		if(obj.tagName=='DIV' && obj.id.indexOf('slideDiv')>=0){
			var objFound = -1;
			for(var no=0;no<otherDivsToScroll.length;no++){
				if(otherDivsToScroll[no]==obj){
					objFound = no;		
				}					
			}	
			if(objFound>=0){
				otherDivsToScroll.splice(objFound,1);	
			}		
		}	
		obj = obj.parentNode;
	}	
}
 
function showSubMenu(e,inputObj)
{
 
	if(this && this.tagName)inputObj = this.parentNode;
	if(inputObj && inputObj.tagName=='LI'){
		divToScroll = inputObj.getElementsByTagName('DIV')[0];
		for(var no=0;no<otherDivsToScroll.length;no++){
			if(otherDivsToScroll[no]==divToScroll)return;
		}			
	}
	hidingInProcess = false;
	if(otherDivsToScroll.length>0){
		if(divToScroll){				
			if(otherDivsToScroll.length>0){
				popMenusToShow();
			}
			if(otherDivsToScroll.length>0){	
				autoHideMenus();
				hidingInProcess = true;
			}
		}	
	}		
	if(divToScroll && !hidingInProcess){
		divToScroll.style.display='';
		otherDivsToScroll.length = 0;
		otherDivToScroll = divToScroll.parentNode;
		otherDivsToScroll.push(divToScroll);	
		while(otherDivToScroll && otherDivToScroll.tagName!='BODY'){
			if(otherDivToScroll.tagName=='DIV' && otherDivToScroll.id.indexOf('slideDiv')>=0){
				otherDivsToScroll.push(otherDivToScroll);
									
			}
			otherDivToScroll = otherDivToScroll.parentNode;
		}			
		ulToScroll = divToScroll.getElementsByTagName('UL')[0];
		if(divToScroll.style.height.replace('px','')/1<=1)scrollDownSub();
	}	
	
	return false;
}
 
 
 
function autoHideMenus()
{
	if(otherDivsToScroll.length>0){
		divToHide = otherDivsToScroll[otherDivsToScroll.length-1];
		parentDivToHide.length=0;
		var obj = divToHide.parentNode.parentNode.parentNode;
		while(obj && obj.tagName=='DIV'){			
			if(obj.id.indexOf('slideDiv')>=0)parentDivToHide.push(obj);
			obj = obj.parentNode.parentNode.parentNode;
		}
		var tmpHeight = (divToHide.style.height.replace('px','')/1 - slideMenuHeightOfCurrentBox);
		if(tmpHeight<0)tmpHeight=0;
		if(slideMenuHeightOfCurrentBox)divToHide.style.height = tmpHeight  + 'px';
		ulToHide = divToHide.getElementsByTagName('UL')[0];
		slideMenuHeightOfCurrentBox = ulToHide.offsetHeight;
		scrollUpMenu();		
	}else{
		slideMenuHeightOfCurrentBox = 0;
		showSubMenu();			
	}
}
 
 
function scrollUpMenu()
{
 
	var height = divToHide.offsetHeight;
	height-=15;
	if(height<0)height=0;
	divToHide.style.height = height + 'px';
 
	for(var no=0;no<parentDivToHide.length;no++){	
		parentDivToHide[no].style.height = parentDivToHide[no].getElementsByTagName('UL')[0].offsetHeight + 'px';
	}
	if(height>0){
		setTimeout('scrollUpMenu()',5);
	}else{
		divToHide.style.display='none';
		otherDivsToScroll.length = otherDivsToScroll.length-1;
		autoHideMenus();			
	}
}	
 
function scrollDownSub()
{
	if(divToScroll){			
		var height = divToScroll.offsetHeight/1;
		var offsetMove =Math.min(15,(ulToScroll.offsetHeight - height));
		height = height +offsetMove ;
		divToScroll.style.height = height + 'px';
		
		for(var no=1;no<otherDivsToScroll.length;no++){
			var tmpHeight = otherDivsToScroll[no].offsetHeight/1 + offsetMove;
			otherDivsToScroll[no].style.height = tmpHeight + 'px';
		}			
		if(height<ulToScroll.offsetHeight)setTimeout('scrollDownSub()',5); else {
			divToScroll = false;
			ulToScroll = false;
			if(objectsToExpand.length>0 && initExpandIndex<(objectsToExpand.length-1)){
				initExpandIndex++;
				
				showSubMenu(false,objectsToExpand[initExpandIndex]);
			}
		}
	}
}
	
function initSubItems(inputObj,currentDepth)
{		
	divCounter++;		
	var div = document.createElement('DIV');	// Creating new div		
	div.style.overflow = 'hidden';	
	div.style.position = 'relative';
	div.style.display='none';
	div.style.height = '1px';
	div.id = 'slideDiv' + divCounter;
	div.className = 'slideMenuDiv' + currentDepth;		
	inputObj.parentNode.appendChild(div);	// Appending DIV as child element of <LI> that is parent of input <UL>		
	div.appendChild(inputObj);	// Appending <UL> to the div
	var menuItem = inputObj.getElementsByTagName('LI')[0];
	while(menuItem){
		if(menuItem.tagName=='LI'){
			var aTag = menuItem.getElementsByTagName('A')[0];
			aTag.className='slMenuItem_depth'+currentDepth;	
			var subUl = menuItem.getElementsByTagName('UL');
			if(subUl.length>0){
				initSubItems(subUl[0],currentDepth+1);					
			}
			aTag.onclick = showSubMenu;				
		}			
		menuItem = menuItem.nextSibling;						
	}		
}
 
function initSlideDownMenu()
{
	dhtmlgoodies_slmenuObj = document.getElementById('dhtmlgoodies_slidedown_menu');
	dhtmlgoodies_slmenuObj.style.visibility='visible';
	var mainUl = dhtmlgoodies_slmenuObj.getElementsByTagName('UL')[0];		
	var mainMenuItem = mainUl.getElementsByTagName('LI')[0];
	mainItemCounter = 1;
	while(mainMenuItem){			
		if(mainMenuItem.tagName=='LI'){
			var aTag = mainMenuItem.getElementsByTagName('A')[0];
			aTag.className='slMenuItem_depth1';	
			var subUl = mainMenuItem.getElementsByTagName('UL');
			if(subUl.length>0){
				mainMenuItem.id = 'mainMenuItem' + mainItemCounter;
				initSubItems(subUl[0],2);
				aTag.onclick = showSubMenu;
				mainItemCounter++;
			}				
		}			
		mainMenuItem = mainMenuItem.nextSibling;	
	}		
	
	if(location.search.indexOf('mainMenuItemToSlide')>=0){
		var items = location.search.split('&');
		for(var no=0;no<items.length;no++){
			if(items[no].indexOf('mainMenuItemToSlide')>=0){
				values = items[no].split('=');
				showSubMenu(false,document.getElementById('mainMenuItem' + values[1]));	
				initMenuIdToExpand = false;				
			}
		}			
	}else if(expandFirstItemAutomatically>0){
		if(document.getElementById('mainMenuItem' + expandFirstItemAutomatically)){
			showSubMenu(false,document.getElementById('mainMenuItem' + expandFirstItemAutomatically));
			initMenuIdToExpand = false;
		}
	}
 
	if(expandMenuItemByUrl)
	{
		var aTags = dhtmlgoodies_slmenuObj.getElementsByTagName('A');
		for(var no=0;no<aTags.length;no++){
			var hrefToCheckOn = aTags[no].href;				
			if(location.href.indexOf(hrefToCheckOn)>=0 && hrefToCheckOn.indexOf('#')<hrefToCheckOn.length-1){
				initMenuIdToExpand = false;
				var obj = aTags[no].parentNode;
				while(obj && obj.id!='dhtmlgoodies_slidedown_menu'){
					if(obj.tagName=='LI'){							
						var subUl = obj.getElementsByTagName('UL');
						if(initialMenuItemAlwaysExpanded)alwaysExpanedItems[obj.parentNode] = true;
						if(subUl.length>0){								
							objectsToExpand.unshift(obj);
						}
					}
					obj = obj.parentNode;	
				}
				showSubMenu(false,objectsToExpand[0]);
				break;					
			}			
		}
	}
			
	if(initMenuIdToExpand)
	{
		objectsToExpand = new Array();
		var obj = document.getElementById(initMenuIdToExpand)
		while(obj && obj.id!='dhtmlgoodies_slidedown_menu'){
			if(obj.tagName=='LI'){
				var subUl = obj.getElementsByTagName('UL');
				if(initialMenuItemAlwaysExpanded)alwaysExpanedItems[obj.parentNode] = true;
				if(subUl.length>0){						
					objectsToExpand.unshift(obj);
				}
			}
			obj = obj.parentNode;	
		}
		
		showSubMenu(false,objectsToExpand[0]);
 
	}
	
 
		
}


/*************** Slide Menu Extras End ******************/



</style>

