function submitboxhome(callingSection, callingPage){
		//alert("submitboxhome");
        submitbox(callingSection, callingPage, "");
}
		
function submitboxprimary(callingSection, callingPage){
        submitbox(callingSection, callingPage, "../");
}

function submitboxsecondary(callingSection, callingPage){
        submitbox(callingSection, callingPage, "../../");
}

function submitbox(callingSection, callingPage, relativePath){
		//alert("relativepath=" + relativePath);
		var submitboxtext = "";
	
		submitboxtext += "<tr>\n";
			submitboxtext += "<td width=\"29\" valign=\"top\" rowspan=\"3\">\n";
				<!-- Twenty-nine pixel wide white space that runs all the way down the page and its shadow at the top -->
				submitboxtext += "<table cellspacing=\"0\" cellpadding=\"0\" border=\"0\" width=\"29\">\n";
					submitboxtext += "<tr>\n";
					
					if ((callingPage == "index") || (callingPage == "join")){
						submitboxtext += "<td background=\"" + relativePath + "images/shadow_nav.gif\" height=\"7\"><img src=\"" + relativePath + "images/space.gif\" width=\"1\" height=\"1\"></td>\n";
					}	
					else{
						submitboxtext += "<td background=\"" + relativePath + "images/sub_nav_gray_bg.gif\" height=\"23\"><img src=\"" + relativePath + "images/space.gif\" width=\"1\" height=\"1\"></td>\n";
                        submitboxtext += "</tr>\n";
                        submitboxtext += "<tr>\n";
						submitboxtext += "<td background=\"" + relativePath + "images/shadow_sub_nav.gif\" height=\"5\"><img src=\"" + relativePath + "images/space.gif\" width=\"1\" height=\"1\"></td>\n";
					}
					
					submitboxtext += "</tr>\n";
				submitboxtext += "</table>\n";
				<!-- end of Twenty-nine pixel wide white space -->
			submitboxtext += "</td>\n";
			<!-- One pixel wide line that runs down the side of the page -->
			submitboxtext += "<td width=\"1\" bgcolor=\"#000000\" rowspan=\"3\"><img src=\"" + relativePath + "images/space.gif\" width=\"1\" height=\"1\"></td>\n";
			submitboxtext += "<td>\n";
				<!-- row that contains the shadow under the nav bar and the top of the Submit box -->
				submitboxtext += "<table cellspacing=\"0\" cellpadding=\"0\" border=\"0\" width=\"685\">\n";
					submitboxtext += "<tr>\n";
						submitboxtext += "<td height=\"63\" valign=\"top\">\n";
							<!-- shadow under the nav bar -->
							
							
						if (callingPage == "index"){
							submitboxtext += "<table cellspacing=\"0\" cellpadding=\"0\" border=\"0\" width=\"458\">\n";
								submitboxtext += "<tr>\n";
									submitboxtext += "<td background=\"" + relativePath + "images/shadow_nav.gif\" valign=\"top\" colspan=\"2\" height=\"7\"><img src=\"" + relativePath + "images/space.gif\" width=\"1\" height=\"1\"></td>\n";
								submitboxtext += "</tr>\n";
								submitboxtext += "<tr>\n";
									submitboxtext += "<td width=\"29\"><img src=\"" + relativePath + "images/space.gif\" width=\"1\" height=\"1\"></td>\n";
									submitboxtext += "<td height=\"50\" width=\"429\" valign=\"bottom\" align=\"left\"><img src=\"" + relativePath + "images/head_welcome.gif\" width=\"112\" height=\"30\" alt=\"Welcome\"></td>\n";
								submitboxtext += "</tr>\n";
							submitboxtext += "</table>\n";
							
							<!-- end of shadow under the nav bar -->		
						
						submitboxtext += "</td>\n";
						submitboxtext += "<td valign=\"top\" bgcolor=\"#e7e7e7\">\n";	
							submitboxtext += "<table cellspacing=\"0\" cellpadding=\"0\" border=\"0\" width=\"227\">\n";
								submitboxtext += "<tr>\n";
									<!-- Top of Submit box -->
									submitboxtext += "<td colspan=\"2\" width=\"227\" height=\"46\" background=\"" + relativePath + "images/submit_bg.gif\">\n";
						}
						else{
							submitboxtext += "<table cellspacing=\"0\" cellpadding=\"0\" border=\"0\" width=\"458\">\n";
								
                            <!-- Subnavigation buttons -->
							if (callingSection == "news"){
								submitboxtext += "<tr>\n";
								if(callingPage == "minutes"){
									submitboxtext += "<td><a href=\"" + relativePath + "news/minutes.html\"><img src=\"" + relativePath + "images/sub_nav_meeting_min_on.gif\" width=\"133\" height=\"23\" alt=\"meeting minutes\" border=\"0\"></a></td>\n";
									}
								else{
									submitboxtext += "<td><a href=\"" + relativePath + "news/minutes.html\" onmouseover=\"imgOn('minutes')\" onMouseout=\"imgOff('minutes')\"><img src=\"" + relativePath + "images/sub_nav_meeting_min_off.gif\" width=\"133\" height=\"23\" alt=\"meeting minutes\" name=\"minutes\" border=\"0\"></a></td>\n";
								}
								
								if(callingPage == "voice"){
									submitboxtext += "<td><a href=\"" + relativePath + "news/voice.html\"><img src=\"" + relativePath + "images/sub_nav_vhca_voice_on.gif\" width=\"83\" height=\"23\" alt=\"vhca voice\" name=\"voice\" border=\"0\"></a></td>\n";
								}
								else{
									submitboxtext += "<td><a href=\"" + relativePath + "news/voice.html\" onmouseover=\"imgOn('voice')\" onMouseout=\"imgOff('voice')\"><img src=\"" + relativePath + "images/sub_nav_vhca_voice_off.gif\" width=\"83\" height=\"23\" alt=\"vhca voice\" name=\"voice\" border=\"0\"></a></td>\n";
								}
								
								if (callingPage == "financials"){
									submitboxtext += "<td><a href=\"" + relativePath + "news/financials.html\"><img src=\"" + relativePath + "images/sub_nav_financials_on.gif\" width=\"86\" height=\"23\" alt=\"financials\" name=\"financials\" border=\"0\"></a></td>\n";
								}
								else{
									submitboxtext += "<td><a href=\"" + relativePath + "news/financials.html\" onmouseover=\"imgOn('financials')\" onMouseout=\"imgOff('financials')\"><img src=\"" + relativePath + "images/sub_nav_financials_off.gif\" width=\"86\" height=\"23\" alt=\"financials\" name=\"financials\" border=\"0\"></a></td>\n";
								}
                                
								if (callingPage == "goals"){
									submitboxtext += "<td><a href=\"" + relativePath + "news/goals.html\"><img src=\"" + relativePath + "images/sub_nav_goals_on.gif\" width=\"88\" height=\"23\" alt=\"goals\" name=\"goals\" border=\"0\"></a></td>\n";
								}
								else{
									submitboxtext += "<td><a href=\"" + relativePath + "news/goals.html\" onmouseover=\"imgOn('goals')\" onMouseout=\"imgOff('goals')\"><img src=\"" + relativePath + "images/sub_nav_goals_off.gif\" width=\"88\" height=\"23\" alt=\"goals\" name=\"goals\" border=\"0\"></a></td>\n";
								}

                                submitboxtext += "<td background=\"" + relativePath + "images/sub_nav_gray_bg.gif\" width=\"156\"><img src=\"" + relativePath + "images/space.gif\" width=\"1\" height=\"1\"></td>\n";
								submitboxtext += "</tr>\n";
							}
							else if (callingSection == "summerfest"){	
								submitboxtext += "<tr>\n";
								if (callingPage == "events"){
									submitboxtext += "<td><a href=\"" + relativePath + "summerfest/events.html\"><img src=\"" + relativePath + "images/sub_nav_events_on.gif\" width=\"78\" height=\"23\" alt=\"events\" name=\"events\" border=\"0\"></a></td>\n";
								}
								else{
									submitboxtext += "<td><a href=\"" + relativePath + "summerfest/events.html\" onmouseover=\"imgOn('events')\" onMouseout=\"imgOff('events')\"><img src=\"" + relativePath + "images/sub_nav_events_off.gif\" width=\"78\" height=\"23\" alt=\"events\" name=\"events\" border=\"0\"></a></td>\n";
								}
								
								if (callingPage == "artist"){
									submitboxtext += "<td><a href=\"" + relativePath + "summerfest/artist.html\"><img src=\"" + relativePath + "images/sub_nav_artist_on.gif\" width=\"106\" height=\"23\" alt=\"artist market\" name=\"artist\" border=\"0\"></a></td>\n";
								}
								else{
									submitboxtext += "<td><a href=\"" + relativePath + "summerfest/artist.html\" onmouseover=\"imgOn('artist')\" onMouseout=\"imgOff('artist')\"><img src=\"" + relativePath + "images/sub_nav_artist_off.gif\" width=\"106\" height=\"23\" alt=\"artist market\" name=\"artist\" border=\"0\"></a></td>\n";
								}
								
								if (callingPage == "direct"){
									submitboxtext += "<td><a href=\"" + relativePath + "summerfest/directions.html\"><img src=\"" + relativePath + "images/sub_nav_direct_on.gif\" width=\"95\" height=\"23\" alt=\"directions\" name=\"direct\" border=\"0\"></a></td>\n";
								}
								else{
									submitboxtext += "<td><a href=\"" + relativePath + "summerfest/directions.html\" onmouseover=\"imgOn('direct')\" onMouseout=\"imgOff('direct')\"><img src=\"" + relativePath + "images/sub_nav_direct_off.gif\" width=\"95\" height=\"23\" alt=\"directions\" name=\"direct\" border=\"0\"></a></td>\n";
								}
								
								if(callingPage == "summerfaq"){
									submitboxtext += "<td><a href=\"" + relativePath + "summerfest/faqs.html\"><img src=\"" + relativePath + "images/sub_nav_faq_on.gif\" width=\"75\" height=\"23\" alt=\"faqs\" name=\"faq\" border=\"0\"></a></td>\n";
								}
								else{
									submitboxtext += "<td><a href=\"" + relativePath + "summerfest/faqs.html\" onmouseover=\"imgOn('faq')\" onMouseout=\"imgOff('faq')\"><img src=\"" + relativePath + "images/sub_nav_faq_off.gif\" width=\"75\" height=\"23\" alt=\"faqs\" name=\"faq\" border=\"0\"></a></td>\n";
								}
								
								if (callingPage == "volun"){
									submitboxtext += "<td><a href=\"" + relativePath + "summerfest/volunteers.html\"><img src=\"" + relativePath + "images/sub_nav_volun_on.gif\" width=\"104\" height=\"23\" alt=\"volunteers\" name=\"volun\" border=\"0\"></a></td>\n";
								}
								else{
									submitboxtext += "<td><a href=\"" + relativePath + "summerfest/volunteers.html\" onmouseover=\"imgOn('volun')\" onMouseout=\"imgOff('volun')\"><img src=\"" + relativePath + "images/sub_nav_volun_off.gif\" width=\"104\" height=\"23\" alt=\"volunteers\" name=\"volun\" border=\"0\"></a></td>\n";
								}
								
								submitboxtext += "</tr>\n";
							}

							else if (callingSection == "hometour"){	
								submitboxtext += "<tr>\n";
								if (callingPage == "tourhomes"){
									submitboxtext += "<td><a href=\"" + relativePath + "hometour/homes.html\"><img src=\"" + relativePath + "images/sub_nav_homes_on.gif\" width=\"52\" height=\"23\" alt=\"thomes\" name=\"thomes\" border=\"0\"></a></td>\n";
								}
								else{
									submitboxtext += "<td><a href=\"" + relativePath + "hometour/homes.html\" onmouseover=\"imgOn('thomes')\" onMouseout=\"imgOff('thomes')\"><img src=\"" + relativePath + "images/sub_nav_homes_off.gif\" width=\"52\" height=\"23\" alt=\"thomes\" name=\"thomes\" border=\"0\"></a></td>\n";
								}
								
								if (callingPage == "tourfaqs"){
									submitboxtext += "<td><a href=\"" + relativePath + "hometour/faqs.html\"><img src=\"" + relativePath + "images/sub_nav_tourfaqs_on.gif\" width=\"66\" height=\"23\" alt=\"tfaqs\" name=\"tfaqs\" border=\"0\"></a></td>\n";
								}
								else{
									submitboxtext += "<td><a href=\"" + relativePath + "hometour/faqs.html\" onmouseover=\"imgOn('tfaqs')\" onMouseout=\"imgOff('tfaqs')\"><img src=\"" + relativePath + "images/sub_nav_tourfaqs_off.gif\" width=\"66\" height=\"23\" alt=\"tfaqs\" name=\"tfaqs\" border=\"0\"></a></td>\n";
								}
								
								if (callingPage == "tourdirections"){
									submitboxtext += "<td><a href=\"" + relativePath + "hometour/directions.html\"><img src=\"" + relativePath + "images/sub_nav_tourdirections_on.gif\" width=\"95\" height=\"23\" alt=\"directions\" name=\"tdirect\" border=\"0\"></a></td>\n";
								}
								else{
									submitboxtext += "<td><a href=\"" + relativePath + "hometour/directions.html\" onmouseover=\"imgOn('tdirect')\" onMouseout=\"imgOff('tdirect')\"><img src=\"" + relativePath + "images/sub_nav_tourdirections_off.gif\" width=\"95\" height=\"23\" alt=\"directions\" name=\"tdirect\" border=\"0\"></a></td>\n";
								}
								
								if(callingPage == "tourcommittee"){
									submitboxtext += "<td><a href=\"" + relativePath + "hometour/committee.html\"><img src=\"" + relativePath + "images/sub_nav_committee_on.gif\" width=\"71\" height=\"23\" alt=\"tcomm\" name=\"tcomm\" border=\"0\"></a></td>\n";
								}
								else{
									submitboxtext += "<td><a href=\"" + relativePath + "hometour/committee.html\" onmouseover=\"imgOn('tcomm')\" onMouseout=\"imgOff('tcomm')\"><img src=\"" + relativePath + "images/sub_nav_committee_off.gif\" width=\"71\" height=\"23\" alt=\"tcomm\" name=\"tcomm\" border=\"0\"></a></td>\n";
								}
							
								
								if (callingPage == "tourhistory"){
									submitboxtext += "<td><a href=\"" + relativePath + "hometour/history.html\"><img src=\"" + relativePath + "images/sub_nav_history_on.gif\" width=\"52\" height=\"23\" alt=\"thistory\" name=\"thistory\" border=\"0\"></a></td>\n";
								}
								else{
									submitboxtext += "<td><a href=\"" + relativePath + "hometour/history.html\" onmouseover=\"imgOn('thistory')\" onMouseout=\"imgOff('thistory')\"><img src=\"" + relativePath + "images/sub_nav_history_off.gif\" width=\"52\" height=\"23\" alt=\"thistory\" name=\"thistory\" border=\"0\"></a></td>\n";
								}

								submitboxtext += "<td background=\"" + relativePath + "images/sub_nav_gray_bg.gif\" width=\"122\"><img src=\"" + relativePath + "images/space.gif\" width=\"1\" height=\"1\"></td>\n";

								
								submitboxtext += "</tr>\n";
							}

							else if (callingSection == "inside"){	
								submitboxtext += "<tr>\n";
								
								if (callingPage == "charter"){
									submitboxtext += "<td><a href=\"" + relativePath + "inside/charter.html\"><img src=\"" + relativePath + "images/sub_nav_charter_on.gif\" width=\"76\" height=\"23\" alt=\"charter\" name=\"charter\" border=\"0\"></a></td>\n";
								}
								else{
									submitboxtext += "<td><a href=\"" + relativePath + "inside/charter.html\" onmouseover=\"imgOn('charter')\" onMouseout=\"imgOff('charter')\"><img src=\"" + relativePath + "images/sub_nav_charter_off.gif\" width=\"76\" height=\"23\" alt=\"charter\" name=\"charter\" border=\"0\"></a></td>\n";
								}
								
								if (callingPage == "history"){
									submitboxtext += "<td><a href=\"" + relativePath + "inside/history.html\"><img src=\"" + relativePath + "images/sub_nav_history_on.gif\" width=\"52\" height=\"23\" alt=\"history\" name=\"history\" border=\"0\"></a></td>\n";
								}
								else{
									submitboxtext += "<td><a href=\"" + relativePath + "inside/history.html\" onmouseover=\"imgOn('history')\" onMouseout=\"imgOff('history')\"><img src=\"" + relativePath + "images/sub_nav_history_off.gif\" width=\"52\" height=\"23\" alt=\"history\" name=\"history\" border=\"0\"></a></td>\n";
								}
								
								if (callingPage == "board"){
									submitboxtext += "<td><a href=\"" + relativePath + "inside/board.html\"><img src=\"" + relativePath + "images/sub_nav_board_on.gif\" width=\"96\" height=\"23\" alt=\"board members\" name=\"board\" border=\"0\"></a></td>\n";
								}
								else{
									submitboxtext += "<td><a href=\"" + relativePath + "inside/board.html\" onmouseover=\"imgOn('board')\" onMouseout=\"imgOff('board')\"><img src=\"" + relativePath + "images/sub_nav_board_off.gif\" width=\"96\" height=\"23\" alt=\"board members\" name=\"board\" border=\"0\"></a></td>\n";
								}
								
								if((callingPage == "committees") || (callingPage == "parks")){
									submitboxtext += "<td><a href=\"" + relativePath + "inside/committees.html\"><img src=\"" + relativePath + "images/sub_nav_committees_on.gif\" width=\"119\" height=\"23\" alt=\"committees &amp; chairs\" name=\"committees\" border=\"0\"></a></td>\n";
								}
								else{
									submitboxtext += "<td><a href=\"" + relativePath + "inside/committees.html\" onmouseover=\"imgOn('committees')\" onMouseout=\"imgOff('committees')\"><img src=\"" + relativePath + "images/sub_nav_committees_off.gif\" width=\"119\" height=\"23\" alt=\"committees &amp; chairs\" name=\"committees\" border=\"0\"></a></td>\n";
								}
							
								
								if (callingPage == "contact"){
									submitboxtext += "<td><a href=\"" + relativePath + "inside/contact.html\"><img src=\"" + relativePath + "images/sub_nav_contact_on.gif\" width=\"56\" height=\"23\" alt=\"contact\" name=\"contact\" border=\"0\"></a></td>\n";
								}
								else{
									submitboxtext += "<td><a href=\"" + relativePath + "inside/contact.html\" onmouseover=\"imgOn('contact')\" onMouseout=\"imgOff('contact')\"><img src=\"" + relativePath + "images/sub_nav_contact_off.gif\" width=\"56\" height=\"23\" alt=\"contact\" name=\"contact\" border=\"0\"></a></td>\n";
								}
								
								
								if (callingPage == "links"){
									submitboxtext += "<td><a href=\"" + relativePath + "inside/links.html\"><img src=\"" + relativePath + "images/sub_nav_links_on.gif\" width=\"59\" height=\"23\" alt=\"links\" name=\"links\" border=\"0\"></a></td>\n";
								}
								else{
									submitboxtext += "<td><a href=\"" + relativePath + "inside/links.html\" onmouseover=\"imgOn('links')\" onMouseout=\"imgOff('links')\"><img src=\"" + relativePath + "images/sub_nav_links_off.gif\" width=\"59\" height=\"23\" alt=\"links\" name=\"links\" border=\"0\"></a></td>\n";
								}
								
								
								submitboxtext += "</tr>\n";
							}

							else if (callingSection == "planning"){
								submitboxtext += "<tr>\n";
								
								submitboxtext += "<td background=\"" + relativePath + "images/sub_nav_gray_bg.gif\" width=\"292\"><img src=\"" + relativePath + "images/space.gif\" width=\"1\" height=\"1\"></td>\n";
								
								if(callingPage == "variances"){
									submitboxtext += "<td><a href=\"" + relativePath + "planning/variances.html\"><img src=\"" + relativePath + "images/sub_nav_variances_on.gif\" width=\"74\" height=\"23\" alt=\"variances\" name=\"variances\" border=\"0\"></a></td>\n";
									}
								else{
									submitboxtext += "<td><a href=\"" + relativePath + "planning/variances.html\" onmouseover=\"imgOn('variances')\" onMouseout=\"imgOff('variances')\"><img src=\"" + relativePath + "images/sub_nav_variances_off.gif\" width=\"74\" height=\"23\" alt=\"variances\" name=\"variances\" border=\"0\"></a></td>\n";
								}
								
								if(callingPage == "nc"){
									submitboxtext += "<td><a href=\"" + relativePath + "planning/nc.html\"><img src=\"" + relativePath + "images/sub_nav_nc_on.gif\" width=\"160\" height=\"23\" alt=\"nc\" name=\"nc\" border=\"0\"></a></td>\n";
									}
								else{
									submitboxtext += "<td><a href=\"" + relativePath + "planning/nc.html\" onmouseover=\"imgOn('nc')\" onMouseout=\"imgOff('nc')\"><img src=\"" + relativePath + "images/sub_nav_nc_off.gif\" width=\"160\" height=\"23\" alt=\"nc\" name=\"nc\" border=\"0\"></a></td>\n";
								}
								
								if(callingPage == "historic"){
									submitboxtext += "<td><a href=\"" + relativePath + "planning/historic.html\"><img src=\"" + relativePath + "images/sub_nav_historic_on.gif\" width=\"68\" height=\"23\" alt=\"historic\" name=\"historic\" border=\"0\"></a></td>\n";
								}
								else{
									submitboxtext += "<td><a href=\"javascript:void(0)\" onclick=\"javascript:window.open('http://lovevh.org')\" onmouseover=\"imgOn('historic')\" onMouseout=\"imgOff('historic')\"><img src=\"" + relativePath + "images/sub_nav_historic_off.gif\" width=\"68\" height=\"23\" alt=\"historic\" name=\"historic\" border=\"0\"></a></td>\n";
								}
									
								if(callingPage == "trees"){
									submitboxtext += "<td><a href=\"" + relativePath + "planning/trees.html\"><img src=\"" + relativePath + "images/sub_nav_trees_on.gif\" width=\"66\" height=\"23\" alt=\"trees\" name=\"trees\" border=\"0\"></a></td>\n";
								}
								else{
									submitboxtext += "<td><a href=\"" + relativePath + "planning/trees.html\" onmouseover=\"imgOn('trees')\" onMouseout=\"imgOff('trees')\"><img src=\"" + relativePath + "images/sub_nav_trees_off.gif\" width=\"66\" height=\"23\" alt=\"trees\" name=\"trees\" border=\"0\"></a></td>\n";
								}

//								if(callingPage == "faqs"){
//									submitboxtext += "<td><a href=\"" + relativePath + "planning/faqs.html\"><img src=\"" + relativePath + "images/sub_nav_faqs_on.gif\" width=\"66\" height=\"23\" alt=\"faqs\" name=\"faqs\" border=\"0\"></a></td>\n";
//								}
//								else{
//									submitboxtext += "<td><a href=\"" + relativePath + "planning/faqs.html\" onmouseover=\"imgOn('faqs')\" onMouseout=\"imgOff('faqs')\"><img src=\"" + relativePath + "images/sub_nav_faqs_off.gif\" width=\"66\" height=\"23\" alt=\"faqs\" name=\"faqs\" border=\"0\"></a></td>\n";
//								}
                                
								if(callingPage == "docs"){
									submitboxtext += "<td><a href=\"" + relativePath + "planning/docs.html\"><img src=\"" + relativePath + "images/sub_nav_docs_on.gif\" width=\"80\" height=\"23\" alt=\"docs\" name=\"docs\" border=\"0\"></a></td>\n";
								}
								else{
									submitboxtext += "<td><a href=\"" + relativePath + "planning/docs.html\" onmouseover=\"imgOn('docs')\" onMouseout=\"imgOff('docs')\"><img src=\"" + relativePath + "images/sub_nav_docs_off.gif\" width=\"80\" height=\"23\" alt=\"docs\" name=\"docs\" border=\"0\"></a></td>\n";
								}
									
								submitboxtext += "<td background=\"" + relativePath + "images/sub_nav_gray_bg.gif\" width=\"26\"><img src=\"" + relativePath + "images/space.gif\" width=\"1\" height=\"1\"></td>\n";
									
								submitboxtext += "</tr>\n";
							}
							
                            submitboxtext += "<tr>\n";
                                
                            if (callingSection == "news"){		
                                submitboxtext += "<td background=\"" + relativePath + "images/shadow_sub_nav.gif\" height=\"5\" colspan=\"5\"><img src=\"" + relativePath + "images/space.gif\" width=\"1\" height=\"1\"></td>\n";
                            }
                            else if (callingSection == "planning"){		
                                submitboxtext += "<td background=\"" + relativePath + "images/shadow_sub_nav.gif\" height=\"5\" colspan=\"8\"><img src=\"" + relativePath + "images/space.gif\" width=\"1\" height=\"1\"></td>\n";
                            }
                            else if (callingSection == "inside"){		
                                submitboxtext += "<td background=\"" + relativePath + "images/shadow_sub_nav.gif\" height=\"5\" colspan=\"6\"><img src=\"" + relativePath + "images/space.gif\" width=\"1\" height=\"1\"></td>\n";
                            }
                            else if (callingSection == "summerfest"){
                                submitboxtext += "<td background=\"" + relativePath + "images/shadow_sub_nav.gif\" height=\"5\" colspan=\"5\"><img src=\"" + relativePath + "images/space.gif\" width=\"1\" height=\"1\"></td>\n";
                            }
                            else if (callingSection == "hometour") {
                                submitboxtext += "<td background=\"../images/shadow_sub_nav.gif\" height=\"5\" colspan=\"6\"><img src=\"../images/space.gif\" width=\"1\" height=\"1\"></td>\n";
                            }

                            else{
                                submitboxtext += "<td background=\"" + relativePath + "images/shadow_sub_nav.gif\" height=\"5\" colspan=\"4\"><img src=\"" + relativePath + "images/space.gif\" width=\"1\" height=\"1\"></td>\n";
                            }
                            
                            
                            submitboxtext += "</tr>\n";
                            submitboxtext += "<tr>\n";
                                
                            if (callingSection == "inside"){
                                submitboxtext += "<td colspan=\"6\">\n";
                            }
                            else{
                                submitboxtext += "<td colspan=\"5\">\n";
                            }
                                    submitboxtext += "<table cellspacing=\"0\" cellpadding=\"0\" border=\"0\">\n";
                                        submitboxtext += "<tr>\n";
                                            submitboxtext += "<td width=\"29\"><img src=\"" + relativePath + "images/space.gif\" width=\"1\" height=\"1\"></td>\n";
                                            <!-- Page header -->
                                        if (callingSection == "inside"){
                                            submitboxtext += "<td height=\"50\" width=\"427\" valign=\"bottom\" align=\"left\"><img src=\"" + relativePath + "images/head_inside_vhca.gif\" width=\"171\" height=\"31\" alt=\"Inside vhca\"></td>\n";
                                        }
                                        else if (callingSection == "news"){
                                            submitboxtext += "<td height=\"50\" width=\"427\" valign=\"bottom\" align=\"left\"><img src=\"" + relativePath + "images/head_news.gif\" width=\"240\" height=\"31\" alt=\"News and Events\"></td>\n";
                                        }
                                        else if (callingSection == "summerfest"){
                                            if (callingPage == "summerfest"){
                                              submitboxtext += "<td height=\"70\" width=\"427\" valign=\"bottom\" align=\"center\"><img src=\"" + relativePath + "images/SummerfestLogo.jpg\" width=\"399\" height=\"184\" alt=\"Summerfest\"></td>\n";
                                            } else {
                                              submitboxtext += "<td height=\"70\" width=\"427\" valign=\"bottom\" align=\"left\"><img src=\"" + relativePath + "images/head_summerfest.gif\" width=\"173\" height=\"51\" alt=\"Summerfest\"></td>\n";
                                            }
                                        }
                                        else if (callingSection == "hometour"){
                                            submitboxtext += "<td height=\"50\" width=\"427\" valign=\"bottom\" align=\"left\"><img src=\"" + relativePath + "images/head_homes.gif\" width=\"209\" height=\"30\" alt=\"Home Tour\"></td>\n";
                                        }
                                        else if (callingSection == "join"){
                                            submitboxtext += "<td heigh=\"70\" width=\"427\" valign=\"bottom\" align=\"left\"><img src=\"" + relativePath + "images/head_join.gif\" width=\"76\" height=\"39\" alt=\"Join\"></td>\n";
                                        }
                                        else if (callingSection == "planning"){
                                            submitboxtext += "<td height=\"70\" width=\"427\" valign=\"bottom\" align=\"left\"><img src=\"" + relativePath + "images/head_planning.gif\" width=\"139\" height=\"50\" alt=\"Planning\"></td>\n";
                                        }
                                        
                                        submitboxtext += "</tr>\n";
                                    submitboxtext += "</table>\n";
                                submitboxtext += "</td>\n";
                            submitboxtext += "</tr>\n";
							submitboxtext += "</table>\n";
							
							<!-- end of shadow under the nav bar -->	
							
						submitboxtext += "</td>\n";
						submitboxtext += "<td valign=\"top\" bgcolor=\"#ffffff\">\n";	
							submitboxtext += "<table cellspacing=\"0\" cellpadding=\"0\" border=\"0\" width=\"227\">\n";
								submitboxtext += "<tr>\n";
									<!-- Top of Submit box -->	
									
									if (version < 0){   // netscape
									submitboxtext += "<td width=\"227\" height=\"47\" bgcolor=\"#2e6f0b\">\n";
									}
									else{
									submitboxtext += "<td width=\"227\" height=\"47\" background=\"" + relativePath + "images/submit_interior_bg.gif\">\n";
									}
									
                                }
											
                                        <!-- Submit form -->
										submitboxtext += "<table cellspacing=\"0\" cellpadding=\"0\" border=\"0\" width=\"227\">\n";	
											submitboxtext += "<tr>\n";
												submitboxtext += "<td height=\"5\" colspan=\"3\"><img src=\"" + relativePath + "images/space.gif\" width=\"1\" height=\"1\"></td>\n";
											submitboxtext += "</tr>\n";
											submitboxtext += "<tr>\n";
//											submitboxtext += "<form action=\"" + relativePath + "email.php\" method=\"post\">\n";

/*ibc remove submit box
											submitboxtext += "<form action=\"lists/?p=subscribe\" name=\"subscribeform\" method=\"post\">\n";
												submitboxtext += "<td width=\"20\"><img src=\"" + relativePath + "images/space.gif\" width=\"1\" height=\"1\"></td>\n";
												submitboxtext += "<td><input type=\"text\" name=\"email\" size=\"20\" tabindex=\"1\"><input type=\"hidden\" name=\"customerid\" value=\"18907\"></td>\n";
												
												if ((platform == "Win" && version < 0) && (callingPage == "index")){
													submitboxtext += "<td width=\"60\"><input name=\"submit\" type=\"image\" src=\"" + relativePath + "images/button_submit7.gif\" alt=\"Submit\" border=\"0\"></td>\n";	
												}
												else{
													submitboxtext += "<td width=\"60\"><input name=\"submit\" type=\"image\" src=\"" + relativePath + "images/button_submit.gif\" alt=\"Submit\" border=\"0\"></td>\n";	
												}
											
											submitboxtext += "</form>\n";	
*/
//ibc added graphic
submitboxtext += "<a href=\"http://www.formstack.com/forms/?1147475-DmJaqFECJ7\" target=\"_blank\"><img src=\"" + relativePath + "images/nav_voice2.gif\" width=\"227\" height=\"26\" border=\"0\"></a>"
											submitboxtext += "</tr>\n";
											submitboxtext += "<tr>\n";
												submitboxtext += "<td height=\"10\" colspan=\"3\"><img src=\"" + relativePath + "images/space.gif\" width=\"1\" height=\"1\"></td>\n";
											submitboxtext += "</tr>\n";
										submitboxtext += "</table>\n";	
										
											
										<!-- End of Submit form -->
						
									submitboxtext += "</td>\n";
									<!-- End of the top of the Submit box -->
								
								submitboxtext += "</tr>\n";
										
										
							if (callingPage == "index"){
								submitboxtext += "<tr>\n";
									<!-- Black line around the top of the meeting schedule -->
									submitboxtext += "<td bgcolor=\"#000000\" width=\"1\" height=\"17\"><img src=\"" + relativePath + "images/space.gif\" width=\"1\" height=\"1\"></td>\n";
									<!-- Gray area at the top of the meeting schedule -->
									submitboxtext += "<td width=\"226\" height=\"24\" align=\"center\"><span class=\"monthYearText\">Community Event Calendar</span></td>\n";
								submitboxtext += "</tr>\n";	
							}		
										
							
							
								submitboxtext += "</table>\n";	
							submitboxtext += "</td>\n";
						submitboxtext += "</tr>\n";
					submitboxtext += "</table>\n";	
				<!-- end of the row that contains the shadow under the nav bar and the top of the Submit box -->
				submitboxtext += "</td>\n";
			submitboxtext += "</tr>\n";
			submitboxtext += "<tr>\n";
				submitboxtext += "<td>\n";
				<!-- Table that contains the text and the meeting schedule info -->
					submitboxtext += "<table cellspacing=\"0\" cellpadding=\"0\" border=\"0\">\n";
						submitboxtext += "<tr>\n";
							submitboxtext += "<td width=\"29\"><img src=\"" + relativePath + "images/space.gif\" width=\"1\" height=\"1\"></td>\n";
							
							<!-- Text of the page -->	
							
						if (callingPage == "index"){
							submitboxtext += "<td width=\"404\" valign=\"top\">\n";	
							submitboxtext += "<table cellspacing=\"0\" cellpadding=\"0\" border=\"0\">\n";
						}
						else if (callingPage == "parks"){
							submitboxtext += "<td width=\"760\">\n";
							submitboxtext += "<table cellspacing=\"0\" cellpadding=\"0\" border=\"0\" align=\"center\">\n";
						}
						else{
							submitboxtext += "<td width=\"560\">\n";								
							submitboxtext += "<table cellspacing=\"0\" cellpadding=\"0\" border=\"0\">\n";
						}			
										
										
							submitboxtext += "<tr>\n";
							
							if (callingPage == "index"){
								submitboxtext += "<td height=\"18\"><img src=\"" + relativePath + "images/space.gif\" width=\"1\" height=\"1\"></td>\n";	
							}
							else if ((callingSection == "summerfest") || (callingSection == "planning")){
								submitboxtext += "<td height=\"5\"><img src=\"" + relativePath + "images/space.gif\" width=\"1\" height=\"1\"></td>\n";	
							}
							else if (callingPage == "join"){
								submitboxtext += "<td height=\"10\"><img src=\"" + relativePath + "images/space.gif\" width=\"1\" height=\"1\"></td>\n";	
							}
							else{
								submitboxtext += "<td height=\"23\"><img src=\"" + relativePath + "images/space.gif\" width=\"1\" height=\"1\"></td>\n";	
							}
							
							submitboxtext += "</tr>\n";
							submitboxtext += "<tr>\n";
								submitboxtext += "<td class=\"body\">\n";		
				
				
				document.write(submitboxtext);		
				
}			


