/*This file contains all the insertable code modules that might be common to more than one page. Having them all in this one file allows for site-wide changes to be made by changing only one file (this one).  Note, also, where apostrophe and single parentesis, which are a reserved character in JavaScript, are surrounded by back-slashes to force literal character write.*/

function MastHead() {
	var s = '';
	s+='<div >\n';
	s+='<table border=0 cellpadding=0 cellspacing=0 width=750>\n';
	s+='<tr valign=top>\n';
		s+='<td><img src="images/masthead.jpg" width=750 height=200 alt=""></td>\n';

	s+='</tr>\n';
	s+='</table>\n';
	s+='</div>\n';
	return s;
}

/* Info On Box */
function InfoOnBox() {
	var s = '';
	s+='<table width="100%" cellpadding="0" cellspacing="0" border="0" >\n';
			s+='<tr vAlign="top"><td align="center">\n';
			s+='<table align="center" width="100%" cellpadding="0" cellspacing="0" border="0" background="images/lt_gray10x10.gif" >\n';
			s+='<tr vAlign="top">\n';
			s+='<td align="center" ><font class=header><b>Info on . . .&nbsp\;\</b></font></font></td>\n';
			s+='</tr>\n';
			s+='</table>\n';
			s+='</td></tr>\n';
			s+='<tr vAlign="top"><td align="center">\n';
			s+='<table align="center" width="100%" cellpadding="0" cellspacing="0" border="0" background="images/wht10x10.gif" >\n';
			s+='<tr vAlign="top" >\n';
			s+='<td align="center" background="images/white10x10.gif" onmouseover="background=\'\images/lt_gray10x10.gif\'\"0.gif onmouseout="background=\'\images/white10x10.gif\'\" ><a href="ccare_home.html">Child Care</a></td>\n';
			s+='</tr>\n';
			s+='<tr vAlign="top" >\n';
			s+='<td align="center" background="images/white10x10.gif" onmouseover="background=\'\images/lt_gray10x10.gif\'\"0.gif onmouseout="background=\'\images/white10x10.gif\'\" ><a href="commdev_home.html">Community Development</a></td>\n';
			s+='</tr>\n';
			s+='<tr vAlign="top" >\n';
			s+='<td align="center" background="images/white10x10.gif" onmouseover="background=\'\images/lt_gray10x10.gif\'\"0.gif onmouseout="background=\'\images/white10x10.gif\'\" ><a href="commemp_home.html">Community Employment</a></td>\n';
			s+='</tr>\n';
			s+='<tr vAlign="top" >\n';
			s+='<td align="center" background="images/white10x10.gif" onmouseover="background=\'\images/lt_gray10x10.gif\'\"0.gif onmouseout="background=\'\images/white10x10.gif\'\" ><a href="educat_home.html">Education</a>\</td>\n';
			s+='</tr>\n';
			s+='<tr vAlign="top" >\n';
			s+='<td align="center" background="images/white10x10.gif" onmouseover="background=\'\images/lt_gray10x10.gif\'\"0.gif onmouseout="background=\'\images/white10x10.gif\'\" ><a href="econdev_home.html">Economic Development</a>\</td>\n';
			s+='</tr>\n';
			s+='</table>\n';
			s+='</td></tr>\n';
			s+='<tr vAlign="top"><td align="center">\n';
			s+='<table align="center" width="100%" cellpadding="0" cellspacing="0" border="0" background="images/lt_gray10x10.gif" >\n';
			s+='<tr vAlign="top">\n';
			s+='<td align="center" ><font class=small><b>Working Groups Focus on each of these topics</b></font></td>\n';
			s+='</tr>\n';
			s+='</table>\n';
			s+='</td></tr>\n';
	s+='</table>\n';
	return s;
}

/*Navigation Buttons Module typically for narrow leftt-hand column */
function LHNavButtons() {
	var s = '';



		s+='<table width="100%" cellpadding="1" cellspacing="0" border="0" >\n';
		s+='<tr vAlign="top"><td >\n';

			s+='<table width="100%" cellpadding="1" cellspacing="0" border="0" background="images/dk_grn10x10.gif">\n';
			s+='<tr vAlign="top"><td align="center">\n';
			s+='<table align="center" width="100%" cellpadding="0" cellspacing="0" border="0" background="images/white10x10.gif" onmouseover="background=\'\images/lt_gray10x10.gif\'\"0.gif onmouseout="background=\'\images/white10x10.gif\'\" >\n';
			s+='<tr vAlign="top">\n';
			s+='<td align="center" ><a href="JavaScript:EventsCal()">Calendar of Events</a>&nbsp\;\</td>\n';
			s+='</tr>\n';
			s+='</table>\n';
			s+='</td></tr>\n';
			s+='</table>\n';

		s+='</td></tr>\n';
		s+='<tr vAlign="top"><td align="center">\n';

			s+='<table width="100%" cellpadding="1" cellspacing="0" border="0" background="images/dk_grn10x10.gif">\n';
			s+='<tr vAlign="top"><td align="center">\n';
			s+='<table align="center" width="100%" cellpadding="0" cellspacing="0" border="0" background="images/white10x10.gif" onmouseover="background=\'\images/lt_gray10x10.gif\'\"0.gif onmouseout="background=\'\images/white10x10.gif\'\" >\n';
			s+='<tr vAlign="top">\n';
			s+='<td align="center" ><a href="JavaScript:NewsArchive()">News Archive</a>&nbsp\;\</td>\n';
			s+='</tr>\n';
			s+='</table>\n';
			s+='</td></tr>\n';
			s+='</table>\n';

		s+='</td></tr>\n';
		s+='<tr vAlign="top"><td align="center">\n';

			s+='<table width="100%" cellpadding="1" cellspacing="0" border="0" background="images/dk_grn10x10.gif">\n';
			s+='<!-- <table width="100%" cellpadding="1" cellspacing="0" border="0" background="images/redyel_flash_10x10.gif"> -->\n';
			s+='<tr vAlign="top"><td align="center">\n';
			s+='<table align="center" width="100%" cellpadding="0" cellspacing="0" border="0" background="images/white10x10.gif" onmouseover="background=\'\images/lt_gray10x10.gif\'\"0.gif onmouseout="background=\'\images/white10x10.gif\'\" >\n';
			s+='<tr vAlign="top">\n';
			s+='<td align="center" ><a href="JavaScript:Jobs()">Employment Opportunities</a>&nbsp\;\</td>\n';
			s+='</tr>\n';
			s+='</table>\n';
			s+='</td></tr>\n';
			s+='</table>\n';

		s+='<!-- </td></tr>\n';
		s+='<tr vAlign="top"><td align="center">\n';

			s+='<table width="100%" cellpadding="1" cellspacing="0" border="0" background="images/dk_grn10x10.gif">\n';
			s+='<tr vAlign="top"><td align="center">\n';
			s+='<table align="center" width="100%" cellpadding="0" cellspacing="0" border="0" background="images/white10x10.gif" onmouseover="background=\'\images/lt_gray10x10.gif\'\"0.gif onmouseout="background=\'\images/white10x10.gif\'\" >\n';
			s+='<tr vAlign="top">\n';
			s+='<td align="center" ><a href="JavaScript:tenders()">Requests for Tenders</a>&nbsp\;\</td>\n';
			s+='<td align="center" ><a href="dloads/TENDER_Renovation_Work_Ballymun_Enterprise_Cntr.pdf" target="_new">Requests for Tenders</a>&nbsp\;\</td>\n';
			s+='</tr>\n';
			s+='</table>\n';
			s+='</td></tr>\n';
			s+='</table> -->\n';

		s+='</td></tr>\n';
		s+='<tr vAlign="top"><td align="center">\n';

			s+='<table width="100%" cellpadding="1" cellspacing="0" border="0" background="images/dk_grn10x10.gif">\n';
			s+='<tr vAlign="top"><td align="center">\n';
			s+='<table align="center" width="100%" cellpadding="0" cellspacing="0" border="0" background="images/white10x10.gif" onmouseover="background=\'\images/lt_gray10x10.gif\'\"0.gif onmouseout="background=\'\images/white10x10.gif\'\" >\n';
			s+='<tr vAlign="top">\n';
			s+='<td align="center" ><a href="comm_and_vol_suprts_mnu.html" target="Index" >Supports for Community &amp\;\ Voluntary Sector</a>&nbsp\;\</td>\n';
			s+='</tr>\n';
			s+='</table>\n';
			s+='</td></tr>\n';
			s+='</table>\n';

		s+='</td></tr>\n';
		s+='<tr vAlign="top"><td align="center">\n';

			s+='<table width="100%" cellpadding="1" cellspacing="0" border="0" background="images/dk_grn10x10.gif">\n';
<!--			s+='<table width="100%" cellpadding="1" cellspacing="0" border="0" background="images/redyel_flash_10x10.gif">\n'; -->
			s+='<tr vAlign="top"><td align="center">\n';
			s+='<table align="center" width="100%" cellpadding="0" cellspacing="0" border="0" background="images/white10x10.gif" onmouseover="background=\'\images/lt_gray10x10.gif\'\"0.gif onmouseout="background=\'\images/white10x10.gif\'\" >\n';
			s+='<tr vAlign="top">\n';
			s+='<td align="center" ><a href="skillnet_home.html">Dublin North Skillnet</a>&nbsp\;\</td>\n';
			s+='</tr>\n';
			s+='</table>\n';
			s+='</td></tr>\n';
			s+='</table>\n';

		s+='</td></tr>\n';
		s+='<tr vAlign="top"><td align="center">\n';

			s+='<table width="100%" cellpadding="1" cellspacing="0" border="0" background="images/white10x10.gif">\n';
			s+='<tr vAlign="top"><td align="center">\n';
			s+='<table align="center" width="100%" cellpadding="0" cellspacing="0" border="0" background="images/white10x10.gif">\n';
			s+='<tr vAlign="top">\n';
			s+='<td align="center" >\n';
			s+='<script src="http://www.gmodules.com/ig/ifr?url=http://www.google.com/ig/modules/translatemypage.xml&up_source_language=en&w=150&h=60&title=&border=&output=js">\n';
			s+='</script>\n';
			s+='</td>\n';
			s+='</tr>\n';
			s+='</table>\n';
			s+='</td></tr>\n';
			s+='</table>\n';

		s+='</td ></tr >\n';
		s+='</table >\n';



	return s;
}


/* CreditsMain is Module for landscape credits typically for bottom of page */
function CreditsMain() {
	var s = '';
	s+='<table width="750" border="0" cellspacing="0" cellpadding="0">\n';
	s+='<tr vAlign="middle" ><td align="center" >&nbsp;</td></tr>\n';
	s+='<tr vAlign="middle" >\n';
	s+='<td align="left" rowspan="2" ><img SRC="images/ndp150x60.gif" BORDER="0" height="60" width="150" alt="NDP Logo"></td>\n';
	s+='<td align="center" ><FONT class=small>Ballymun Whitehall Area Partnership is funded by the Irish Government under the  National Development Plan 2007-2013.</FONT></td>\n';
	s+='<td align="right" rowspan="2" ><img src="images/planet160x80.jpg" width="160" height="80" border="0" alt="Planet Logo" ></td>\n';
	s+='</tr>\n';
	s+='<tr vAlign="middle" >\n';
	s+='<td align="center" ><FONT class=small>Ballymun Whitehall Area Partnership is one of a number of area based Partnership Companies who are all members of Planet, the national organisation of Partnership Companies.</FONT></td>\n';
	s+='</tr>\n';
	s+='<tr vAlign="middle" ><td align="center" >&nbsp;</td></tr>\n';
	s+='</table>\n';
	return s;
}

/* CreditsRH is a Module for portrait credits typically for bottom narrow right-hand column */
function CreditsRH() {
	var s = '';
	s+='<table width="100%" cellpadding="0" cellspacing="0" border="0" background="images/white10x10.gif"  >\n';
	s+='<tr vAlign="top"><td align="left" >\n';
	s+='<img src="images/ndp150x60.gif" width="150" height="60" border="0" alt="NDP Logo" >\n';
	s+='</td></tr>\n';
	s+='<tr vAlign="top"><td align="left" >\n';
	s+='<p><font class=small>Ballymun Whitehall Area Partnership is funded by the Irish Government under the  National Development Plan 2007-2013.</font></p>\n';
	s+='</td></tr>\n';
	s+='<tr vAlign="top"><td align="center" >&nbsp;</td></tr>\n';
	s+='<tr vAlign="top"><td >\n';
	s+='<img src="images/planet110x90.gif" width="110" height="90" border="0" alt="Planet Logo" >\n';
	s+='</td></tr>\n';
	s+='<tr vAlign="top"><td align="left" >\n';
	s+='<p><font class=small>Ballymun Whitehall Area Partnership is one of a number of area based Partnership Companies who are all members of Planet, the national organisation of Partnership Companies.</font></p>\n';
	s+='</td></tr>\n';
	s+='</table>\n';
	return s;
}

/* Bottom Navbar */
function BotNavBar() {
	var s = '';
	s+='<table border="0" cellpadding="0" cellspacing="0" width="100%" align="center" >\n';
	s+='	<tr valign="bottom">\n';

	s+='		<td align="right" background="images/white10x10.gif" onmouseover="background=\'\images/lt_gray10x10.gif\'\"0.gif onmouseout="background=\'\images/white10x10.gif\'\" ><A href="index.html">Home</A></td>\n';
	s+='		<td align="left" ><font class=normalyellow>|</font></td>\n';
	s+='		<td align="right" background="images/white10x10.gif" onmouseover="background=\'\images/lt_gray10x10.gif\'\"0.gif onmouseout="background=\'\images/white10x10.gif\'\" ><A href="au_mnu.html">About Us</A></td>\n';
	s+='		<td align="left" ><font class=normalyellow>|</font></td>\n';
	s+='		<td align="right" background="images/white10x10.gif" onmouseover="background=\'\images/lt_gray10x10.gif\'\"0.gif onmouseout="background=\'\images/white10x10.gif\'\" ><A href="ab_mnu.html">About Ballymun</A></td>\n';
	s+='		<td align="left" ><font class=normalyellow>|</font></td>\n';
	s+='		<td align="right" background="images/white10x10.gif" onmouseover="background=\'\images/lt_gray10x10.gif\'\"0.gif onmouseout="background=\'\images/white10x10.gif\'\" ><A href="faq_mnu.html">FAQs</font></A></td>\n';
	s+='		<td align="left" ><font class=normalyellow>|</font></td>\n';
	s+='		<td align="right" background="images/white10x10.gif" onmouseover="background=\'\images/lt_gray10x10.gif\'\"0.gif onmouseout="background=\'\images/white10x10.gif\'\" ><A href="cu_mnu.html">Contact Us</A></td>\n';
	s+='		<td align="left" ><font class=normalyellow>|</font></td>\n';
	s+='	</tr>\n';
	s+='	<tr valign="bottom">\n';
	s+='		<td align="right" background="images/white10x10.gif" onmouseover="background=\'\images/lt_gray10x10.gif\'\"0.gif onmouseout="background=\'\images/white10x10.gif\'\" ><A href="JavaScript:EventsCal()">Calendar Of Events</A></td>\n';
	s+='		<td align="left" ><font class=normalyellow>|</font></td>\n';
	s+='		<td align="right" background="images/white10x10.gif" onmouseover="background=\'\images/lt_gray10x10.gif\'\"0.gif onmouseout="background=\'\images/white10x10.gif\'\" ><A href="dloads/grants_nletter.pdf" target="_new">Grants Available</A></td>\n';
	s+='		<td align="left" ><font class=normalyellow>|</font></td>\n';
	s+='		<td align="right" background="images/white10x10.gif" onmouseover="background=\'\images/lt_gray10x10.gif\'\"0.gif onmouseout="background=\'\images/white10x10.gif\'\" ><A href="pub_mnu.html">Publications</A></td>\n';
	s+='		<td align="left" ><font class=normalyellow>|</font></td>\n';
	s+='		<td align="right" background="images/white10x10.gif" onmouseover="background=\'\images/lt_gray10x10.gif\'\"0.gif onmouseout="background=\'\images/white10x10.gif\'\" ><A href="dloads.html">Downloads</A></td>\n';
	s+='		<td align="left" ><font class=normalyellow>|</font></td>\n';
	s+='		<td align="right" background="images/white10x10.gif" onmouseover="background=\'\images/lt_gray10x10.gif\'\"0.gif onmouseout="background=\'\images/white10x10.gif\'\" ><A href="links.html">Links</A></td>\n';
	s+='		<td align="left" ><font class=normalyellow>|</font></td>\n';
	s+='	</tr>\n';
	s+='</table>\n';

	return s;
}
