
//	*************************************
//	*** Maria Gershman
//	*************************************











//  *************************************




var INCLUDE_UTILS_BEGIN = 0;






//  *************************************

// GOOD
//var lastModifiedInfo = new Array();








//  *************************************




function isEmpty(valueToCheck)
{


	if (valueToCheck == null || valueToCheck == "")
	{

		return true;

	}
	
	return false;

}







//  *************************************



function getBaseURL(sourceURL)
{

	var rootWebSite = "http://www.mariagershman.com/";
	var sourceHREF = "";
	var sourcePathName = "";
	var isPathNameOK;
	var isBackSlashOK;



	
	

	if (typeof(sourceURL) != "undefined")
	{

		if(sourceURL != "")
		{


		
			if (typeof(showDebug) != "undefined")
			{
		
				showDebug("sourceURL = " + sourceURL);
			
			}
		
		
			if (typeof(showDebug) != "undefined")
			{
		
				showDebug("sourceURL.pathname = " + sourceURL.pathname);
			
			}
		
		
			if (typeof(showDebug) != "undefined")
			{
		
				showDebug("sourceURL.hostname = " + sourceURL.hostname);
			
			}
		
		
			if (typeof(showDebug) != "undefined")
			{
		
				showDebug("sourceURL.href = " + sourceURL.href);
			
			}
		






			sourceHREF = sourceURL.href;
			
			sourcePathName = sourceURL.pathname;

			isPathNameOK = sourceHREF.indexOf(sourcePathName);

			if (isPathNameOK != -1)
 			{

				isBackSlashOK = sourceHREF.indexOf("/", isPathNameOK + 1);

				if (isBackSlashOK != -1)
 				{

					rootWebSite = sourceHREF.substring(0, isBackSlashOK + 1);
		
				}
			
			}

		}
	
	}	
	


	
	


	
	return rootWebSite;
	

}

//  *************************************



function showStatusMessage(msgText, changeTitle)
{



	if (typeof(msgText) != "undefined")
	{

		if(msgText != "")
		{
			
			window.status = msgText;
	

	
			if (typeof(changeTitle) != "undefined")
			{
	
				document.title = msgText;
			
			}
		
		}
	
	}




	return true;



}






//  *************************************





function showTag(countTag, nameTag, nameDiv)
{







	var finalText = "";










	if (typeof(nameTag) != "undefined")
	{

		if (typeof(countTag) != "undefined")
		{
		
			if (typeof(nameDiv) != "undefined")
			{
			
				finalText += "<div id=\"" + nameDiv + "\">";
		
				for(var i = 0; i < countTag; i++)
				{
		
					finalText += nameTag;
				
				}
			
				finalText += "</div>";
			
			}
		
		}

	}















	document.write(finalText);







}





//  *************************************





function showWebSiteNews()
{

	var dbWebSiteNewsLength;

	var	imagesBaseURL = "";
	var finalText = "";
	var	newsDateInfoContents = "";
	var	newsDescriptionInfoContents = "";
	var	bNewsReadMoreInfo = false;

	var WEB_SITE_NEWS_DEFAULT_MESSAGE_NO_NEWS_AVAILABLE = "(No news are available.)";
	var WEB_SITE_NEWS_DEFAULT_MESSAGE_NO_NEWS_AVAILABLE_FOR_THIS_DATE = "(No news are available.)";
	var WEB_SITE_NEWS_DEFAULT_MESSAGE_NO_DATE_AVAILABLE = "(No date.)";







	if (typeof(dbWebSiteNews) != "undefined")
	{

		if (typeof(getImagesBaseURL) != "undefined")
		{

			imagesBaseURL = getImagesBaseURL();
		
		}

		dbWebSiteNewsLength = dbWebSiteNews.length;
	
		// newsDateInfo, newsDescriptionInfo, moreInfo

		for(var i = 0; i < dbWebSiteNewsLength; i++)
		{

			showStatusMessage("Processing web site news item " + (i+1) + " of " + dbWebSiteNewsLength + " ...", "True");

			bNewsReadMoreInfo = false;

			if (typeof(dbWebSiteNews[i].newsDateInfo) != "undefined")
			{

				if (dbWebSiteNews[i].newsDateInfo != "")
				{
		
					newsDateInfoContents = dbWebSiteNews[i].newsDateInfo;
					
				}
				else
				{

					newsDateInfoContents = WEB_SITE_NEWS_DEFAULT_MESSAGE_NO_DATE_AVAILABLE;
				
				}
						
			}
			else
			{
			
				newsDateInfoContents = WEB_SITE_NEWS_DEFAULT_MESSAGE_NO_DATE_AVAILABLE;	
			
			}


			if (typeof(dbWebSiteNews[i].newsDescriptionInfo) != "undefined")
			{
		
				if (dbWebSiteNews[i].newsDescriptionInfo != "")
				{
		
					newsDescriptionInfoContents = dbWebSiteNews[i].newsDescriptionInfo;
					
				}
				else
				{

					newsDescriptionInfoContents = WEB_SITE_NEWS_DEFAULT_MESSAGE_NO_NEWS_AVAILABLE_FOR_THIS_DATE;							
				
				}
			
			}
			else
			{
			
				newsDescriptionInfoContents = WEB_SITE_NEWS_DEFAULT_MESSAGE_NO_NEWS_AVAILABLE;
			
			}
		
			if (typeof(dbWebSiteNews[i].moreInfo) != "undefined")
			{

				if (typeof(dbWebSiteNews[i].moreInfo.moreInfoHREF) != "undefined")
				{
		
					if (dbWebSiteNews[i].moreInfo.moreInfoHREF != "")
					{
			
						bNewsReadMoreInfo = true;
						
					}
				
				}
			
			}
		
			if((newsDescriptionInfoContents != WEB_SITE_NEWS_DEFAULT_MESSAGE_NO_NEWS_AVAILABLE_FOR_THIS_DATE) || (newsDateInfoContents != WEB_SITE_NEWS_DEFAULT_MESSAGE_NO_DATE_AVAILABLE))
			{			
			
				finalText += "<TR>";
				
				finalText += "<TD id=\"NewsTop\" width=\"217\" colspan=\"2\" vAlign=\"top\" background=\"" + imagesBaseURL + "bg9_mike.gif\">";
				
				finalText += "<DIV class=\"textNews\">";
				
				finalText += "<span class=\"textNewsDate\">";
				
				finalText += newsDateInfoContents;
				
				finalText += "</span>";
				
				finalText += "</DIV>";
				
				finalText += "</TD>";
				
				finalText += "</TR>";
				
				finalText += "<TR>";
				
				finalText += "<TD id=\"NewsMiddle\" width=\"217\" colspan=\"2\" vAlign=\"top\" background=\"" + imagesBaseURL + "bg5.jpg\">";
				
				finalText += "<DIV class=\"textNews\">";
				
				finalText += "<span class=\"textNewsDescription\">";
				
				finalText += newsDescriptionInfoContents;
				
				finalText += "</span>";
				
				finalText += "</DIV>";
				
				finalText += "</TD>";
				
				finalText += "</TR>";
					
				finalText += "<TR>";
				
				finalText += "<TD vAlign=\"top\" width=\"108\"><IMG id=\"NewsBottomEmptyLeft\" name=\"NewsBottomEmptyLeft\" src=\"" + imagesBaseURL + "bg6_mike_empty_left.gif\" width=\"108\" height=\"22\"></TD>";
			
				if((newsDescriptionInfoContents != WEB_SITE_NEWS_DEFAULT_MESSAGE_NO_NEWS_AVAILABLE_FOR_THIS_DATE) && (bNewsReadMoreInfo))
				{	 				
					
					finalText += "<TD vAlign=\"top\" width=\"109\"><a href=\"" + dbWebSiteNews[i].moreInfo.moreInfoHREF + "\" title=\"" + dbWebSiteNews[i].moreInfo.moreInfoImgTitle + "\"><IMG id=\"NewsReadMoreBottomRight\" name=\"NewsReadMoreBottomRight\" border=\"" + dbWebSiteNews[i].moreInfo.moreInfoImgBorder + "\" src=\"" + dbWebSiteNews[i].moreInfo.moreInfoImgSrc + "\" width=\"" + dbWebSiteNews[i].moreInfo.moreInfoImgWidth + "\" height=\"" + dbWebSiteNews[i].moreInfo.moreInfoImgHeight + "\"></a></TD>";
				
				}
				else
				{
				
					finalText += "<TD vAlign=\"top\" width=\"109\"><IMG id=\"NewsBottomEmptyRight\" name=\"NewsBottomEmptyRight\" border=\"0\" src=\"" + imagesBaseURL + "bg6_mike_empty_right.gif\" width=\"109\" height=\"22\"></TD>";
				
				}			

				finalText += "</TR>";
				
				finalText += "<tr>";
	
				finalText += "<td>";
	
				finalText += "&nbsp;";
	
				finalText += "</td>";
	
				finalText += "</tr>";
			
			}		
		
		}
	

	}
	else
	{
		
		finalText += "<TR>";

		finalText += "<TD colspan=\"2\">";

		finalText += "<DIV class=\"textNews\">";

		finalText += "<span class=\"textNewsDescriptionDefault\">";
								
		finalText += WEB_SITE_NEWS_DEFAULT_MESSAGE_NO_NEWS_AVAILABLE;
						
		finalText += "</span>";
					
		finalText += "</DIV>";
				
		finalText += "</TD>";
			
		finalText += "</TR>";
	
	}


	document.write(finalText);

}





//  *************************************





function showLeftPane()
{

	var dbLeftPaneLength;

	var finalText = "";

	var LEFT_PANE_DEFAULT = "(Nothing to display.)";





	if (typeof(dbLeftPane) != "undefined")
	{

		dbLeftPaneLength = dbLeftPane.length;
	
		for(var i = 0; i < dbLeftPaneLength; i++)
		{
		
			showStatusMessage("Processing left pane content item " + (i+1) + " of " + dbLeftPaneLength + " ...", "True");

			if (typeof(dbLeftPane[i].textInfo) != "undefined")
			{

				finalText += dbLeftPane[i].textInfo;
				
				finalText += "<BR>";
			
			}
		
		}	

	}
	else
	{
	
		finalText += LEFT_PANE_DEFAULT;

	}


	document.write(finalText);

}










//  *************************************





function showLeftPanePersonalMenu()
{

	var dbLeftPanePersonalMenuLength;

	var finalText = "";

	var LEFT_PANE_DEFAULT = "(Nothing to display.)";





	if (typeof(dbLeftPanePersonalMenu) != "undefined")
	{

		dbLeftPanePersonalMenuLength = dbLeftPanePersonalMenu.length;
	
		for(var i = 0; i < dbLeftPanePersonalMenuLength; i++)
		{
		
			showStatusMessage("Processing left pane menu item " + (i+1) + " of " + dbLeftPanePersonalMenuLength + " ...", "True");

			if (typeof(dbLeftPanePersonalMenu[i].textInfo) != "undefined")
			{

				finalText += dbLeftPanePersonalMenu[i].textInfo;
				
				finalText += "<BR>";
			
			}
		
		}	

	}
	else
	{
	
		finalText += LEFT_PANE_DEFAULT;

	}


	document.write(finalText);

}









//  *************************************





function showLeftPaneContact()
{

	var dbLeftPaneContactLength;

	var finalText = "";

	var LEFT_PANE_DEFAULT = "(Nothing to display.)";





	if (typeof(dbLeftPaneContact) != "undefined")
	{

		dbLeftPaneContactLength = dbLeftPaneContact.length;
	
		for(var i = 0; i < dbLeftPaneContactLength; i++)
		{
		
			showStatusMessage("Processing left pane contact item " + (i+1) + " of " + dbLeftPaneContactLength + " ...", "True");

			if (typeof(dbLeftPaneContact[i].textInfo) != "undefined")
			{

				finalText += dbLeftPaneContact[i].textInfo;
				
				finalText += "<BR>";
			
			}
		
		}	

	}
	else
	{
	
		finalText += LEFT_PANE_DEFAULT;

	}


	document.write(finalText);

}







//  *************************************





function showRightPane()
{

	var dbRightPaneLength;

	var finalText = "";

	var RIGHT_PANE_DEFAULT = "(Nothing to display.)";









	if (typeof(dbRightPane) != "undefined")
	{

		dbRightPaneLength = dbRightPane.length;
	
	
		for(var i = 0; i < dbRightPaneLength; i++)
		{

			showStatusMessage("Processing right pane content item " + (i+1) + " of " + dbRightPaneLength + " ...", "True");

			if (typeof(dbRightPane[i].textInfo) != "undefined")
			{

				finalText += dbRightPane[i].textInfo;
				
				finalText += "<BR>";
			
			}
		
		}

	}
	else
	{
	
		finalText += RIGHT_PANE_DEFAULT;

	}


	document.write(finalText);

}






//  *************************************





function showRightPaneResume()
{

	var dbRightPaneResumeLength;

	var finalText = "";

	var RIGHT_PANE_DEFAULT = "(Nothing to display.)";









	if (typeof(dbRightPaneResume) != "undefined")
	{

		dbRightPaneResumeLength = dbRightPaneResume.length;
	
	
		for(var i = 0; i < dbRightPaneResumeLength; i++)
		{

			showStatusMessage("Processing right pane resume item " + (i+1) + " of " + dbRightPaneResumeLength + " ...", "True");

			if (typeof(dbRightPaneResume[i].textInfo) != "undefined")
			{

				finalText += dbRightPaneResume[i].textInfo;
				
				finalText += "<BR>";
			
			}
		
		}

	}
	else
	{
	
		finalText += RIGHT_PANE_DEFAULT;

	}


	document.write(finalText);

}







//  *************************************



function showCopyrightNotice()
{

	var oDate;

	var finalText = "";
	
	var onmouseoverInfoCopyright = "";
	var textInfoCopyright = "";
	var hrefInfoCopyright = "";
	var currentYear = "";
	var startYearInfoCopyright = "";
	var fontColorInfoCopyright = "";

	var authorName = "Maria Gershman";


	var ONMOUSEOVER_INFO_COPYRIGHT_DEFAULT = "Copyright";
	var TEXT_INFO_COPYRIGHT_DEFAULT = "Copyright";
	var HREF_INFO_COPYRIGHT_DEFAULT = "http://www.mariagershman.com/copyright.htm";
	var FONTCOLOR_INFO_COPYRIGHT_DEFAULT = "#5A6855";











	oDate = new Date();

	currentYear = oDate.getFullYear();



	if (typeof(dbCopyrightInfo) != "undefined")
	{
	
		// onmouseoverInfo, textInfo, hrefInfo, startYearInfoCopyright, fontColorInfoCopyright



		if (typeof(dbCopyrightInfo[0][0]) != "undefined")
		{

			onmouseoverInfoCopyright = dbCopyrightInfo[0][0];
		
		}
		else
		{
		
			onmouseoverInfoCopyright = ONMOUSEOVER_INFO_COPYRIGHT_DEFAULT;
			
		}

		if (typeof(dbCopyrightInfo[0][1]) != "undefined")
		{

			textInfoCopyright = dbCopyrightInfo[0][1];
				
		}
		else
		{
		
			textInfoCopyright = TEXT_INFO_COPYRIGHT_DEFAULT;
			
		}

		if (typeof(dbCopyrightInfo[0][2]) != "undefined")
		{

			hrefInfoCopyright = dbCopyrightInfo[0][2];
				
		}
		else
		{
		
			hrefInfoCopyright = HREF_INFO_COPYRIGHT_DEFAULT;
			
		}

		if (typeof(dbCopyrightInfo[0][3]) != "undefined")
		{

			startYearInfoCopyright = dbCopyrightInfo[0][3];
		
		}

		if (typeof(dbCopyrightInfo[0][4]) != "undefined")
		{

			fontColorInfoCopyright = dbCopyrightInfo[0][4];
		
		}
		else
		{
		
			fontColorInfoCopyright = FONTCOLOR_INFO_COPYRIGHT_DEFAULT;
	
		}

	}
	else
	{
	

		onmouseoverInfoCopyright = ONMOUSEOVER_INFO_COPYRIGHT_DEFAULT;
		textInfoCopyright = TEXT_INFO_COPYRIGHT_DEFAULT;
		hrefInfoCopyright = HREF_INFO_COPYRIGHT_DEFAULT;
		fontColorInfoCopyright = FONTCOLOR_INFO_COPYRIGHT_DEFAULT;

	}



	
	if (typeof(formatCopyrightYear) != "undefined")
	{
	
		startYearInfoCopyright = formatCopyrightYear(startYearInfoCopyright, currentYear);
	
	}
	



	finalText += "<a href=\"" + hrefInfoCopyright + "\" onmouseover=\"return showStatusMessage('" + onmouseoverInfoCopyright + "')\">" + "<font color=\"" + fontColorInfoCopyright + "\">" + textInfoCopyright + "</font></a>" + "&nbsp;&copy;&nbsp;" + startYearInfoCopyright + currentYear + "&nbsp;" + "<a href=\"http://www.MariaGershman.com\" onmouseover=\"return showStatusMessage('Home')\">" + "<font color=\"" + fontColorInfoCopyright + "\">" + authorName + "</font></a>" + ".&nbsp;All rights reserved.";





	document.write(finalText);


}








//  *************************************




function refreshOnError()
{



	if (document.referrer && document.referrer != "")
	{

		var sURL = unescape(document.referrer);

		//  This version of the refresh function will cause a new
		//  entry in the visitor's history.  It is provided for
		//  those browsers that only support JavaScript 1.0.
		//
		window.location.href = sURL;



		//  This version does NOT cause an entry in the browser's
		//  page view history.  Most browsers will always retrieve
		//  the document from the web-server whether it is already
		//  in the browsers page-cache or not.
		//  
		//window.location.replace( sURL );

	}

}


		

//  *************************************


function showOnErrorMessage(siteSectionInfo)
{

	var finalText = "";

	var onmouseoverText = "Refresh";

	var siteSection = "";

	var sURL = "";




	if (typeof(siteSectionInfo) == "undefined")
	{
			
		siteSection = "This";

	}


	finalText += "<TR>";


	finalText += "<BR>";
	finalText += "<BR>";
	finalText += "<BR>";
	
	finalText += "<H2><CENTER><em>" + siteSection + "</em> section of the <a href=\"http://www.mariagershman.com\">MariaGershman.com</a> web site is temporarily unavailable.</CENTER></H2>";

	if (document.referrer && document.referrer != "")
	{

		sURL = unescape(document.referrer);


		finalText += "<H2><CENTER>Cross your fingers and <a href=\"" + "javascript:refreshOnError();" + "\" onmouseover=\"return showStatusMessage('" + onmouseoverText + "')\">try again</a> (" + sURL + ") in a few minutes.</CENTER></H2>";
	
	}
	else
	{
	
		finalText += "<H2><CENTER>Cross your fingers and try again in a few minutes.</CENTER></H2>";

	}
	
	finalText += "<H2><CENTER>We're sorry for the inconvenience.</CENTER></H2>";
	


	document.write(finalText);


}











//  *************************************





function dbRecordMenuItem(onmouseoverInfo, textInfo, hrefInfo, fontInfo)
{

	var rootWebSite = "http://www.mariagershman.com/";
	
	var ONMOUSEOVER_INFO_DEFAULT = "Home";
	var TEXT_INFO_DEFAULT = "Home";
	var HREF_INFO_DEFAULT = rootWebSite + "index.htm";
	var FONT_INFO_DEFAULT = "#5A6855";
	
	
	
	
	
	

	
	if (typeof(onmouseoverInfo) != "undefined")
	{
	
		this.onmouseoverInfo = onmouseoverInfo;
	
	}
	else
	{

		this.onmouseoverInfo = ONMOUSEOVER_INFO_DEFAULT;
	
	}
	
	


	if (typeof(textInfo) != "undefined")
	{
	
		this.textInfo = textInfo;
	
	}
	else
	{

		this.textInfo = TEXT_INFO_DEFAULT;
	
	}
	


	if (typeof(hrefInfo) != "undefined")
	{
	
		this.hrefInfo = hrefInfo;
	
	}
	else
	{

		this.hrefInfo = HREF_INFO_DEFAULT;
	
	}
	


	if (typeof(fontInfo) != "undefined")
	{
	
		this.fontInfo = fontInfo;
	
	}
	else
	{

		this.fontInfo = FONT_INFO_DEFAULT;
	
	}
	

	





	return this;



}









//  *************************************






function dbRecordLeftPaneItem(textInfo)
{

	var TEXT_INFO_DEFAULT = "(Nothing to display.)";
	



	if (typeof(textInfo) != "undefined")
	{
	
		this.textInfo = textInfo;
	
	}
	else
	{

		this.textInfo = TEXT_INFO_DEFAULT;
	
	}
	



	return this;



}





//  *************************************






function dbRecordLeftPanePersonalMenuItem(textInfo)
{

	var TEXT_INFO_DEFAULT = "(Nothing to display.)";
	



	if (typeof(textInfo) != "undefined")
	{
	
		this.textInfo = textInfo;
	
	}
	else
	{

		this.textInfo = TEXT_INFO_DEFAULT;
	
	}
	



	return this;



}









//  *************************************






function dbRecordLeftPaneContactItem(textInfo)
{

	var TEXT_INFO_DEFAULT = "(Nothing to display.)";
	



	if (typeof(textInfo) != "undefined")
	{
	
		this.textInfo = textInfo;
	
	}
	else
	{

		this.textInfo = TEXT_INFO_DEFAULT;
	
	}
	



	return this;



}







//  *************************************






function dbRecordRightPaneItem(textInfo)
{

	var TEXT_INFO_DEFAULT = "(Nothing to display.)";
	



	if (typeof(textInfo) != "undefined")
	{
	
		this.textInfo = textInfo;
	
	}
	else
	{

		this.textInfo = TEXT_INFO_DEFAULT;
	
	}
	



	return this;



}




//  *************************************






function dbRecordRightPaneResumeItem(textInfo)
{

	var TEXT_INFO_DEFAULT = "(Nothing to display.)";
	



	if (typeof(textInfo) != "undefined")
	{
	
		this.textInfo = textInfo;
	
	}
	else
	{

		this.textInfo = TEXT_INFO_DEFAULT;
	
	}
	



	return this;



}





//  *************************************



function dbRecordMoreInfo(moreInfoHREF, moreInfoOnMouseOverText, moreInfoOnMouseOverStyle, moreInfoshowStatusMessageText1, moreInfoshowStatusMessageText2, moreInfoTarget, moreInfoImgSrc, moreInfoImgWidth, moreInfoImgHeight, moreInfoImgBorder, moreInfoImgTitle)
{

	var MORE_INFO_HREF_DEFAULT = "(Nothing to display.)";
	var MORE_INFO_ONMOUSEOVER_TEXT_DEFAULT = "(Nothing to display.)";
	var MORE_INFO_ONMOUSEOVER_STYLE_DEFAULT = "(Nothing to display.)";
	var MORE_INFO_SHOWSTATUSMESSAGE_TEXT1_DEFAULT = "(Nothing to display.)";
	var MORE_INFO_SHOWSTATUSMESSAGE_TEXT2_DEFAULT = "(Nothing to display.)";
	var MORE_INFO_TARGET_DEFAULT = "(Nothing to display.)";
	var MORE_INFO_IMG_SRC_DEFAULT = "Nothing to display.";
	var MORE_INFO_IMG_WIDTH_DEFAULT = "Nothing to display.";
	var MORE_INFO_IMG_HEIGHT_DEFAULT = "Nothing to display.";
	var MORE_INFO_IMG_BORDER_DEFAULT = "Nothing to display.";
	var MORE_INFO_IMG_TITLE_DEFAULT = "Nothing to display.";	




	if (typeof(moreInfoHREF) != "undefined")
	{
	
		this.moreInfoHREF = moreInfoHREF;
	
	}
	else
	{

		this.moreInfoHREF = MORE_INFO_HREF_DEFAULT;
	
	}
	
	if (typeof(moreInfoOnMouseOverText) != "undefined")
	{
	
		this.moreInfoOnMouseOverText = moreInfoOnMouseOverText;
	
	}
	else
	{

		this.moreInfoOnMouseOverText = MORE_INFO_ONMOUSEOVER_TEXT_DEFAULT;
	
	}
	
	if (typeof(moreInfoOnMouseOverStyle) != "undefined")
	{
	
		this.moreInfoOnMouseOverStyle = moreInfoOnMouseOverStyle;
	
	}
	else
	{

		this.moreInfoOnMouseOverStyle = MORE_INFO_ONMOUSEOVER_STYLE_DEFAULT;
	
	}
	
	if (typeof(moreInfoshowStatusMessageText1) != "undefined")
	{
	
		this.moreInfoshowStatusMessageText1 = moreInfoshowStatusMessageText1;
	
	}
	else
	{

		this.moreInfoshowStatusMessageText1 = MORE_INFO_SHOWSTATUSMESSAGE_TEXT1_DEFAULT;
	
	}
	
	if (typeof(moreInfoshowStatusMessageText2) != "undefined")
	{
	
		this.moreInfoshowStatusMessageText2 = moreInfoshowStatusMessageText2;
	
	}
	else
	{

		this.moreInfoshowStatusMessageText2 = MORE_INFO_SHOWSTATUSMESSAGE_TEXT2_DEFAULT;
	
	}
	
	if (typeof(moreInfoTarget) != "undefined")
	{
	
		this.moreInfoTarget = moreInfoTarget;
	
	}
	else
	{

		this.moreInfoTarget = MORE_INFO_TARGET_DEFAULT;
	
	}
	
	if (typeof(moreInfoImgSrc) != "undefined")
	{
	
		this.moreInfoImgSrc = moreInfoImgSrc;
	
	}
	else
	{

		this.moreInfoImgSrc = MORE_INFO_IMG_SRC_DEFAULT;
	
	}
	
	if (typeof(moreInfoImgWidth) != "undefined")
	{
	
		this.moreInfoImgWidth = moreInfoImgWidth;
	
	}
	else
	{

		this.moreInfoImgWidth = MORE_INFO_IMG_WIDTH_DEFAULT;
	
	}
	
	if (typeof(moreInfoImgHeight) != "undefined")
	{
	
		this.moreInfoImgHeight = moreInfoImgHeight;
	
	}
	else
	{

		this.moreInfoImgHeight = MORE_INFO_IMG_HEIGHT_DEFAULT;
	
	}
	
	if (typeof(moreInfoImgBorder) != "undefined")
	{
	
		this.moreInfoImgBorder = moreInfoImgBorder;
	
	}
	else
	{

		this.moreInfoImgBorder = MORE_INFO_IMG_BORDER_DEFAULT;
	
	}
	
	if (typeof(moreInfoImgTitle) != "undefined")
	{
	
		this.moreInfoImgTitle = moreInfoImgTitle;
	
	}
	else
	{

		this.moreInfoImgTitle = MORE_INFO_IMG_TITLE_DEFAULT;
	
	}
	





	



	return this;



}










//  *************************************







function dbRecordWebSiteNewsItem(newsDateInfo, newsDescriptionInfo, moreInfo)
{

	var NEWSDATE_INFO_DEFAULT = "(Nothing to display.)";
	var NEWSDESCRIPTION_INFO_DEFAULT = "(Nothing to display.)";
	



	if (typeof(newsDateInfo) != "undefined")
	{
	
		this.newsDateInfo = newsDateInfo;
	
	}
	else
	{

		this.newsDateInfo = NEWSDATE_INFO_DEFAULT;
	
	}
	


	if (typeof(newsDescriptionInfo) != "undefined")
	{
	
		this.newsDescriptionInfo = newsDescriptionInfo;
	
	}
	else
	{

		this.newsDescriptionInfo = NEWSDESCRIPTION_INFO_DEFAULT;
	
	}
	


	if (typeof(moreInfo) != "undefined")
	{
	
		this.moreInfo = moreInfo;
	
	}
	else
	{

		this.moreInfo = undefined;
	
	}
	



	return this;



}









//  *************************************







function showMenu()
{

	var finalText = "";



	if (typeof(dbMenu) != "undefined")
	{

		//alert("'dbMenu' is defined");

		finalText = showMenuProcess(dbMenu);	

	}
	else
	{		
			
		//alert("'dbMenu' is not defined");
			
		var rootWebSite = "http://www.mariagershman.com/";
		
		var dbMenuDefault = new Array();


		if (typeof(dbRecordMenuItem) != "undefined")
		{
			
			// onmouseoverInfo, textInfo, hrefInfo, fontInfo
			dbMenuDefault[dbMenuDefault.length] = new dbRecordMenuItem("Home", "Home", rootWebSite + "index.htm", "#5A6855");
			dbMenuDefault[dbMenuDefault.length] = new dbRecordMenuItem("Personal", "Personal", rootWebSite + "personal/personal.htm", "");
			dbMenuDefault[dbMenuDefault.length] = new dbRecordMenuItem("Business", "Business", rootWebSite + "business/business.htm", "");
			dbMenuDefault[dbMenuDefault.length] = new dbRecordMenuItem("Programs", "Programs", rootWebSite + "programs/programs.htm", "");
			dbMenuDefault[dbMenuDefault.length] = new dbRecordMenuItem("Links", "Links", rootWebSite + "links/links.htm", "");		
			dbMenuDefault[dbMenuDefault.length] = new dbRecordMenuItem("Site Map", "Site Map", rootWebSite + "map/site_map.htm", "");

		}

		finalText = showMenuProcess(dbMenuDefault);

	
	}



	document.write(finalText);


}






//  *************************************




function showMenuProcess(dbMenuProcess)
{


	var finalTextProcess = "";
	var MENU_DEFAULT_MESSAGE_NO_MENUS_AVAILABLE = "(No menus available.)";

	var dbMenuProcessLength;
	



	
	if (typeof(dbMenuProcess) != "undefined")
	{

		dbMenuProcessLength = dbMenuProcess.length;

		for(var i = 0; i < dbMenuProcessLength; i++)
		{

			//showStatusMessage("Processing menu item " + (i+1) + " of " + dbMenuProcessLength + " ...");

			if( dbMenuProcess[i].fontInfo != "" )
			{	

				finalTextProcess += "<a onmouseover=\"return showStatusMessage('" + dbMenuProcess[i].onmouseoverInfo + "');\" " + "href=\"" + dbMenuProcess[i].hrefInfo + "\">" + "<font color=\"" + dbMenuProcess[i].fontInfo + "\">" + dbMenuProcess[i].textInfo + "</font>" + "</a>";
			
			}
			else
			{

				finalTextProcess += "<a onmouseover=\"return showStatusMessage('" + dbMenuProcess[i].onmouseoverInfo + "');\" " + "href=\"" + dbMenuProcess[i].hrefInfo + "\">" + dbMenuProcess[i].textInfo + "</a>";

			}			

			if( i != (dbMenuProcessLength - 1) )
			{
			
				finalTextProcess += "&nbsp;&nbsp;&nbsp;";

			}

		}

		return finalTextProcess;

	}
	else
	{

		finalTextProcess = MENU_DEFAULT_MESSAGE_NO_MENUS_AVAILABLE;

		return finalTextProcess;
	
	}

}






//  *************************************




function changeTitle(sTitleMessage)
{

	if (typeof(sTitleMessage) != "undefined")
	{

		if(sTitleMessage != "")
		{
		
			document.title = sTitleMessage;
		
		}
	
	}	

}





//  *************************************





function showLastModified()
{

	var finalText = "";

	var D1, D2, allDiff;
	var D1Input, D2Input;
	var validDate1 = false;
	var validDate2 = false;

	var MESSAGE_LAST_CHANGED = "Page last changed ";

	var lastModifiedText = document.lastModified;

	var lastModifiedDate = new Date(lastModifiedText);

	var nowDate = new Date();

	var nowDateY2K = new Date(getCorrectedYear(nowDate.getYear()), nowDate.getMonth(), nowDate.getDate());

	var onMouseOverText = "";

	var styleIndex = 15;

	var	onMouseOutText = "";

	var	fontColorText = "#ff0000";





















	if (typeof(lastModifiedInfo) != "undefined")
	{	
	
		lastModifiedInfo[0] = ["More Info", lastModifiedText];
	
	}








	// yyyy-mm-dd

	D1Input = y2k(nowDateY2K.getYear()) + "-" + fixNumber((nowDateY2K.getMonth() + 1)) + "-" + fixNumber(nowDateY2K.getDate());

	D2Input = y2k(lastModifiedDate.getYear()) + "-" + fixNumber((lastModifiedDate.getMonth() + 1)) + "-" + fixNumber(lastModifiedDate.getDate());



	if ((D1 = ReadISO8601date(D1Input))<0)
	{
		validDate1 = false;
	}
	else
	{
		validDate1 = true;
	}
	
	if ((D2 = ReadISO8601date(D2Input))<0)
	{
		validDate2 = false;
	}
	else
	{
		validDate2 = true;
	}




	if (validDate1)
	{
			
		if (validDate2)
		{

			// allDiff[0] = year
			// allDiff[1] = month
			// allDiff[2] = day
			allDiff = DiffDateC(D1, D2);




		
			if (typeof(showDebug) != "undefined")
			{
			
				showDebug("allDiff = " + allDiff);
			
			}
			



		
		}
	
	}













	if(allDiff.length != 0)
	{

		//finalText += MESSAGE_LAST_CHANGED + allDiff[0] + fixYearOutput(allDiff[0]) + ", " + allDiff[1] + fixMonthOutput(allDiff[0]) + ", " + allDiff[2] + fixDayOutput(allDiff[0]) + " ago.";

		if(allDiff[2] != 0)
		{
	
			//finalText += MESSAGE_LAST_CHANGED + fixYearOutput(allDiff[0]) + fixMonthOutput(allDiff[1]) + fixDayOutput(allDiff[2]) + " ago.";







			if (typeof(lastModifiedInfo) != "undefined")
			{
			
				onMouseOverText = "stm(lastModifiedInfo[" + 0 + "], Style[" + styleIndex + "]); return showStatusMessage('" + lastModifiedText + "')";

				onMouseOutText = "htm()";
				
			}
			else
			{
		
				onMouseOverText = "return showStatusMessage('" + lastModifiedText + "')";

				onMouseOutText = "";
				
			}


			finalText += MESSAGE_LAST_CHANGED + "<a href=\"" + "javascript:void(0)" + "\" onMouseOver=\"" + onMouseOverText + "\" onMouseOut=\"" + onMouseOutText + "\"" + ">" + "<font color=\"" + fontColorText + "\">" + fixYearOutput(allDiff[0]) + " " + fixMonthOutput(allDiff[1]) + " " + fixDayOutput(allDiff[2]) + "</font></a>" + " ago.";
						

		}
		else
		{
	
			finalText += MESSAGE_LAST_CHANGED +	fixYearOutput(allDiff[0]) + fixMonthOutput(allDiff[1]) + fixDayOutput(allDiff[2]) + ".";

		}

	}
	else
	{
	
		finalText += MESSAGE_LAST_CHANGED + " on " + lastModifiedText;
	
	}



















	document.write(finalText);











}









//  *************************************


function fixNumber(number)
{ 
	
	return (number < 10) ? "0" + number : number; 

}




function fixYearOutput(number)
{ 

	if(number == 0)
	{

		return ""; 
	
	}
	else
	{
		
		return (number == 1) ? number + " year" : number + " years"; 

	}

}



function fixMonthOutput(number)
{ 
	
	if(number == 0)
	{

		return ""; 
	
	}
	else
	{
		
		return (number == 1) ? number + " month" : number + " months"; 

	}

}



function fixDayOutput(number)
{ 
	
	if(number == 0)
	{

		return "today"; 
	
	}
	else
	{
		
		return (number == 1) ? number + " day" : number + " days"; 

	}

}





//  *************************************





//www.merlyn.demon.co.uk


var MonthSize = DaysInMonth;



function DaysInMonth(Y, M) {
    with (new Date(Y, M, 1, 12)) {
        setDate(0);
        return getDate();
    }
}






function DiffDateC(A1, A2) {
    var dm, dd;
    dm = (12 * A1[0] + A1[1]) - (12 * A2[0] + A2[1]);
    dd = A1[2] - A2[2];
    if (dd < 0) {
        dm--;
        dd += MonthSize(A1[0], A1[1] - 1);
    }
    return [(dm / 12) | 0, dm % 12, dd];
}


function ValidDate(y, m, d) {
    with (new Date(y, m, d)) {
        return (getMonth() == m && getDate() == d);
    }
}



function ReadISO8601date(Q) {
    var T;
    if ((T = /^(\d+)([-\/])(\d\d)(\2)(\d\d)$/.exec(Q)) == null) {
        return -2;
    }
    for (var j = 1; j <= 5; j += 2) {
        T[j] = +T[j];
    }
    if (!ValidDate(T[1], T[3] - 1, T[5])) {
        return -1;
    }
    return [T[1], T[3], T[5]];
}







function getCorrectedYear(year) 
{

	year = year - 0;

	if (year < 70) return (2000 + year);
    
	if (year < 1900) return (1900 + year);
    
	return year;

}


function y2k(number) 
{ 


	return (number < 1000) ? number + 1900 : number; 

}



function formatCopyrightYear(startYear, currentYear)
{


	if (typeof(startYear) != "undefined")
	{

		if (typeof(currentYear) != "undefined")
		{
	
	
			if (startYear == currentYear)
			{
		
				startYear = "";
			
			}
		
			if (startYear != "")
			{
		
				startYear += " - ";
			
			}
			
		}
		
	}
	
				
	
	return startYear;

}





//  *************************************





function fixPath(sourceURL)
{

	var resultHREF = "";
	
	var	baseURL = "";
	
	var sourceHREF= "";
		
	var	isBackSlashOK;
		
	var sourceHREFPortions = "";
	
	var sourceHREFPortionWithoutFileName = "";
				
	var sourceHREFWithoutFileName = "";
				
	



	
	

	if (typeof(sourceURL) != "undefined")
	{

		if(sourceURL != "")
		{

			sourceHREF = sourceURL.href;
	
			
			if (typeof(getBaseURL) != "undefined")
			{						

				baseURL = getBaseURL(sourceURL);		
			
				isBackSlashOK = sourceHREF.lastIndexOf("/");
			
				if (isBackSlashOK != -1)
				{
			
					sourceHREFWithoutFileName = sourceHREF.substring(0, isBackSlashOK + 1);
			
					sourceHREFPortionWithoutFileName = sourceHREF.substring(baseURL.length, sourceHREFWithoutFileName.length);
				
					sourceHREFPortions = sourceHREFPortionWithoutFileName.split("/");
				
					for(var i = 0; i < (sourceHREFPortions.length - 1); i++)
					{
					
						sourceHREFPortions[i] = "..";
					
					}
				
					resultHREF = sourceHREFPortions.join("/");
					
				}
		
			}

		}
	
	}
	
	return resultHREF;
	
}




//  *************************************






function dbRecordErrorItem(warningInfo, sourceInfo)
{

	
	var WARNING_INFO_DEFAULT = "(No warning.)";
	var SOURCE_INFO_DEFAULT = "(No source file.)";
	
	
	
	
	
	

	
	if (typeof(warningInfo) != "undefined")
	{
	
		this.warningInfo = warningInfo;
	
	}
	else
	{

		this.warningInfo = WARNING_INFO_DEFAULT;
	
	}
	
	
	
	if (typeof(sourceInfo) != "undefined")
	{
	
		this.sourceInfo = sourceInfo;
	
	}
	else
	{

		this.sourceInfo = SOURCE_INFO_DEFAULT;
	
	}
	





	return this;



}






//  *************************************




function showDesigned()
{


	var finalText = "";

	var designedText = "MichaelGershman.com";
	var designedHREF = "http://www.michaelgershman.com";
	var designedFontColor = "#ff0000";
	var designedTarget = "michaelgershman_target";






	
	



	finalText += "Designed by " + "<a href=\"" + designedHREF + "\"" + " target=\"" + designedTarget + "\"" + ">" + "<font color=\"" + designedFontColor + "\">" + designedText + "</font></a>" + ".";





	document.write(finalText);




}







//  *************************************



function getImagesBaseURL()
{

	var	imagesBaseURL = "";
	
	var	imagesBaseDir = "images/";
	


	if (typeof(getBaseURL) != "undefined")
	{
		
		imagesBaseURL = getBaseURL(document.location);
		
		imagesBaseURL += imagesBaseDir;		

	}

	
	
	return imagesBaseURL;

}
















//  *************************************







function showRightPaneLinks()
{

	var finalText = "";

	var imageText = "";

	var onMouseOverText = "";

	var dbLinksLength;

	var RIGHT_PANE_DEFAULT = "(Nothing to display.)";







	if (typeof(dbLinks) != "undefined")
	{
			
		dbLinksLength = dbLinks.length;
	
		for (var i = 0; i < dbLinksLength; i++)
		{
	
			showStatusMessage("Processing link item " + (i+1) + " of " + dbLinksLength + " ...", "True");	
	
			if (dbLinks[i].moreInfo != "")
			{
				
				with (dbLinks[i].moreInfo)
				{
	
					// USED FOR DISPLAYING FLOATING BOX
					//onMouseOverText = "stm(Text[" + moreInfoOnMouseOverText + "], Style[" + moreInfoOnMouseOverStyle + "]); return showStatusMessage(Text[" + moreInfoshowStatusMessageText1 + "][" + moreInfoshowStatusMessageText2 + "])";
	
				}
				
			}
			else
			{
	
				onMouseOverText = "";
	
			}
	
			if (dbLinks[i].sectionInfo != "")
			{
			
				if (dbLinks[i].sectionInfo.sectionSourceInfo != "")
				{
	
					with (dbLinks[i].sectionInfo)
					{
					
						// USED FOR DISPLAYING FLOATING BOX
						//finalText += "<a href=\"" + sectionSourceInfo + "\" onMouseOver=\"" + onMouseOverText + "\" onMouseOut=\"htm()\"" + ">" + "<b>" + sectionNameInfo + "</b>" + "</a>";
						finalText += "<a href=\"" + sectionSourceInfo + "\" onMouseOver=\"" + onMouseOverText + "\"" + ">" + "<b>" + sectionNameInfo + "</b>" + "</a>";						
			
					}
	
				}
				else
				{
	
					with (dbLinks[i].sectionInfo)
					{
					
						finalText += "<b>" + "<a name=\"" + sectionNameInfo + "_ref" + "\"></a>" + sectionNameInfo + "</b>";
	
					}
					
				}
	
			}
	
	
			if (dbLinks[i].subSectionInfo != "")
			{
	
				if (dbLinks[i].linkImageInfo != "")
				{
				
					with (dbLinks[i].linkImageInfo)
					{
					
						imageText = "<img src=\"" + imageSourceInfo + "\" title=\"" + imageAltInfo + "\" width=\"" + imageWidthInfo + "\" height=\"" + imageHeightInfo + "\" border=\"" + imageBorderInfo + "\" align=\"" + imageAlignInfo + "\">";
					
					}
	
				}
				else
				{
	
					imageText = "";
	
				}
	
				finalText += "<ul>";
	
				finalText += "<li>";
	
				with (dbLinks[i].subSectionInfo)
				{
				
					// USED FOR DISPLAYING FLOATING BOX
					//finalText += "<a href=\"" + subSectionSourceInfo + "\" onMouseOver=\"" + onMouseOverText + "\" target=\"" + subSectionTargetInfo + "\" onMouseOut=\"htm()\"" + ">" + subSectionNameInfo + "</a>" + "&nbsp;" + imageText;
					finalText += "<a href=\"" + subSectionSourceInfo + "\" onMouseOver=\"" + onMouseOverText + "\" target=\"" + subSectionTargetInfo + "\"" + ">" + subSectionNameInfo + "</a>" + "&nbsp;" + imageText;
					
				}
	
				finalText += "</li>";
	
			}
	
			if (i != (dbLinksLength - 1))
			{	
	
				finalText += "</ul>";
	
			}
	
		}
	
	}
	else
	{
	
		finalText += RIGHT_PANE_DEFAULT;

	}



	document.write(finalText);



}







//  *************************************





function dbRecordSectionLink(sectionNameInfo, sectionSourceInfo, sectionOnMouseOverInfo)
{

	var SECTION_NAME_INFO_DEFAULT = "(Nothing to display.)";
	var SECTION_SOURCE_INFO_DEFAULT = "(Nothing to display.)";
	var SECTION_ONMOUSEOVER_INFO_DEFAULT = "(Nothing to display.)";
	



	if (typeof(sectionNameInfo) != "undefined")
	{
	
		this.sectionNameInfo = sectionNameInfo;
	
	}
	else
	{

		this.sectionNameInfo = SECTION_NAME_INFO_DEFAULT;
	
	}

	if (typeof(sectionSourceInfo) != "undefined")
	{
	
		this.sectionSourceInfo = sectionSourceInfo;
	
	}
	else
	{

		this.sectionSourceInfo = SECTION_SOURCE_INFO_DEFAULT;
	
	}

	if (typeof(sectionOnMouseOverInfo) != "undefined")
	{
	
		this.sectionOnMouseOverInfo = sectionOnMouseOverInfo;
	
	}
	else
	{

		this.sectionOnMouseOverInfo = SECTION_ONMOUSEOVER_INFO_DEFAULT;
	
	}
	


	return this;




}





//  *************************************



function dbRecordSubSectionLink(subSectionNameInfo, subSectionSourceInfo, subSectionTargetInfo)
{

	var SUB_SECTION_NAME_INFO_DEFAULT = "(Nothing to display.)";
	var SUB_SECTION_SOURCE_INFO_DEFAULT = "(Nothing to display.)";
	var SUB_SECTION_TARGET_INFO_DEFAULT = "(Nothing to display.)";
	



	if (typeof(subSectionNameInfo) != "undefined")
	{
	
		this.subSectionNameInfo = subSectionNameInfo;
	
	}
	else
	{

		this.subSectionNameInfo = SUB_SECTION_NAME_INFO_DEFAULT;
	
	}

	if (typeof(subSectionSourceInfo) != "undefined")
	{
	
		this.subSectionSourceInfo = subSectionSourceInfo;
	
	}
	else
	{

		this.subSectionSourceInfo = SUB_SECTION_SOURCE_INFO_DEFAULT;
	
	}

	if (typeof(subSectionTargetInfo) != "undefined")
	{
	
		this.subSectionTargetInfo = subSectionTargetInfo;
	
	}
	else
	{

		this.subSectionTargetInfo = SUB_SECTION_TARGET_INFO_DEFAULT;
	
	}
	


	return this;




}





//  *************************************




function dbRecordLink(sectionInfo, subSectionInfo, linkImageInfo, moreInfo)
{

	var SECTION_INFO_DEFAULT = "(Nothing to display.)";
	var SUB_SECTION_INFO_DEFAULT = "(Nothing to display.)";
	var LINK_IMAGE_INFO_DEFAULT = "(Nothing to display.)";
	var MORE_INFO_DEFAULT = "(Nothing to display.)";
	



	if (typeof(sectionInfo) != "undefined")
	{
	
		this.sectionInfo = sectionInfo;
	
	}
	else
	{

		this.sectionInfo = SECTION_INFO_DEFAULT;
	
	}

	if (typeof(subSectionInfo) != "undefined")
	{
	
		this.subSectionInfo = subSectionInfo;
	
	}
	else
	{

		this.subSectionInfo = SUB_SECTION_INFO_DEFAULT;
	
	}

	if (typeof(linkImageInfo) != "undefined")
	{
	
		this.linkImageInfo = linkImageInfo;
	
	}
	else
	{

		this.linkImageInfo = LINK_IMAGE_INFO_DEFAULT;
	
	}

	if (typeof(moreInfo) != "undefined")
	{
	
		this.moreInfo = moreInfo;
	
	}
	else
	{

		this.moreInfo = MORE_INFO_DEFAULT;
	
	}
		


	return this;




}












//  *************************************







function showRightPaneSiteMap()
{

	var finalText = "";

	var imageText = "";

	var onMouseOverText = "";

	var dbSiteMapsLength;

	var RIGHT_PANE_DEFAULT = "(Nothing to display.)";





	if (typeof(dbSiteMaps) != "undefined")
	{
			
		dbSiteMapsLength = dbSiteMaps.length;	
	
		for (var i = 0; i < dbSiteMapsLength; i++)
		{
	
			showStatusMessage("Processing site map item " + (i+1) + " of " + dbSiteMapsLength + " ...", "True");
	
			if (dbSiteMaps[i].moreInfo != "")
			{
	
				with (dbSiteMaps[i].moreInfo)
				{
	
					// USED FOR DISPLAYING FLOATING BOX
					//onMouseOverText = "stm(Text[" + moreInfoOnMouseOverText + "], Style[" + moreInfoOnMouseOverStyle + "]); return showStatusMessage(Text[" + moreInfoshowStatusMessageText1 + "][" + moreInfoshowStatusMessageText2 + "])";
				
				}
	
			}			
			else
			{
	
				onMouseOverText = "";
	
			}
	
			if (dbSiteMaps[i].sectionInfo != "")
			{
	
				if (dbSiteMaps[i].sectionInfo.sectionSourceInfo != "")
				{
	
					with (dbSiteMaps[i].sectionInfo)
					{
					
						// USED FOR DISPLAYING FLOATING BOX
						//finalText += "<a href=\"" + sectionSourceInfo + "\" onMouseOver=\"" + onMouseOverText + "\" onMouseOut=\"htm()\"" + ">" + "<b>" + sectionNameInfo + "</b>" + "</a>";
						finalText += "<a href=\"" + sectionSourceInfo + "\" onMouseOver=\"" + onMouseOverText + "\"" + ">" + "<b>" + sectionNameInfo + "</b>" + "</a>";
					
					}
	
				}
				else
				{
	
					finalText += "<b>" + dbSiteMaps[i].sectionInfo.sectionNameInfo + "</b>";
	
				}
	
			}
	
			if (dbSiteMaps[i].subSectionInfo != "")
			{
	
				if (dbSiteMaps[i].siteMapImageInfo != "")
				{
	
					with (dbSiteMaps[i].siteMapImageInfo)
					{
	
						imageText = "<img src=\"" + imageSourceInfo + "\" title=\"" + imageAltInfo + "\" width=\"" + imageWidthInfo + "\" height=\"" + imageHeightInfo + "\" border=\"" + imageBorderInfo + "\" align=\"" + imageAlignInfo + "\">";
	
					}
	
				}			
				else
				{
	
					imageText = "";
	
				}
	
				finalText += "<ul>";
	
				finalText += "<li>";
	
				with (dbSiteMaps[i].subSectionInfo)
				{

					// USED FOR DISPLAYING FLOATING BOX				
					//finalText += "<a href=\"" + subSectionSourceInfo + "\" onMouseOver=\"" + onMouseOverText + "\" onMouseOut=\"htm()\"" + ">" + subSectionNameInfo + "</a>" + "&nbsp;" + imageText;
					finalText += "<a href=\"" + subSectionSourceInfo + "\" onMouseOver=\"" + onMouseOverText + "\"" + ">" + subSectionNameInfo + "</a>" + "&nbsp;" + imageText;				
				
				}
	
				finalText += "</li>";
		
			}
			else
			{
			
				finalText += "<br>";

				finalText += "<br>";

			}
	
			if (i != (dbSiteMapsLength - 1))
			{	
	
				if (dbSiteMaps[i].subSectionInfo != "")
				{

					finalText += "</ul>";
	
				}
				
			}
	
		}
	
	}
	else
	{
	
		finalText += RIGHT_PANE_DEFAULT;

	}




	document.write(finalText);

}













//  *************************************


function dbRecordImageSiteMap(imageSourceInfo, imageWidthInfo, imageHeightInfo, imageBorderInfo, imageAltInfo, imageAlignInfo, imageOnMouseOverInfo)
{

	var IMAGE_SOURCE_DEFAULT = "(Nothing to display.)";
	var IMAGE_WIDTH_DEFAULT = "(Nothing to display.)";
	var IMAGE_HEIGHT_DEFAULT = "(Nothing to display.)";
	var IMAGE_BORDER_DEFAULT = "(Nothing to display.)";
	var IMAGE_ALT_DEFAULT = "(Nothing to display.)";
	var IMAGE_ALIGN_DEFAULT = "(Nothing to display.)";
	var IMAGE_ONMOUSEOVER_DEFAULT = "(Nothing to display.)";




	if (typeof(imageSourceInfo) != "undefined")
	{
	
		this.imageSourceInfo = imageSourceInfo;
	
	}
	else
	{

		this.imageSourceInfo = IMAGE_SOURCE_DEFAULT;
	
	}
	
	if (typeof(imageWidthInfo) != "undefined")
	{
	
		this.imageWidthInfo = imageWidthInfo;
	
	}
	else
	{

		this.imageWidthInfo = IMAGE_WIDTH_DEFAULT;
	
	}
	
	if (typeof(imageHeightInfo) != "undefined")
	{
	
		this.imageHeightInfo = imageHeightInfo;
	
	}
	else
	{

		this.imageHeightInfo = IMAGE_HEIGHT_DEFAULT;
	
	}
	
	if (typeof(imageBorderInfo) != "undefined")
	{
	
		this.imageBorderInfo = imageBorderInfo;
	
	}
	else
	{

		this.imageBorderInfo = IMAGE_BORDER_DEFAULT;
	
	}
	
	if (typeof(imageAltInfo) != "undefined")
	{
	
		this.imageAltInfo = imageAltInfo;
	
	}
	else
	{

		this.imageAltInfo = IMAGE_ALT_DEFAULT;
	
	}
	
	if (typeof(imageAlignInfo) != "undefined")
	{
	
		this.imageAlignInfo = imageAlignInfo;
	
	}
	else
	{

		this.imageAlignInfo = IMAGE_ALIGN_DEFAULT;
	
	}
	
	if (typeof(imageOnMouseOverInfo) != "undefined")
	{
	
		this.imageOnMouseOverInfo = imageOnMouseOverInfo;
	
	}
	else
	{

		this.imageOnMouseOverInfo = IMAGE_ONMOUSEOVER_DEFAULT;
	
	}

	



	return this;



}









//  *************************************





function dbRecordSectionSiteMap(sectionNameInfo, sectionSourceInfo, sectionOnMouseOverInfo)
{

	var SECTION_NAME_INFO_DEFAULT = "(Nothing to display.)";
	var SECTION_SOURCE_INFO_DEFAULT = "(Nothing to display.)";
	var SECTION_ONMOUSEOVER_INFO_DEFAULT = "(Nothing to display.)";
	



	if (typeof(sectionNameInfo) != "undefined")
	{
	
		this.sectionNameInfo = sectionNameInfo;
	
	}
	else
	{

		this.sectionNameInfo = SECTION_NAME_INFO_DEFAULT;
	
	}

	if (typeof(sectionSourceInfo) != "undefined")
	{
	
		this.sectionSourceInfo = sectionSourceInfo;
	
	}
	else
	{

		this.sectionSourceInfo = SECTION_SOURCE_INFO_DEFAULT;
	
	}

	if (typeof(sectionOnMouseOverInfo) != "undefined")
	{
	
		this.sectionOnMouseOverInfo = sectionOnMouseOverInfo;
	
	}
	else
	{

		this.sectionOnMouseOverInfo = SECTION_ONMOUSEOVER_INFO_DEFAULT;
	
	}
	


	return this;




}








//  *************************************



function dbRecordSubSectionSiteMap(subSectionNameInfo, subSectionSourceInfo)
{

	var SUB_SECTION_NAME_INFO_DEFAULT = "(Nothing to display.)";
	var SUB_SECTION_SOURCE_INFO_DEFAULT = "(Nothing to display.)";

	



	if (typeof(subSectionNameInfo) != "undefined")
	{
	
		this.subSectionNameInfo = subSectionNameInfo;
	
	}
	else
	{

		this.subSectionNameInfo = SUB_SECTION_NAME_INFO_DEFAULT;
	
	}

	if (typeof(subSectionSourceInfo) != "undefined")
	{
	
		this.subSectionSourceInfo = subSectionSourceInfo;
	
	}
	else
	{

		this.subSectionSourceInfo = SUB_SECTION_SOURCE_INFO_DEFAULT;
	
	}

	


	return this;

}







//  *************************************




function dbRecordSiteMap(sectionInfo, subSectionInfo, siteMapImageInfo, moreInfo)
{

	var SECTION_INFO_DEFAULT = "(Nothing to display.)";
	var SUB_SECTION_INFO_DEFAULT = "(Nothing to display.)";
	var SITE_MAP_IMAGE_INFO_DEFAULT = "(Nothing to display.)";
	var MORE_INFO_DEFAULT = "(Nothing to display.)";
	



	if (typeof(sectionInfo) != "undefined")
	{
	
		this.sectionInfo = sectionInfo;
	
	}
	else
	{

		this.sectionInfo = SECTION_INFO_DEFAULT;
	
	}

	if (typeof(subSectionInfo) != "undefined")
	{
	
		this.subSectionInfo = subSectionInfo;
	
	}
	else
	{

		this.subSectionInfo = SUB_SECTION_INFO_DEFAULT;
	
	}

	if (typeof(siteMapImageInfo) != "undefined")
	{
	
		this.siteMapImageInfo = siteMapImageInfo;
	
	}
	else
	{

		this.siteMapImageInfo = SITE_MAP_IMAGE_INFO_DEFAULT;
	
	}

	if (typeof(moreInfo) != "undefined")
	{
	
		this.moreInfo = moreInfo;
	
	}
	else
	{

		this.moreInfo = MORE_INFO_DEFAULT;
	
	}
		


	return this;




}

















//  *************************************







function showRedirect()
{

	var finalText = "";

	var fixedHREF = fixPath(document.location);

	var webSiteBaseURL = getBaseURL(document.location);



	finalText += "<h2>";

	finalText += "<center>";

	finalText += "<p>";
	
	finalText += "Opening the following page:";

	finalText += "&nbsp;";
			
	finalText += "<a href=\"" + fixedHREF + sPageToRedirect + "\">" + webSiteBaseURL + sPageToRedirect + "</a> ...";

	finalText += "</p>";

	finalText += "</center>";

	finalText += "</h2>";
								
			


	document.write(finalText);


}






//  *************************************



var INCLUDE_UTILS_END = 0;




//  *************************************

