<?php header('Content-type: text/html; charset=utf-8'); ?>
<?php
  /* STEP 1: LOAD RECORDS - Copy this PHP code block near the TOP of your page */

  // load viewer library
  $libraryPath = 'cmsAdmin/lib/viewer_functions.php';
  $dirsToCheck = array('/var/www/vhosts/wilmot.ca/httpdocs/','','../','../../','../../../');
  foreach ($dirsToCheck as $dir) { if (@include_once("$dir$libraryPath")) { break; }}
  if (!function_exists('getRecords')) { die("Couldn't load viewer library, check filepath in sourcecode."); }

  // load records
  list($community_linksRecords, $community_linksMetaData) = getRecords(array(
    'tableName'   => 'community_links',
  ));

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="google-site-verification" CONTENT="2CBIxlf625GPtgWnfAv4byaDCH1wHXicIcZZJDbi8nM" />
<TITLE>Community Websites</TITLE>
<LINK HREF="styles2010.css" REL="stylesheet" TYPE="text/css">
<SCRIPT TYPE="text/javascript">
<!--



<!--

function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function changeImages() {
	if (document.images && (preloadFlag == true)) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
}

var preloadFlag = false;
function preloadImages() {
	if (document.images) {
		Home_over = newImage("images/Home-over.gif");
		Services_over = newImage("images/Services-over.gif");
		Departments_over = newImage("images/Departments-over.gif");
		News_over = newImage("images/News-over.gif");
		About_over = newImage("images/About-over.gif");
		Links_over = newImage("images/Links-over.gif");
		Contact_over = newImage("images/Contact-over.gif");
		preloadFlag = true;
	}
}

// -->

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
//-->
</SCRIPT>

<SCRIPT TYPE="text/javascript" SRC="textsizer.js">

/***********************************************
* Document Text Sizer- Copyright 2003 - Taewook Kang.  All rights reserved.
* Coded by: Taewook Kang (http://www.txkang.com)
* This notice must stay intact for use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

</SCRIPT>
<link rel="stylesheet" type="text/css" href="anylinkmenu.css" />

<script type="text/javascript" src="menucontents.js"></script>

<script type="text/javascript" src="anylinkmenu.js">

/***********************************************
* AnyLink JS Drop Down Menu v2.0- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Project Page at http://www.dynamicdrive.com/dynamicindex1/dropmenuindex.htm for full source code
***********************************************/

</script>

<script type="text/javascript">
<!--
//anylinkmenu.init("menu_anchors_class") //Pass in the CSS class of anchor links (that contain a sub menu)
anylinkmenu.init("menuanchorclass")

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
 </HEAD>

<BODY onload="MM_preloadImages('images-nav/Home-over.gif','images-nav/Services-over.gif','images-nav/Departments-over.gif','images-nav/News-over.gif','images-nav/About-over.gif','images-nav/Links-over.gif','images-nav/Contact-over.gif')">
<TABLE WIDTH="962" BORDER="0" ALIGN="CENTER" CELLPADDING="0" CELLSPACING="0" ID="Holding">
  
  <TR>
    <TD COLSPAN="5"><TABLE WIDTH="962" BORDER="0" CELLPADDING="0" CELLSPACING="0" ID="Masthead">
      
      <TR>
        <TD ROWSPAN="3"><A HREF="home.php"><IMG SRC="images2010/logo-wilmot.png" ALT="Building a Sure Foundation" WIDTH="143" HEIGHT="138" BORDER="0"></A></TD>
        <TD><IMG SRC="images2010/single-pixel.gif" WIDTH="18" HEIGHT="32"></TD>
        <TD CLASS="tdRightAlign"><!-- #BeginLibraryItem "/Library/Google Search.lbi" --><!-- Atomz HTML for Search -->
<form method="get" action="http://search.atomz.com/search/">
<input type="hidden" name="sp_a" value="sp10043f50" />
<input  class="inputSearchField" size="31" name="sp_q" />
<input type="submit" value="Search"  class="inputButton" />
<input type="hidden" name="sp_p" value="all" />
<input type="hidden" name="sp_f" value="ISO-8859-1" />
</form><!-- #EndLibraryItem --><SCRIPT TYPE="text/javascript" SRC="http://www.google.com/cse/brand?form=cse-search-box&lang=en"></SCRIPT></TD></TR>
      <TR>
        <TD ROWSPAN="2"><IMG SRC="images2010/single-pixel.gif" WIDTH="18" HEIGHT="85"></TD>
        <TD CLASS="tdMastheadHeadingCell"><A HREF="home.php"><IMG SRC="images2010/masthead-heading.png" ALT="The Corporation of the Township of Wilmot" WIDTH="802" HEIGHT="42" BORDER="0"></A></TD>
      </TR>
      <TR>
        <TD CLASS="tdNavigationGlobalOuter"><?php require_once('_include-navigation.php'); ?></TD>
      </TR>
      
    </TABLE></TD>
  </TR>
  <TR>
    <TD><IMG SRC="images2010/single-pixel.gif" WIDTH="141" HEIGHT="15"></TD>
    <TD><IMG SRC="images2010/single-pixel.gif" WIDTH="20" HEIGHT="10"></TD>
    <TD><IMG SRC="images2010/single-pixel.gif" WIDTH="601" HEIGHT="10"></TD>
    <TD><IMG SRC="images2010/single-pixel.gif" WIDTH="20" HEIGHT="10"></TD>
    <TD><IMG SRC="images2010/single-pixel.gif" WIDTH="180" HEIGHT="10"></TD>
  </TR>
  
  <TR>
    <td><!-- #BeginLibraryItem "/Library/Subnav Links.lbi" -->
<link href="styles2010.css" rel="stylesheet" type="text/css" />
<p class="pSubnavHeading">In this section:</p>
    <p class="pSubnav"><a href="linksDetail.php?Community-Events-1">Community Events </a></p>
    <p class="pSubnav"><a href="links-websites.php">Community Websites </a></p>
    <p class="pSubnav"><a href="linksDetail.php?Other-Links-3">Other Links </a></p>
<!-- #EndLibraryItem --><!-- #BeginLibraryItem "/Library/Buttons.lbi" -->
<link href="styles2010.css" rel="stylesheet" type="text/css" />
<table width="141" border="0" cellpadding="0" cellspacing="0" id="Buttons">
        
        <tr>
          <td><img src="images2010/single-pixel.gif" width="141" height="1" /></td>
        </tr>
        <tr>
          <td class="tdHorizontalRule"><img src="images2010/single-pixel.gif" width="141" height="1" /></td>
        </tr>
        <tr>
          <td><a href="departments-maps.php"><img src="images2010/button-map.gif" width="141" height="21" border="0" /></a></td>
        </tr>
        <tr>
          <td><img src="images2010/single-pixel.gif" width="141" height="5" /></td>
        </tr>
        <tr>
          <td><a href="departments-stats.php"><img src="images2010/button-local.gif" width="141" height="21" border="0" /></a></td>
        </tr>
        <tr>
          <td><img src="images2010/single-pixel.gif" width="141" height="5" /></td>
        </tr>
        <tr>
          <td><a href="_archive/faqs.php"><img src="images2010/button-faqs.gif" width="141" height="21" border="0" /></a></td>
        </tr>
        <tr>
          <td><img src="images2010/single-pixel.gif" width="141" height="5" /></td>
        </tr>
        <tr>
          <td><img src="images2010/button-increase.gif" width="141" height="21" border="0" usemap="#Map" /></td>
        </tr>
        <tr>
          <td><img src="images2010/single-pixel.gif" width="141" height="9" /></td>
        </tr>
        <tr>
          <td class="tdHorizontalRule"><!-- AddThis Button BEGIN -->
            <div align="center"><a class="addthis_button" href="http://www.addthis.com/bookmark.php?v=250&amp;username=xa-4bd1e34e23358cd6"><img src="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" width="125" height="16" alt="Bookmark and Share" style="border:0"/></a>
                <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#username=xa-4bd1e34e23358cd6"></script>
              <!-- AddThis Button END -->
          </div></td>
        </tr>
        <tr>
          <td><span class="tdHorizontalRule"><img src="images2010/single-pixel.gif" width="141" height="15" /></span></td>
        </tr>
</table>

<map name="Map" id="Map">
<area shape="rect" coords="-5,1,23,20" href="javascript:ts('Main Content',-1)" />
<area shape="rect" coords="119,-1,140,20" href="javascript:ts('Main Content',1)" />
</map><!-- #EndLibraryItem --><p class="pSubnav">&nbsp;</p></td>
    <TD>&nbsp;</TD>
    <TD><TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0" ID="Main Content">
      <TR>
        <TD COLSPAN="5"><H1>Community Websites</H1>
          <a name="Top" id="Top"></a><p><a href="#sports">Sports</a><span class="pFooter">&nbsp;  |&nbsp; </span><a href="#worship">Places of Worship</a><span class="pFooter">&nbsp;  |&nbsp; </span><a href="#schools">Schools</a><span class="pFooter">&nbsp;  |&nbsp; </span><a href="#libraries">Libraries</a><span class="pFooter">&nbsp;  |&nbsp; </span><a href="#communitygroups">Community Groups</a><span class="pFooter">&nbsp;  |&nbsp; </span><a href="#newspapers">Newspapers</a><span class="pFooter">&nbsp;  |&nbsp; </span><a href="#tourism">Tourism</a>  </p> </TD>
      </TR>
      <TR>
        <TD COLSPAN="5" class="tdHorizontalRule"><h2><a name="sports" id="sports"></a>Sports</h2>
		  	<?php foreach ($community_linksRecords as $record): ?>
<p><strong><a href="<?php echo $record['content'] ?>"><?php echo $record['title'] ?></a></strong></p>
<?php endforeach ?>
<?php if (!$community_linksRecords): ?>
<?php endif ?><p><a href="#Top">Top</a></p>
</TD>
      </TR>
      <TR>
        <TD COLSPAN="5" class="tdHorizontalRule"><h2><a name="worship" id="worship"></a>Places of Worship </h2>
		  	<?php foreach ($community_linksRecords as $record): ?>
<p><strong><a href="<?php echo $record['content'] ?>"><?php echo $record['title'] ?></a></strong></p>
<?php endforeach ?>
<?php if (!$community_linksRecords): ?>
<?php endif ?><p><a href="#Top">Top</a></p>
</TD>
      </TR>
      <TR>
        <TD COLSPAN="5" class="tdHorizontalRule"><h2><a name="schools" id="schools"></a>Schools</h2>
		  	<?php foreach ($community_linksRecords as $record): ?>
<p><strong><a href="<?php echo $record['content'] ?>"><?php echo $record['title'] ?></a></strong></p>
<?php endforeach ?>
<?php if (!$community_linksRecords): ?>
<?php endif ?><p><a href="#Top">Top</a></p>
</TD>
      </TR>
      <TR>
        <TD COLSPAN="5" class="tdHorizontalRule"><h2><a name="libraries" id="libraries"></a>Libraries</h2>
		  	<?php foreach ($community_linksRecords as $record): ?>
<p><strong><a href="<?php echo $record['content'] ?>"><?php echo $record['title'] ?></a></strong></p>
<?php endforeach ?>
<?php if (!$community_linksRecords): ?>
<?php endif ?><p><a href="#Top">Top</a></p>
</TD>
      </TR>
      <TR>
        <TD COLSPAN="5" class="tdHorizontalRule"><h2><a name="communitygroups" id="communitygroups"></a>Community Groups </h2>
		  	<?php foreach ($community_linksRecords as $record): ?>
<p><strong><a href="<?php echo $record['content'] ?>"><?php echo $record['title'] ?></a></strong></p>
<?php endforeach ?>
<?php if (!$community_linksRecords): ?>
<?php endif ?><p><a href="#Top">Top</a></p>
</TD>
      </TR>
      <TR>
        <TD COLSPAN="5" class="tdHorizontalRule"><h2><a name="newspapers" id="newspapers"></a>Newpapers</h2>
		  	<?php foreach ($community_linksRecords as $record): ?>
<p><strong><a href="<?php echo $record['content'] ?>"><?php echo $record['title'] ?></a></strong></p>
<?php endforeach ?>
<?php if (!$community_linksRecords): ?>
<?php endif ?><p><a href="#Top">Top</a></p>
</TD>
      </TR>
      <TR>
        <TD COLSPAN="5" class="tdHorizontalRule"><h2><a name="tourism" id="tourism"></a>Tourism</h2>
		  	<?php foreach ($community_linksRecords as $record): ?>
<p><strong><a href="<?php echo $record['content'] ?>"><?php echo $record['title'] ?></a></strong></p>
<?php endforeach ?>
<?php if (!$community_linksRecords): ?>
<?php endif ?><p><a href="#Top">Top</a></p>
</TD>
      </TR>
    </TABLE>    </TD>
    <TD>&nbsp;</TD>
    <TD><?php require_once('_include-contact-panel.php'); ?></TD>
  </TR>
  
  <TR>
    <TD COLSPAN="5"><IMG SRC="images2010/single-pixel.gif" WIDTH="100" HEIGHT="5"></TD>
  </TR>
  <tr>
    <td colspan="3" class="tdHorizontalRule"><?php require_once('_include-footer.php'); ?></td>
    <td colspan="2" class="tdHorizontalRule"><p align="right" class="pFooter">&nbsp;</p></td>
  </tr>
  <TR>
    <TD><IMG SRC="images2010/single-pixel.gif" WIDTH="141" HEIGHT="15"></TD>
    <TD><IMG SRC="images2010/single-pixel.gif" WIDTH="20" HEIGHT="10"></TD>
    <TD><IMG SRC="images2010/single-pixel.gif" WIDTH="601" HEIGHT="10"></TD>
    <TD><IMG SRC="images2010/single-pixel.gif" WIDTH="20" HEIGHT="10"></TD>
    <TD><IMG SRC="images2010/single-pixel.gif" WIDTH="180" HEIGHT="10"></TD>
  </TR>
</TABLE>
</BODY>
</HTML>
