﻿document.write('<table cellpadding="0" cellspacing="0" border="0" width="100%" class="imagetable">');
document.write('<tr><td>');
document.write('<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr>');

document.write('<td class="white" width="0">');
document.write('<img src="picts/spacer.gif" border="0" width="0" height="125" alt="Image"><br>');
document.write('</td>');

//*********************************************************************************************************************************************************/
/* The following code determines which banner image to display in the page which is invoking picturetable.js                
/* Use of a non-default banner is determined by the 1st 2 or 3 characters of the page's html filename.
/* 2- and 3-character prefixes are reserved for specific sets of page filenames which require non-default banner images.
/*
/* sPage is set to the page's html filename. 
/* sPrefix2 is set to the 1st 2 characters of the page's html filename.
/* sPrefix3 is set to the 1st 3 characters of the page's html filename.
/* The variable, sDefault, is initialized to "yes", and changed to "no" if a non-default banner image is to be used.

/* sPrefix2 and/or sPrefix3 are checked for a match against each filename prefix. When a match is found, the corresponding banner image is displayed,
/*   and sDefault is set to "No" to prevent the default banner being displayed.
/* If no matches are found, sDefault remains at its initial value of "yes", and the default banner is displayed.
/*
/* RJT. January 2010.
/*********************************************************************************************************************************************************/
var sPath = window.location.pathname;
var sPage = sPath.substring(sPath.lastIndexOf('/') + 1);
var sPrefix2 = sPage.substring(0,2);
var sPrefix3 = sPage.substring(0,3);
var sPrefix6 = sPage.substring(0,6);
var sDefault = "yes";
/*alert(sPrefix2);*/
document.write('<td  class="white" width="1024">');
/*
if (sPrefix2 == "Co")
	{
	document.write('<img src="images/111399a.jpg" border="0" width="100%" height="125" alt="Image"><br>');
	sDefault = "no";
	}
*/	
if (sPrefix6 == "jhslfc")
	{
	document.write('<img src="images/jhs-logo-test.png" border="0" width="100%" height="125" alt="Image"><br>');
	sDefault = "no";
	}
if (sDefault == "yes")
	{
	document.write('<img src="images/banner-main.png" border="0" width="100%" height="125" alt="Image"><br>');
	}
document.write('</td>');
document.write('<td align="right" width="0">');
document.write('</td>');
document.write('</tr></table>');
document.write('</td></tr></table>');
