<!-- Begin

// NOTE: If you use a ' add a slash before it like this \'

// THESE ARE SIDEBAR OPTIONS YOU CAN TURN ON AND OFF
var showd			= "yes"  	// SHOW THE DATE
var showsearch		= "no"  	// SHOW THE SEARCH
var shownextevent	= "no"		// SHOW THE NEXT EVENT AREA
var showadded		= "yes"		// SHOW THE GALLERY ADDED AREA
var showscroll		= "no"		// SHOW THE SCROLLING IMAGE AREA

var links		    = "no"		// SHOW SAMPLE LINKS IN THE SIDEBAR
var showimage_1		= "no"		// SHOW SIDEBAR IMAGE
var showtitle		= "no"		// SHOW GALLERY TITLE AS TEXT
var showtitleG		= "no"		// SHOW GALLERY TITLE AS IMAGE (sidebar_galleries.gif)
var showthumbs_1	= "no"		// SHOW 1st GROUP OF GALLERY THUMBNAILS
var showthumbs_2	= "no"		// SHOW 2nd GROUP OF GALLERY THUMBNAILS
var showthumbs_3	= "no"		// SHOW 3rd GROUP OF GALLERY THUMBNAILS



// FLASH CHANGER OPTIONS

var showsflash		= "no"		// SHOW FLASH IMAGE CHANGER
var flashwC		= "200"		// WIDTH OF THE FLASH CHANGER
var flashhC		= "133"		// HEIGHT OF THE FLASH CHANGER
var flashborderC	= "999999"	// FLASH CHANGER BORDER COLOR

var movedown		= "15"		// SIDEBAR SPACE FROM TOP




document.write('<img src="http://www.gtcphotography.com/picts/spacer.gif" height="'+movedown+'" width="150"><br>');
document.write('<TABLE cellpadding="1" cellspacing="0" width="100%" border="0" class="smalltext"><tr><td valign="top" align="center">');

// DATE AREA
	if (showd == "yes") {
	
document.write('<fieldset style=" text-align:center; width:214px; padding: 5px;" class="smalltext">');

var d=new Date()
var weekday=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday")
var monthname=new Array("January","February","March","April","May","June","July","August","September","October","November","December")
document.write("<span class=\"date-font\"><nobr>" + weekday[d.getDay()] + " ")
document.write(d.getDate() + " ")
document.write(monthname[d.getMonth()] + " ")
document.write(d.getFullYear())
document.write("</nobr><br></span>")

document.write('</fieldset>');
document.write('<br>');
}
// END DATE AREA



// NEXT EVENT AREA
   if (shownextevent == "yes") {

document.write('<fieldset style=" text-align:center; width:214px; padding: 5px;" class="smalltext"><legend>');
document.write('<span class="subtitle">Upcoming Events</span></legend>');

document.write('<span class="bluetext">15 May: </span><a href="http://www.gtcphotography.com/2011/john_overend_memorial_stages/">John Overend Memorial Stages</a>');
document.write('<br><br>');

document.write('<span class="bluetext">21 May: </span><a href="http://www.gtcphotography.com/2011/jack_neal_memorial_stages/">Jack Neal Memorial Stages</a>');
document.write('<br>');

document.write('</fieldset>');
document.write('<br>');
}
// END NEXT EVENT AREA

// RECENTLY ADDED GALLERIES AREA
   if (showadded == "yes") {

document.write('<fieldset style=" text-align:center; width:214px; padding: 5px;" class="smalltext"><legend>');
document.write('<span class="subtitle">Latest Photos</span></legend>');

document.write('<br><a href="/events/2011/outlaw_triathalon/index.html"><img src="/events/2011/outlaw_triathlon/thumbs/outlaw_triathlon11-3892.jpg" alt="Nottingham Outlaw Triathalon" width="120" height="79"></a>');
document.write('<br><a href="http://www.gtcphotography.com/events/2011/outlaw_triathlon/">Outlaw Triathlon 2011</a>');
document.write('<br><br>');

document.write('</fieldset>');
document.write('<br>');
}
// END RECENTLY ADDED GALLERIES AREA

// SEARCH AREA
	if (showsearch == "yes") {
	
document.write('<fieldset style=" text-align:center; width:214px; padding: 5px;" class="smalltext"><legend>');
document.write('<span class="subtitle">Search</span></legend>');

document.write("<form action=\"http:\/\/www.gtcphotography.com\/results.html\" id=\"cse-search-box\">");

document.write("    <input type=\"hidden\" name=\"cx\" value=\"004334256805803903072:l_wfadpoze8\" \/>");
document.write("    <input type=\"hidden\" name=\"cof\" value=\"FORID:9\" \/>");
document.write("    <input type=\"hidden\" name=\"ie\" value=\"UTF-8\" \/>");
document.write("    <input type=\"text\" name=\"q\" size=\"31\" \/>");
document.write("    <input type=\"submit\" name=\"sa\" value=\"Search\" \/>");

document.write("<\/form>");
document.write("<script type=\"text\/javascript\" src=\"http:\/\/www.google.com\/jsapi\"><\/script>");
document.write("<script type=\"text\/javascript\">google.load(\"elements\", \"1\", {packages: \"transliteration\"});<\/script>");
document.write("<script type=\"text\/javascript\" src=\"http:\/\/www.google.com\/cse\/t13n?form=cse-search-box&t13n_langs=en\"><\/script>");
document.write("<script type=\"text\/javascript\" src=\"http:\/\/www.google.com\/cse\/brand?form=cse-search-box&lang=en\"><\/script>");

}
// END SEARCH AREA

// SCROLLING IMAGES AREA

   if (showscroll == "yes") {

document.write('<fieldset style=" text-align:left; width:214px; padding: 5px;" class="smalltext"><legend>');
document.write('<span class="subtitle">Recently Added Galleries:</span></legend>');

document.write('<iframe id="NewsWindow" src="http://www.gtcphotography.com/scroll_win.htm" width="200" height="350" marginwidth="0" marginheight="0" frameborder="0" scrolling="no" style="border: #000000 1px solid;"></iframe>');

document.write('</fieldset>');
document.write('<br>');
}
// END SCROLLING IMAGES AREA



// FLASH IMAGE CHANGER

   if (showsflash == "yes") {
document.write('<TABLE cellpadding="0" cellspacing="0" border="0" style="border: #'+flashborderC+' 1px solid;"><tr><td>');
document.write('<IFRAME name="FlashFrame" src="http://www.gtcphotography.com/flash/image_changer.htm" width="'+flashwC+'" height="'+flashhC+'" frameborder="0" scrolling="no"></IFRAME><br>');
document.write('</td></tr></table>');
document.write('<br>');
}

// START GALLERY TITLE TEXT

   if (showtitle == "yes") {
document.write('<span class="smalltitle">');
document.write('G A L L E R I E S<br><br>');
document.write('</span>');
}

// START GALLERY TITLE IMAGE

   if (showtitleG == "yes") {
document.write('<img src="picts/sidebar_galleries.gif" alt="GALLERIES LIST"><br>');
}

// START ROW 1 OF THUMBNAILS

   if (showthumbs_1 == "yes") {
document.write('<TABLE cellpadding="0" cellspacing="0" border="0" width="200">');
document.write('<tr><td align="left" width="33%">');
document.write('<a href="mgallery1.htm"><img src="mgallery/gallery1-1.jpg" border="0" width="50" height="50" class="Galborder"></a><br>');
document.write('</td><td align="center" width="33%">');
document.write('<a href="mgallery1.htm"><img src="mgallery/gallery1-2.jpg" border="0" width="50" height="50" class="Galborder"></a><br>');
document.write('</td><td align="right" width="33%">');
document.write('<a href="mgallery1.htm"><img src="mgallery/gallery1-3.jpg" border="0" width="50" height="50" class="Galborder"></a><br>');
document.write('</td></tr></table>');
document.write('<br>');
}

// START ROW 2 OF THUMBNAILS

   if (showthumbs_2 == "yes") {
document.write('<TABLE cellpadding="0" cellspacing="0" border="0" width="200">');
document.write('<tr><td align="left" width="33%">');
document.write('<a href="mgallery1.htm"><img src="mgallery/gallery1-4.jpg" border="0" width="50" height="50" class="Galborder"></a><br>');
document.write('</td><td align="center" width="33%">');
document.write('<a href="mgallery1.htm"><img src="mgallery/gallery1-5.jpg" border="0" width="50" height="50" class="Galborder"></a><br>');
document.write('</td><td align="right" width="33%">');
document.write('<a href="mgallery1.htm"><img src="mgallery/gallery1-6.jpg" border="0" width="50" height="50" class="Galborder"></a><br>');
document.write('</td></tr></table>');
document.write('<br>');
}

// START ROW 3 OF THUMBNAILS

   if (showthumbs_3 == "yes") {
document.write('<TABLE cellpadding="0" cellspacing="0" border="0" width="200">');
document.write('<tr><td align="left" width="33%">');
document.write('<a href="mgallery1.htm"><img src="mgallery/gallery1-7.jpg" border="0" width="50" height="50" class="Galborder"></a><br>');
document.write('</td><td align="center" width="33%">');
document.write('<a href="mgallery1.htm"><img src="mgallery/gallery1-8.jpg" border="0" width="50" height="50" class="Galborder"></a><br>');
document.write('</td><td align="right" width="33%">');
document.write('<a href="mgallery1.htm"><img src="mgallery/gallery1-9.jpg" border="0" width="50" height="50" class="Galborder"></a><br>');
document.write('</td></tr></table>');
document.write('<br>');
}



// END CODE 1


// SIDEBAR IMAGE AREA
   if (showimage_1 == "yes") {
document.write('<IMG SRC="picts/sidebar.jpg" border="0" width="200" height="133" class="borders"><br><br>');
}

// SAMPLE LINKS AREA
   if (links == "yes") {

document.write('<fieldset style=" text-align:left; width:180px; padding: 5px;" class="smalltext"><legend>');
document.write('<span class="subtitle">Latest News:</span></legend>');

document.write('<a href="2007/wolds/index.php">Wolds Rally Added</a><br>');


document.write('</fieldset>');
document.write('<br><br><br>');
}
// SAMPLE LINKS AREA

document.write('</td></tr></table>');
//  End -->
