//			Primary Script for NIAA web site
//				Adapted by cgb Oct 2007, Rvsd Feb 2012

// "Date File Last Modified" script by Bernhard Friedrich; should work in all browsers
//													Adapted by cgb: 08/18/04

<!-- baseDir = "file:///E:/Wrkng/Current/Nassau/";	// for local use -->
baseDir = "http://www.nassauny-aa.org/";			<!-- for remote use -->

var a;
a=new Date(document.lastModified);
lm_year=a.getYear();lm_year=((lm_year<1000)?((lm_year<70)?2000:1900):0)+lm_year;
lm_month=a.getMonth()+1;lm_month=((lm_month<10)?'0':'')+lm_month;
lm_day=a.getDate();lm_day=((lm_day<10)?'0':'')+lm_day;
monthName = new Array(12)

function DateEng()
{
monthName[0] = 'Jan'
monthName[1] = 'Feb'
monthName[2] = 'Mar'
monthName[3] = 'Apr'
monthName[4] = 'May'
monthName[5] = 'Jun'
monthName[6] = 'Jul'
monthName[7] = 'Aug'
monthName[8] = 'Sep'
monthName[9] = 'Oct'
monthName[10] = 'Nov'
monthName[11] = 'Dec'
document.write('<h6>')
document.write('This page last updated on ' + monthName[lm_month-1]+' '+lm_day+', '+lm_year)
document.write('</h6>');
}

function Location()
{
thePath = '';
loc = '' +location.href;
paths = loc.substring(7).split('/');
for (i=0, n=paths.length;i<n;i++) thePath += '> ' + paths[i] + ' ';
document.write('<h5 class="breadcrumb">You are here: ' + thePath.substring(1)+'</h5>');
}


// ***MastHead funtions***

function MastHead()
{
// Site Wide MastHead
document.writeln("<table>");
document.writeln("	<tr>");
document.writeln("		<td><span class=\"caption\">What is the<\/span><br />");
document.writeln("			<a href=\"http://www.nassauny-aa.org/Docs/WhatIsBB.html\"><img src=\"http://www.nassauny-aa.org/Images/BigBook.jpg\" width=\"60\" height=\"80\" alt=\"What is the Big Book?\" /><br />");
document.writeln("			<span class=\"caption\">Big Book?<\/span><\/a>");
document.writeln("		<\/td>");
document.writeln("		<td class=\"middle\">");
document.writeln("			<a href=\"http://www.nassauny-aa.org\"><img src=\"http://www.nassauny-aa.org/Images/MastHead.gif\" width=\"450\" height=\"77\" alt=\"Nassau InterGroup MastHead\" /><\/a><br />");
document.writeln("			<h5 class=\"msthead\">&nbsp;of Alcoholics Anonymous<sup>&reg;<\/sup><\/h5>");
document.writeln("		<\/td>");
document.writeln("		<td><span class=\"caption\">Click here to read<\/span><br />");
document.writeln("			<a href=\"http://www.aa.org/bigbookonline/\"><img src=\"http://www.nassauny-aa.org/Images/BigBook.jpg\" width=\"60\" height=\"80\" alt=\"Read the Big Book OnLine\" /><br />");
document.writeln("			<span class=\"caption\">Big Book<sup>&reg;<\/sup> OnLine<\/span><\/a>");
document.writeln("		<\/td>");
document.writeln("	<\/tr>");
document.writeln("<\/table>");
document.writeln("<h3>Serving Nassau County on NY&#8217;s Long Island since the late 40&#8217;s</h3>");
}

function MenuBar()
{
// Used in the "globalNav" div
document.writeln("<a href=\"http://www.nassauny-aa.org\"><strong>Home<\/strong><\/a> | ");
document.writeln("<a href=\"");
document.write(baseDir);
document.writeln("	Calendar/_NIAAcal.htm\">Calendar<\/a> | ");
document.writeln("<a href=\"");
document.write(baseDir);
document.writeln("	MtgList/TwnLinks.html\">Meetings<\/a> | ");
document.writeln("<a href=\"");
document.write(baseDir);
document.writeln("	_Joomla/index.php\">News &amp; Info<\/a> | ");
document.writeln("<a href=\"");
document.write(baseDir);
document.writeln("	NwsLttrs/BckList.html\">NewsLetters<\/a> | ");
document.writeln("<a href=\"");
document.write(baseDir);
document.writeln("	Events/Special.html\">Special Events<\/a> | ");
document.writeln("<a href=\"");
document.write(baseDir);
document.writeln("	Docs/AboutNIAA.html\">About Us<\/a>");
}

function SubMast()
{
// Home & Town Links - Used in SubPages w/o side columns
document.writeln("<div>");
document.writeln("	<a href=\"");
document.write(baseDir);
document.writeln("index.html#home\"");
document.writeln("		onmouseover=\"homepage.src=\'../Images/HomePg2.gif\'\" onmouseout=\"homepage.src=\'../Images/HomePage.gif\'\">");
document.writeln("		<img src=\"../Images/HomePage.gif\" alt=\"Back to Home Page\" id=\"homepage\" height=\"46\" width=\"152\" />");
document.writeln("	<\/a>");
document.writeln("	<a id=\"top\"><\/a>");
document.writeln("	<a href=\"../MtgList/TwnLinks.html\"");
document.writeln("		onmouseover=\"townlinks.src=\'../Images/TwnLnks2.gif\'\" onmouseout=\"townlinks.src=\'../Images/TwnLnks.gif\'\">");
document.writeln("		<img src=\"../Images/TwnLnks.gif\" alt=\"Link to Town Links\" id=\"townlinks\" height=\"46\" width=\"152\" />");
document.writeln("	<\/a>");
document.writeln("<\/div>");
}


// ***Left column functions***

function WhatIs()
{
document.writeln("<img src=\"");
document.write(baseDir);
document.writeln("				Images/CoffeeCupLft.gif\" alt=\"A nice steaming cup of coffee\" width=\"64\" height=\"70\" />");
document.writeln("<div class=\"sectionLinks\">");
document.writeln("	<h3>What is ..<\/h3>");
document.writeln("		<ul>");
document.writeln("			<li><a href=\"");
document.write(baseDir);
document.writeln("				Docs/WhatIsAA.html\">* AA ?<\/a><\/li>");
document.writeln("			<li><a href=\"");
document.write(baseDir);
document.writeln("				Docs/WhatIsBB.html\">* the Big Book ?<\/a><\/li>");
document.writeln("			<li><a href=\"");
document.write(baseDir);
document.writeln("				Docs/WhatIsNIAA.html\">* Nassau Intergroup ?<\/a><\/li>");
document.writeln("			<li><a href=\"");
document.write(baseDir);
document.writeln("				Docs/WhatIsNGSG.html\">* Nassau General Service ?<\/a><\/li>");
document.writeln("			<li><a href=\"");
document.write(baseDir);
document.writeln("				Docs/WhatIsSENY.html\">* SENY ?<\/a><\/li>");
document.writeln("			<li><a href=\"");
document.write(baseDir);
document.writeln("				Docs/WhatIsGSC.html\">* the General Service Conference ?<\/a><\/li>");
document.writeln("			<li><a href=\"");
document.write(baseDir);
document.writeln("				Docs/WhatIsAAWS.html\">* AAWS (GSO) ?<\/a><\/li>");
document.writeln("		<\/ul>");
document.writeln("<\/div>");
}

function MemberSvcs()
{
document.writeln("<div class=\"sectionLinks\">");
document.writeln("	<h3>Member<br />Services<\/h3>");
document.writeln("		<ul>");
document.writeln("			<li><a href=\"");
document.write(baseDir);
document.writeln("				Docs/Pamphlets/MakingAStart.html\">Making A Start<\/a><\/li>");
document.writeln("		<\/ul>");
document.writeln("		<ul>");
document.writeln("			<li><a href=\"");
document.write(baseDir);
document.writeln("				Docs/Pamphlets/TrustedServant.html\">Being A Trusted Servant<\/a><\/li>");
document.writeln("		<\/ul>");
document.writeln("		<ul>");
document.writeln("			<li><a href=\"");
document.write(baseDir);
document.writeln("				_Joomla/index.php\">News &amp; Info<\/a><\/li>");
document.writeln("		<\/ul>");
/*document.writeln("		<ul>");
document.writeln("			<li><a href=\"");
document.write(baseDir);
document.writeln("				Volunteer/Volunteer.html\">Need a Committment?<\/a><\/li>");
document.writeln("		<\/ul>");*/
document.writeln("<\/div>");
}

function GroupSvcs()
{
document.writeln("<div class=\"sectionLinks\">");
document.writeln("	<h3>Group<br />Services<\/h3>");
document.writeln("		<ul>");
document.writeln("			<li><a href=\"");
document.write(baseDir);
document.writeln("				Forms/Forms.html\">Group Forms<\/a><\/li>");
document.writeln("			<li><a href=\"");
document.write(baseDir);
document.writeln("				Forms/FrmFiles/MtgLstChngs.pdf\">Meeting List Change Form<\/a><\/li>");
document.writeln("			<li><a href=\"");
document.write(baseDir);
document.writeln("				Forms/FrmFiles/GrpOffcr.pdf\">Group Officer Form<\/a><\/li>");
document.writeln("			<li><a href=\"");
document.write(baseDir);
document.writeln("				Forms/FrmFiles/12thStepListRvsd.pdf\">12 Step List<\/a><\/li>");
document.writeln("		<\/ul>");
document.writeln("<\/div>");
}

function ContactList()
{
document.writeln("<div class=\"sectionLinks\">");
document.writeln("	<h3>Contacting<br />Nassau<br />InterGroup<\/h3>");
document.writeln("		<ul>");
document.writeln("			<li><a title=\"eMail to ChairPerson\" href=\"mailto:&#99;&#104;&#97;&#105;&#114;&#64;&#110;&#97;&#115;&#115;&#97;&#117;&#110;&#121;&#45;&#97;&#97;&#46;&#111;&#114;&#103;\">");
document.writeln("				ChairPerson<\/a><\/li>");
document.writeln("			<li><a title=\"eMail to ViceChairs\" href=\"mailto:&#118;&#105;&#99;&#101;&#99;&#104;&#97;&#105;&#114;&#115;&#64;&#110;&#97;&#115;&#115;&#97;&#117;&#110;&#121;&#45;&#97;&#97;&#46;&#111;&#114;&#103;\">");
document.writeln("				ViceChairs<\/a><\/li>");
document.writeln("			<li><a title=\"eMail to Secretary\" href=\"mailto:&#115;&#101;&#99;&#114;&#101;&#116;&#97;&#114;&#121;&#64;&#110;&#97;&#115;&#115;&#97;&#117;&#110;&#121;&#45;&#97;&#97;&#46;&#111;&#114;&#103;\">");
document.writeln("				Secretary<\/a><\/li>");
document.writeln("			<li><a title=\"eMail to Treasurer\" href=\"mailto:&#116;&#114;&#101;&#97;&#115;&#117;&#114;&#101;&#114;&#64;&#110;&#97;&#115;&#115;&#97;&#117;&#110;&#121;&#45;&#97;&#97;&#46;&#111;&#114;&#103;\">");
document.writeln("				Treasurer<\/a><\/li>");
document.writeln("			<li><a href=\"");
document.write(baseDir);
document.writeln("				Docs/ContactNIAA.html\">Others<\/a><\/li>");
document.writeln("		<\/ul>");
document.writeln("<\/div>");
}

// ***Right Column functions***

function SearchBox()
{
document.writeln("<img src=\"");
document.write(baseDir);
document.writeln("			Images/CoffeeCupRght.gif\" alt=\"Another steaming cup of coffee\" width=\"64\" height=\"70\" />");
document.writeln("<br /><br />");
document.writeln("<div id=\"search\">");
document.writeln("<!-- Google CSE Search Box Begins  -->");
document.writeln("	<form action=\"http://www.nassauny-aa.org/_SiteMap/SrchRslt.html\" id=\"searchbox_009811203663393674221:v1mtywn_fru\">");
document.writeln("		<input type=\"hidden\" name=\"cx\" value=\"009811203663393674221:v1mtywn_fru\" />");
document.writeln("		<input type=\"hidden\" name=\"cof\" value=\"FORID:11\" />");
document.writeln("		<input type=\"text\" name=\"q\" size=\"15\" />");
document.writeln("		<input type=\"submit\" name=\"sa\" value=\"Search\" />");
document.writeln("	<\/form>");
document.writeln("<script type=\"text/javascript\" src=\"http://google.com/coop/cse/brand?form=searchbox_009811203663393674221%3Av1mtywn_fru\"><\/script>");
document.writeln("<!-- Google CSE Search Box Ends -->");
document.writeln("<\/div>");
}

function SectionLinks()
{
document.writeln("<div class=\"sectionLinks\">");
document.writeln("	<h3>AA Meetings<\/h3>");
document.writeln("		<ul>");
document.writeln("			<li><a href=\"");
document.write(baseDir);
document.writeln("				MtgList/TwnLinks.html#meetingFinder\">in Nassau County<\/a><\/li>");
document.writeln("			<li><a href=\"");
document.write(baseDir);
document.writeln("				MtgList/TwnLinks.html#telephone\">via Telephone<\/a><\/li>");
document.writeln("			<li><a href=\"");
document.write(baseDir);
document.writeln("				Docs/WhatIsNIAA.html#neighbors\">in nearby counties<\/a><\/li>");
document.writeln("			<li><a href=\"");
document.write(baseDir);
document.writeln("				Links/WithInAA/MtgList-UpState.html\">in New York State<\/a><\/li>");
document.writeln("			<li><a href=\"");
document.write(baseDir);
document.writeln("				Links/OtherAAs.html#US\">around the country<\/a><\/li>");
document.writeln("			<li><a href=\"");
document.write(baseDir);
document.writeln("				Links/OtherAAs.html#WorldWide\">around the world<\/a><\/li>");
document.writeln("			<li><a href=\"");
document.write(baseDir);
document.writeln("				Links/WithInAA/IntrGrp-OnLine.html\">OnLine<\/a><\/li>");
document.writeln("		<\/ul>");
document.writeln("<\/div>");
}

function ClndrLnks()
{
document.writeln("<div class=\"sectionLinks\">");
document.writeln("	<h3>Calendar &amp;<br />Special Events<\/h3>");
document.writeln("		<ul>");
document.writeln("			<li><a href=\"");
document.write(baseDir);
document.writeln("				Calendar/_NIAAcal.htm\">Monthly Calendar<\/a><\/li>");
document.writeln("			<li><a href=\"");
document.write(baseDir);
document.writeln("				Events/Special.html\">Special Events<\/a><\/li>");
document.writeln("			<li><a href=\"");
document.write(baseDir);
document.writeln("				Links/WithInAA/SENYsCal.html\">Area Calendar<\/a><\/li>");
document.writeln("		<\/ul>");
document.writeln("<\/div>");
}

function NwsLttrLnks()
{
document.writeln("<div class=\"sectionLinks\">");
document.writeln("	<h3>NewsLetters<\/h3>");
document.writeln("		<ul>");
document.writeln("			<li><a href=\"");
document.write(baseDir);
document.writeln("				NwsLttrs/NwsLttr.html\">Current Issue<\/a><\/li>");
document.writeln("			<li><a href=\"");
document.write(baseDir);
document.writeln("				NwsLttrs/BckList.html\">Older Issues<\/a><\/li>");
document.writeln("			<li><a href=\"");
document.write(baseDir);
document.writeln("				Links/WithInAA/SENYsTheLink.html\">SENY&#8217;s &#8220;The Link&#8221;<\/a><\/li>");
document.writeln("			<li><a href=\"");
document.write(baseDir);
document.writeln("				Links/WithInAA/GrapeVine.html\">AA Grapevine<\/a><\/li>");
document.writeln("			<li><a href=\"");
document.write(baseDir);
document.writeln("				Links/WithInAA/Box459.html\">GSO&#8217;s &#8220;Box 459&#8221;<\/a><\/li>");
document.writeln("		<\/ul>");
document.writeln("<\/div>");
}


// ***Footer functions***

function SiteInfoBar()
{
document.writeln("	<a href=\"");
document.write(baseDir);
document.writeln("				Docs/AboutNIAA.html\">About Us<\/a> | <a href=\"");
document.write(baseDir);
document.writeln("				_SiteMap/SiteMap.html\">Site Map<\/a> | <a href=\"");
document.write(baseDir);
document.writeln("				Docs/FAQGdeLines/PrivacyPolicy.html\">Privacy Policy<\/a> | <a href=\"");
document.write(baseDir);
document.writeln("				Docs/ContactNIAA.html\">Contact Us<\/a> | &copy;2007 Nassau InterGroup");
document.writeln("	<br /><br />");
}

function Footer1()
{
// Single Validator (CSS)
document.writeln("<div id=\"siteInfo\">");
document.writeln("	<script type=\"text/javascript\">DateEng()<\/script>");
document.writeln("	<script type=\"text/javascript\">Location()<\/script>");
document.writeln("	<script type=\"text/javascript\">SiteInfoBar()<\/script>");
document.writeln("	<br /><br />");
document.writeln("		<a href=\"http://jigsaw.w3.org/css-validator/\">");
document.write("			<img src=\"");
document.write(baseDir);
document.writeln("				Images/Valid-css.png\" width=\"88\" height=\"31\" alt=\"Valid CSS!\" />");
document.writeln("		<\/a>");
document.writeln("<\/div>");
}

function Footer2()
{
// Both Validators (XHTML & CSS)
document.writeln("<div id=\"siteInfo\">");
document.writeln("	<script type=\"text/javascript\">DateEng()<\/script>");
document.writeln("	<script type=\"text/javascript\">Location()<\/script>");
document.writeln("	<script type=\"text/javascript\">SiteInfoBar()<\/script>");
document.writeln("	<br /><br />");
document.writeln("	<div class=\"halfleft\">");
document.writeln("		<a href=\"http://validator.w3.org/check?uri=referer\">");
document.write("			<img src=\"");
document.write(baseDir);
document.writeln("				Images/Valid-xhtml10.png\" width=\"88\" height=\"31\" alt=\"Valid XHTML 1.0!!\" />");
document.writeln("	<\/div>");
document.writeln("	<div class=\"halfright\">");
document.writeln("		<a href=\"http://jigsaw.w3.org/css-validator/\">");
document.writeln("			<img src=\"");
document.write(baseDir);
document.writeln("				Images/Valid-css.png\" width=\"88\" height=\"31\" alt=\"Valid CSS!\" /><\/a>");
document.writeln("	<\/div>");
document.writeln("<\/div>");
}

function GoogleTracker()
{
document.writeln("		<script src=\"http://www.google-analytics.com/urchin.js\" type=\"text/javascript\"><\/script>");
document.writeln("		<script type=\"text/javascript\">");
document.writeln("			_uacct = \"UA-1881349-1\";");
document.writeln("			urchinTracker();");
document.writeln("		<\/script>");
}

