if ( top != self ) { 
        top.location = location;
}

if (document.images) {
	homeon = new Image();
	homeon.src = "img/nav/homeon.gif";
	homeoff = new Image();
	homeoff.src = "img/nav/homeoff.gif";
	newson = new Image();
	newson.src = "img/nav/newson.gif";
	newsoff = new Image();
	newsoff.src = "img/nav/newsoff.gif";
	abouton = new Image();
	abouton.src = "img/nav/abouton.gif";
	aboutoff = new Image();
	aboutoff.src = "img/nav/aboutoff.gif";
	eventson = new Image();
	eventson.src = "img/nav/eventson.gif";
	eventsoff = new Image();
	eventsoff.src = "img/nav/eventsoff.gif";
	memberson = new Image();
	memberson.src = "img/nav/memberson.gif";
	membersoff = new Image();
	membersoff.src = "img/nav/membersoff.gif";
	joinon = new Image();
	joinon.src = "img/nav/joinon.gif";
	joinoff = new Image();
	joinoff.src = "img/nav/joinoff.gif";
	forumon = new Image();
	forumon.src = "img/nav/forumon.gif";
	forumoff = new Image();
	forumoff.src = "img/nav/forumoff.gif";
	downloadson = new Image();
	downloadson.src = "img/nav/downloadson.gif";
	downloadsoff = new Image();
	downloadsoff.src = "img/nav/downloadsoff.gif";
	whitepaperson = new Image();
	whitepaperson.src = "img/nav/whitepaperson.gif";
	whitepapersoff = new Image();
	whitepapersoff.src = "img/nav/whitepapersoff.gif";
	faqon = new Image();
	faqon.src = "img/nav/faqon.gif";
	faqoff = new Image();
	faqoff.src = "img/nav/faqoff.gif";
	scriptson = new Image();
	scriptson.src = "img/nav/scriptson.gif";
	scriptsoff = new Image();
	scriptsoff.src = "img/nav/scriptsoff.gif";
	contacton = new Image();
	contacton.src = "img/nav/contacton.gif";
	contactoff = new Image();
	contactoff.src = "img/nav/contactoff.gif";
	linkson = new Image();
	linkson.src = "img/nav/linkson.gif";
	linksoff = new Image();
	linksoff.src = "img/nav/linksoff.gif";
}
function activate(image_name) {
	if (document.images) {
	    document[image_name].src = eval(image_name + "on.src");
	}
}
function deactivate(image_name) {
	if (document.images) {
	    document[image_name].src = eval(image_name + "off.src");
	}
}

function writeNav() {
	var nav='<table width="100%"  border="0" cellspacing="0" cellpadding="0">'+
      '<tr>'+
	  	'<td style="width:72px">&nbsp;</td>'+
        '<td><img src="img/nav/shadow.gif" width="33" height="43"></td>'+
        '<td><a href="index.html"><img src="img/nav/homeoff.gif" width="55" height="43" border="0" name="home" onMouseOver="activate(\'home\')" onMouseOut="deactivate(\'home\')"></a></td>'+
		'<td><a href="news.html"><img src="img/nav/newsoff.gif" width="55" height="43" border="0" name="news" onMouseOver="activate(\'news\')" onMouseOut="deactivate(\'news\')"></a></td>'+
        '<td><a href="about.html"><img src="img/nav/aboutoff.gif" width="55" height="43" border="0" name="about" onMouseOver="activate(\'about\')" onMouseOut="deactivate(\'about\')"></a></td>'+
		'<td><a href="events.html"><img src="img/nav/eventsoff.gif" width="61" height="43" border="0" name="events" onMouseOver="activate(\'events\')" onMouseOut="deactivate(\'events\')"></a></td>'+
        '<td><a href="members.html"><img src="img/nav/membersoff.gif" width="74" height="43" border="0" name="members" onMouseOver="activate(\'members\')" onMouseOut="deactivate(\'members\')"></a></td>'+
        '<td><a href="join.html"><img src="img/nav/joinoff.gif" width="45" height="43" border="0" name="join" onMouseOver="activate(\'join\')" onMouseOut="deactivate(\'join\')"></a></td>'+
        '<td><a href="http://www.fsgrid.com/forum"><img src="img/nav/forumoff.gif" width="58" height="43" border="0" name="forum" onMouseOver="activate(\'forum\')" onMouseOut="deactivate(\'forum\')"></a></td>'+
        '<td><a href="http://www.fsgrid.com/kb"><img src="img/nav/faqoff.gif" width="47" height="43" border="0" name="faq" onMouseOver="activate(\'faq\')" onMouseOut="deactivate(\'faq\')"></a></td>'+
        '<td><a href="downloads.html"><img src="img/nav/downloadsoff.gif" width="84" height="43" border="0" name="downloads" onMouseOver="activate(\'downloads\')" onMouseOut="deactivate(\'downloads\')"></a></td>'+
		'<td><a href="scripts.html"><img src="img/nav/scriptsoff.gif" width="59" height="43" border="0" name="scripts" onMouseOver="activate(\'scripts\')" onMouseOut="deactivate(\'scripts\')"></a></td>'+
		'<td><a href="whitepapers.html"><img src="img/nav/whitepapersoff.gif" width="94" height="43" border="0" name="whitepapers" onMouseOver="activate(\'whitepapers\')" onMouseOut="deactivate(\'whitepapers\')"></a></td>'+
		'<td><a href="contact.html"><img src="img/nav/contactoff.gif" width="66" height="43" border="0" name="contact" onMouseOver="activate(\'contact\')" onMouseOut="deactivate(\'contact\')"></a></td>'+
		'<td><a href="links.html"><img src="img/nav/linksoff.gif" width="50" height="43" border="0" name="links" onMouseOver="activate(\'links\')" onMouseOut="deactivate(\'links\')"></a></td>'+
      '</tr>'+
    '</table>';
	document.write(nav);
}
function writeFooter() {
	var footer = '<tr>'+
    '<td colspan="3" class="footerbg"><table width="100%" border="0" cellspacing="0" cellpadding="0">'+
      '<tr>'+
       '<td rowspan="2" style="width:270px; text-align:right"><img src="img/grid.gif" width="150" height="125"></td>'+
		'<td style="height:123px; vertical-align:top"><img src="img/top.gif" width="78" height="35" border="0" usemap="#Map4"></td>'+
		'<td>&nbsp;</td>'+
        '</tr>'+
      '<tr>'+
        '<td style="text-align:center" class="footertxt">'+
			'<a href="index.html" class="footerlink">Home</a> | '+
			'<a href="news.html" class="footerlink">News</a> | '+
			'<a href="about.html" class="footerlink">About</a> | '+ 
			'<a href="events.html" class="footerlink">Events</a> | '+
			'<a href="members.html" class="footerlink">Members</a> | '+
			'<a href="join.html" class="footerlink">Join</a> | '+
			'<a href="http://www.fsgrid.com/forum/" class="footerlink">Forum</a> | '+
			'<a href="http://www.fsgrid.com/kb/" class="footerlink">FAQ</a> <br> '+
			'<a href="downloads.html" class="footerlink">Downloads</a> | '+
			'<a href="scripts.html" class="footerlink">Scripts</a> | '+
			'<a href="whitepapers.html" class="footerlink">White Papers</a> | '+
			'<a href="contact.html" class="footerlink">Contact</a> | '+
			'<a href="links.html" class="footerlink">Links</a><br>'+
			'Copyright &copy; 2009 Financial Services Grid Initiative</td>'+
        '<td style="width:180px"><a href="index.html"><img src="img/fsgi.gif" width="85" height="28" border="0"></a></td>'+
      '</tr>'+
    '</table></td>'+
  '</tr>'+
  '<tr>'+
    '<td colspan="3"><img src="img/bottom.jpg" width="986" height="158"></td>'+
  '</tr>';      
	document.write(footer);
}
function writeFooterSub() {
	var footersub = '<tr>'+
    '<td colspan="3" class="footerbgsub"><table width="100%" border="0" cellspacing="0" cellpadding="0">'+
      '<tr>'+
       '<td rowspan="2" style="width:270px; text-align:right"><img src="img/grid.gif" width="150" height="125"></td>'+
		'<td style="height:123px; vertical-align:top"><img src="img/top.gif" width="78" height="35" border="0" usemap="#Map4"></td>'+
		'<td>&nbsp;</td>'+
        '</tr>'+
      '<tr>'+
        '<td style="text-align:center" class="footertxt">'+
			'<a href="index.html" class="footerlink">Home</a> | '+
			'<a href="news.html" class="footerlink">News</a> | '+
			'<a href="about.html" class="footerlink">About</a> | '+ 
			'<a href="events.html" class="footerlink">Events</a> | '+
			'<a href="members.html" class="footerlink">Members</a> | '+
			'<a href="join.html" class="footerlink">Join</a> | '+
			'<a href="http://www.fsgrid.com/forum/" class="footerlink">Forum</a> | '+
			'<a href="http://www.fsgrid.com/kb/" class="footerlink">FAQ</a> <br> '+
			'<a href="downloads.html" class="footerlink">Downloads</a> | '+
			'<a href="scripts.html" class="footerlink">Scripts</a> | '+
			'<a href="whitepapers.html" class="footerlink">White Papers</a> | '+
			'<a href="contact.html" class="footerlink">Contact</a> | '+
			'<a href="links.html" class="footerlink">Links</a><br>'+
			'Copyright &copy; 2009 Financial Services Grid Initiative</td>'+
        '<td style="width:180px"><a href="index.html"><img src="img/fsgi.gif" width="85" height="28" border="0"></a></td>'+
      '</tr>'+
    '</table></td>'+
  '</tr>'+
  '<tr>'+
    '<td colspan="3"><img src="img/bottom.jpg" width="986" height="158"></td>'+
  '</tr>';      
	document.write(footersub);
}

function writeShortRightSection() {
var shortrightsection = '<table width="100%"  border="0" cellspacing="0" cellpadding="0">'+
              '<tr>'+
                '<td colspan="5" style="width:5px"><img src="img/press.gif" width="208" height="57"></td>'+
              '</tr>'+
              '<tr>'+
                '<td style="width:5px"><img src="img/spacer.gif" width="5" height="1"></td>'+
                '<td style="width:1px"><img src="img/spacer.gif" width="1" height="1"></td>'+
                '<td style="width:180px; text-align:center" class="pressarea">'+
				'<table width="92%" border="0" cellspacing="0" cellpadding="0" align="center">'+
                    '<tr>'+
                      '<td style="width:15px; text-align:left; vertical-align:top"><img src="img/pressbullet.gif" width="15" height="10"></td>'+
                      '<td class="presstxt">The Financial Services Grid <br>'+
                        'Initiative Launched<br>'+
                        '11th May 2007</td>'+
                    '</tr>'+
                    '<tr>'+
                      '<td>&nbsp;</td>'+
                      '<td class="presstxt"><a href="pdf/fsgrid_press.pdf" class="presslink">Download the PDF</a> <a href="pdf/fsgrid_press.pdf" class="presslink"><img src="img/pdf.gif" width="16" height="16" align="absmiddle" border="0"></a></td>'+
                    '</tr>'+
                    '<tr>'+
                      '<td>&nbsp;</td>'+
                      '<td><img src="img/pressline.gif" width="148" height="3"></td>'+
                    '</tr>'+
                    '<tr>'+
                      '<td style="text-align:left; vertical-align:top"><img src="img/pressbullet.gif" width="15" height="10"></td>'+
                      '<td class="presstxt">The Financial Services Grid <br>'+
                        'Initiative Introduction</td>'+
                    '</tr>'+
                    '<tr>'+
                      '<td>&nbsp;</td>'+
                      '<td class="presstxt"><a href="pdf/fsgrid_intro.pdf" class="presslink">Download the PDF</a> <a href="pdf/fsgrid_intro.pdf" class="presslink"><img src="img/pdf.gif" width="16" height="16" align="absmiddle" border="0"></a></td>'+
                    '</tr>'+
                    '<tr>'+
                      '<td>&nbsp;</td>'+
                      '<td><img src="img/pressline.gif" width="148" height="3"></td>'+
                    '</tr>'+
                    '<tr>'+
                      '<td colspan="2"><a href="http://www.fsgrid.com/forum/"><br>'+
                        '<img src="img/advertforum.jpg" width="168" height="170" border="0"></a></td>'+
                    '</tr>'+
                  '</table></td>'+
                '<td style="width:1px"><img src="img/spacer.gif" width="1" height="1"></td>'+
                '<td style="width:20px">&nbsp;</td>'+
              '</tr>'+
            '</table>';
			document.write(shortrightsection);
}
function writeMidRightSection() {
var midrightsection = '<table width="100%"  border="0" cellspacing="0" cellpadding="0">'+
              '<tr>'+
                '<td colspan="5" style="width:5px"><img src="img/press.gif" width="208" height="57"></td>'+
              '</tr>'+
              '<tr>'+
                '<td style="width:5px"><img src="img/spacer.gif" width="5" height="1"></td>'+
                '<td style="width:1px"><img src="img/spacer.gif" width="1" height="1"></td>'+
                '<td style="width:180px; text-align:center" class="pressarea">'+
				'<table width="92%" border="0" cellspacing="0" cellpadding="0" align="center">'+
                    '<tr>'+
                      '<td style="width:15px; text-align:left; vertical-align:top"><img src="img/pressbullet.gif" width="15" height="10"></td>'+
                      '<td class="presstxt">The Financial Services Grid <br>'+
                        'Initiative Launched<br>'+
                        '11th May 2007</td>'+
                    '</tr>'+
                    '<tr>'+
                      '<td>&nbsp;</td>'+
                      '<td class="presstxt"><a href="pdf/fsgrid_press.pdf" class="presslink">Download the PDF</a> <a href="pdf/fsgrid_press.pdf" class="presslink"><img src="img/pdf.gif" width="16" height="16" align="absmiddle" border="0"></a></td>'+
                    '</tr>'+
                    '<tr>'+
                      '<td>&nbsp;</td>'+
                      '<td><img src="img/pressline.gif" width="148" height="3"></td>'+
                    '</tr>'+
                    '<tr>'+
                      '<td style="text-align:left; vertical-align:top"><img src="img/pressbullet.gif" width="15" height="10"></td>'+
                      '<td class="presstxt">The Financial Services Grid <br>'+
                        'Initiative Introduction</td>'+
                    '</tr>'+
                    '<tr>'+
                      '<td>&nbsp;</td>'+
                      '<td class="presstxt"><a href="pdf/fsgrid_intro.pdf" class="presslink">Download the PDF</a> <a href="pdf/fsgrid_intro.pdf" class="presslink"><img src="img/pdf.gif" width="16" height="16" align="absmiddle" border="0"></a></td>'+
                    '</tr>'+
                    '<tr>'+
                      '<td>&nbsp;</td>'+
                      '<td><img src="img/pressline.gif" width="148" height="3"></td>'+
                    '</tr>'+
                    '<tr>'+
                      '<td colspan="2"><a href="http://www.fsgrid.com/forum/"><br>'+
                        '<img src="img/advertforum.jpg" width="168" height="170" border="0"></a><br>'+
                      '<a href="join.html"><img src="img/advertjoin.jpg" width="168" height="170" border="0"></a></td>'+
                    '</tr>'+
                  '</table></td>'+
                '<td style="width:1px"><img src="img/spacer.gif" width="1" height="1"></td>'+
                '<td style="width:20px">&nbsp;</td>'+
              '</tr>'+
            '</table>';
			document.write(midrightsection);
}

function writeLongRightSection() {
var longrightsection = '<table width="100%"  border="0" cellspacing="0" cellpadding="0">'+
              '<tr>'+
                '<td colspan="5" style="width:5px"><img src="img/press.gif" width="208" height="57"></td>'+
              '</tr>'+
              '<tr>'+
                '<td style="width:5px"><img src="img/spacer.gif" width="5" height="1"></td>'+
                '<td style="width:1px"><img src="img/spacer.gif" width="1" height="1"></td>'+
                '<td style="width:180px; text-align:center" class="pressarea">'+
				'<table width="92%" border="0" cellspacing="0" cellpadding="0" align="center">'+
                    '<tr>'+
                      '<td style="width:15px; text-align:left; vertical-align:top"><img src="img/pressbullet.gif" width="15" height="10"></td>'+
                      '<td class="presstxt">The Financial Services Grid <br>'+
                        'Initiative Launched<br>'+
                        '11th May 2007</td>'+
                    '</tr>'+
                    '<tr>'+
                      '<td>&nbsp;</td>'+
                      '<td class="presstxt"><a href="pdf/fsgrid_press.pdf" class="presslink">Download the PDF</a> <a href="pdf/fsgrid_press.pdf" class="presslink"><img src="img/pdf.gif" width="16" height="16" align="absmiddle" border="0"></a></td>'+
                    '</tr>'+
                    '<tr>'+
                      '<td>&nbsp;</td>'+
                      '<td><img src="img/pressline.gif" width="148" height="3"></td>'+
                    '</tr>'+
                    '<tr>'+
                      '<td style="text-align:left; vertical-align:top"><img src="img/pressbullet.gif" width="15" height="10"></td>'+
                      '<td class="presstxt">The Financial Services Grid <br>'+
                        'Initiative Introduction</td>'+
                    '</tr>'+
                    '<tr>'+
                      '<td>&nbsp;</td>'+
                      '<td class="presstxt"><a href="pdf/fsgrid_intro.pdf" class="presslink">Download the PDF</a> <a href="pdf/fsgrid_intro.pdf" class="presslink"><img src="img/pdf.gif" width="16" height="16" align="absmiddle" border="0"></a></td>'+
                    '</tr>'+
                    '<tr>'+
                      '<td>&nbsp;</td>'+
                      '<td><img src="img/pressline.gif" width="148" height="3"></td>'+
                    '</tr>'+
                    '<tr>'+
                      '<td colspan="2"><a href="http://www.fsgrid.com/forum/"><br>'+
                        '<img src="img/advertforum.jpg" width="168" height="170" border="0"></a><br>'+
                      '<a href="join.html"><img src="img/advertjoin.jpg" width="168" height="170" border="0"></a><br>'+
					  '<a href="scripts.html"><img src="img/advertscript.jpg" width="168" height="170" border="0"></a></td>'+
                    '</tr>'+
                  '</table></td>'+
                '<td style="width:1px"><img src="img/spacer.gif" width="1" height="1"></td>'+
                '<td style="width:20px">&nbsp;</td>'+
              '</tr>'+
            '</table>';
			document.write(longrightsection);
}
function writeMembers() {
	document.write('<table width="100%" border="0" cellspacing="1" cellpadding="2">');
	var memberslist=[ //Name,URL,Image,Alt,Image width
					 ["Amiwill","http://www.amiwill.co.uk","img/spacer.gif","","1"],
					 ["Co-operative Insurance","http://www.co-operativeinsurance.co.uk","img/spacer.gif","","1"],
					 ["Cordys","http://www.cordys.com/cordyscms_com/insurance.php","img/spacer.gif","","1"],
					 ["Corporate Modelling","http://www.corporatemodelling.com","img/founder.png","Founder Member","12"],
					 ["CPP Group","http://www.cpp.co.uk","img/spacer.gif","","1"],
					 ["Dell","http://www.dell.com","img/founder.png","Founder Member","12"],
					 ["Equitable Life & Casualty","http://www.equilife.com","img/spacer.gif","","1"],
					 ["Exaxe","http://www.exaxe.com","img/spacer.gif","","1"],
					 ["Gamcom","http://www.gamcom.com","img/spacer.gif","","1"],
					 ["Grid Computing Now!","http://www.gridcomputingnow.org","img/spacer.gif","","1"],
					 ["Liberata","http://www.liberata.com","img/spacer.gif","","1"],
					 ["Lloyds TSB","http://www.lloydstsb.com","img/spacer.gif","","1"],
					 ["Medici","http://www.medicipartners.com","img/spacer.gif","","1"],
					 ["Mellanox","http://www.mellanox.com","img/spacer.gif","","1"],
					 ["Micro Focus","http://www.microfocus.com","img/spacer.gif","","1"],
					 ["Microsoft","http://www.microsoft.com","img/founder.png","Founder Member","12"],
					 ["No1 Currency","http://www.no1currency.com","img/spacer.gif","","1"],
					 ["OAC Actuaries and Consultants","http://www.oacplc.com","img/spacer.gif","","1"],
					 ["RemObjects Software","http://www.remobjects.com","img/spacer.gif","","1"],
					 ["Risual","http://www.risual.com","img/founder.png","Founder Member","12"],
					 ["Stratus","http://www.stratus.com","img/spacer.gif","","1"],
					 ["The Life & Annuity Group","http://www.tlagconsulting.com","img/spacer.gif","","1"],
					 ["The Royal Bank of Scotland","http://www.rbs.com","img/spacer.gif","","1"],
					 ["RSD Associates","http://www.rsd-associates.com","img/spacer.gif","","1"],
					 ["Towers Perrin","http://www.towersperrin.com","img/spacer.gif","","1"],
					 ["UnRisk","http://www.unrisk.com","img/spacer.gif","","1"],
					 ["Windows In Financial Services","http://www.windowsfs.com","img/spacer.gif","","1"],
					 ["Xena Health","http://www.xena-health.com","img/spacer.gif","","1"]
					 ];
	for (var i=0; i <= memberslist.length-1; i++) {
		if (i%2 == 0) {
			document.write('<tr class="altrowbg"><td><img src="img/introbullet.gif" width="15" height="10"><a href="'+memberslist[i][1]+'" class="introlink" target="_blank">'+memberslist[i][0]+'</a>&nbsp;<img src="'+memberslist[i][2]+'" width="'+memberslist[i][4]+'" height="'+memberslist[i][4]+'" align="absmiddle" alt="'+memberslist[i][3]+'"></td></tr>');
			}
		else {
			document.write('<tr><td><img src="img/introbullet.gif" width="15" height="10"><a href="'+memberslist[i][1]+'" class="introlink" target="_blank">'+memberslist[i][0]+'</a>&nbsp;<img src="'+memberslist[i][2]+'" width="'+memberslist[i][4]+'" height="'+memberslist[i][4]+'" align="absmiddle" alt="'+memberslist[i][3]+'"></td></tr>');
			}
	}
	document.write('</table>');
}