/* Written by G-Force UK c 1999 - 2005 - Contact designer@gforceuk.net */
/* www.gforceuk.net for professional web design to high standards */
/* NO copy or use of original material by G-Force UK without permission */

/* =======  Write Style Sheet for different Browser ===== */
var isNS = (navigator.appName=="Netscape");
var isIE = (navigator.appName=="Microsoft Internet Explorer");

if (isIE)
{
	document.write("<style type='text/css' media='screen'>@import 'css/2cols_ie.css';</style>");
}
else
{
	document.write("<style type='text/css' media='screen'>@import 'css/2cols_nn.css';</style>");
}



/* =======  bug fix for Netscape 4: reloads styles if Nav4 resized===== */
function DC_reloadPage(init) {  
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.DC_pgW=innerWidth; document.DC_pgH=innerHeight; onresize=DC_reloadPage; }}
else if (innerWidth!=document.DC_pgW || innerHeight!=document.DC_pgH) location.reload();
}
DC_reloadPage(true);

/* ====================================================== */
/* Changes appearance of selected menu item to indicate which page    */
/* is being viewed */
function chgNavBar(item)
{
if(navigator.appName=="Microsoft Internet Explorer")
	{
	navOption = document.anchors(item);
	navOption.style.color ="#5189C6";
	//navOption.style.textDecoration ="underline";
	//navOption.style.backgroundColor ="#2D71BA";
	}
}

/* ====================================================== */
/* Dynamically Write Email so spam spiders do not        */
/*  pick up email or address details */


function writeEmail()
{
	document.write("<nobr>");
	document.write("<a style='font-weight:normal' href='mailto:andrewjamestownsend@yahoo.co.uk'>");
	document.write("andrewjamestownsend");
	document.write("@");
	document.write("yahoo");
	document.write(".co.uk");
	document.write("</a></nobr>");
}

/* ====================================================== */
/* ---------------------------------------------------------- */

function openWindow(strURL)
{
   if (strURL)
   {
      window.open(strURL, "slideshow","status=0,toolbar=0,directories=0,location=0,menubar=0,scrollbars=0,resizable=0,width=604,height=520,top=10,left=10");
     //location.reload(true);
   }
}


/* ====================================================== */