function nonMember(n,m,e1,e2) {
	var em='';
	
	if(m=='default'){
		m='<p class="content">Sorry, [n]  is not a member of LPEQ : '+e1+'@'+e2+'</p><p class="content">If you require further information, you may send an e-mail to [n] by clicking [e]</p>';
		em=escape('To whom it may concern: I am attempting to access further information on your listed private equity fund through the www.LPEQ.com website. I am using this site in order to make comparative assessments of your fund\'s shares with those of other listed private equity shares trading in the marketplace today. Could you please supply me with updated comparative data in order that I may do so. Yours sincerely');}
	if(m=='aim'){
		m='<p class="content">Sorry, [n]  is not a member of LPEQ : '+e1+'@'+e2+'</p><p class="content">If you require further information about this AIM-listed fund, you may send an e-mail to [n] by clicking [e]</p>';
		em=escape('To whom it may concern: I am attempting to access further information on your listed private equity fund through the www.LPEQ.com website. I am using this site in order to make comparative assessments of your fund\'s shares with those of other listed private equity shares trading in the marketplace today. Could you please supply me with updated comparative data in order that I may do so. Yours sincerely');}
	if(m=='split'){
		m='<p class="content">Sorry, [n] is not a member of LPEQ : '+e1+'@'+e2+'</p>';
		//m='<p class="content">Some information about this split capital trust is available on www.splitsonline.co.uk</p>';
		m+='<p class="content">If you require further  information on this split capital trust, you may send an e-mail to [n] by clicking [e]</p>';
		em=escape('To whom it may concern: I am attempting to access further information on your Private Equity Investment Trust (PEIT) through the www.LPEQ.com website. I am using this site in order to make comparative assessments of your trust\'s shares with those of other PEIT shares trading in the marketplace today. Could you please supply me with updated comparative data in order that I may do so. Yours sincerely,');}
	em='<a href="mailto:'+e1+'@'+e2+'?subject=LPEQ%20Email&body='+em+'" class="content-link">HERE</a>';
	m=m.replace(/\[e\]/g,em);
	m=m.replace(/\[n\]/g,n);
	
  	var myWin= open("", "nonMemeber","width=350,height=300,status=yes,toolbar=no,menubar=no");

  	// open document for further output
  	myWin.document.open();

  	// create document
	myWin.document.write('<html><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>LPEQ</title><link href="../main.css" rel="stylesheet" type="text/css"></head><body>');
	myWin.document.write('<table width="350px" border="0" cellpadding="0" cellspacing="0"><tr><td width="350" class="content-bold" style="padding-left:5px;padding-right:5px;">Fund notification</td></tr><tr><td style="padding-left:5px;padding-right:5px;"><p class="content_red_hl">');
	myWin.document.write(n);
	myWin.document.write('</p>');
	myWin.document.write(m);
	myWin.document.write('<p class="footer">Please note that by using this link you will not be communicating with LPEQ but with a third party.</p>');
	myWin.document.write('<p class="footer">Accordingly, LPEQ can accept no responsibility for how any information or personal data that is contained in your e-mail is used.</p>');
	myWin.document.write('</td></tr></table></body></html>');

  	// close the document
  	myWin.document.close();
	myWin.focus();
}
function fundGraph(n,g){
  	var myWin= open("", "fundGraph","width=730,height=800,status=yes,toolbar=yes,menubar=yes,scrollbars=yes,resizable=yes");

  	// open document for further output
  	myWin.document.open();

  	// create document
	myWin.document.write('<html><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>LPEQ - ');
	myWin.document.write(n);
	myWin.document.write('</title><link href="../main.css" rel="stylesheet" type="text/css"></head><body>');
	myWin.document.write('<table width="705px"  border="0" cellpadding="0" cellspacing="0">')
	myWin.document.write('<tr><td class="content-bold" style="padding-left:5px;">');
	myWin.document.write(n);
	myWin.document.write('</td><td class="content-bold" align="right" style="padding-right:5px;"><a href="javascript:window.close();" class="content-link">Close window</a></td></tr>');
	myWin.document.write('<tr><td colspan="2" align="left" style="padding-left:5px;"><a href="#disclaimer" class="footer">Disclaimer</a></td></tr>');
	myWin.document.write('<tr><td colspan="2" align="center"><p class="content"><img src="');
	myWin.document.write(g);
	myWin.document.write('" width="705" height="705"></p></td></tr>');
	myWin.document.write('<tr><td colspan="2"><a name="disclaimer"></a><p class="content">The information contained in this document is  for professional investors only. It should not be viewed and used by retail clients.</p>');
	myWin.document.write('<p class="content">Past performance is not a guide to future performance. Stockmarket and currency movements may cause the value of investments and income from them ');
	myWin.document.write('to fall as well as rise and investors may not get back the amount originally invested.</p></td></tr>');
	myWin.document.write('</table></body></html>');

  	// close the document
  	myWin.document.close();
	myWin.focus();
}
function otherGraph(n,g,h,w,src){
  	var myWin= open("", "fundGraph","width="+w+",height="+h+",status=yes,toolbar=yes,menubar=yes");

  	// open document for further output
  	myWin.document.open();

  	// create document
	myWin.document.write('<html><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>LPEQ - ');
	myWin.document.write(n);
	myWin.document.write('</title><link href="../main.css" rel="stylesheet" type="text/css"></head><body>');
	myWin.document.write('<table width="705px"  border="0" cellpadding="0" cellspacing="0"><tr><td><p class="content">');
	myWin.document.write(n);
	myWin.document.write('</p></td><td align="right" style="padding-right:5px;"><p class="content"><a href="javascript:window.close();" class="content-link">Close window</a></p></td>');
	myWin.document.write('</tr><tr><td colspan="2" align="center"><p class="content"><img src="');
	myWin.document.write(g);
	myWin.document.write('"></p></td></tr>');
	if(src=='lpx'){
    	myWin.document.write('<td colspan="2" style="padding-bottom:10px;padding-left:25px"><table width="100%"  border="0" cellspacing="0" cellpadding="0">');
      	myWin.document.write('<tr align="left">');
        myWin.document.write('<td width="16%"><p class="footer"><a href="cgi/link.pl?http://www.lpx.ch/" target="_blank"><img src="../images/lpx_logo.gif" alt="LPX logo" width="120" height="21" border="0"></a></p></td>');
        myWin.document.write('<td width="84%" valign="bottom"><p class="footer">&copy; LPX [2009] &ndash; ALL RIGHTS RESERVED &ndash; produced by <a href="cgi/link.pl?http://www.lpx.ch/" target="_blank" class="footer">LPX Research (www.lpx.ch)</a></p></td>');
      	myWin.document.write('</tr></table></td></tr>');
	}
	
	myWin.document.write('</table></body></html>');

  	// close the document
  	myWin.document.close();
	myWin.focus();
}
function factsheet(src, n,f){
  	var myWin= open("", "fundFS","width=850px,height=650px,status=yes,toolbar=yes,menubar=yes,scrollbars=yes,resizable=yes");

  	// open document for further output
  	myWin.document.open();

  	// create document
	myWin.document.write('<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">\n');
	myWin.document.write('<html><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>LPEQ: ');
	myWin.document.write(n);
	myWin.document.write(' ');
	myWin.document.write(src);
	myWin.document.write(' Factsheet</title><link href="../main.css" rel="stylesheet" type="text/css"></head>\n<body>');
	myWin.document.write('<table width="100%"  border="0" cellspacing="0" cellpadding="0" style="text-align:center;">\n');
	myWin.document.write('<tr><td rowspan="2"><img src="../images/spacer.gif" width="1" height="400"></td><td><p class="content">The information contained in this document is  for professional investors only. It should not be viewed and used by retail clients.</p>\n');
	myWin.document.write('<p class="content">Past performance is not a guide to future performance. Stockmarket and currency movements may cause the value of investments <br>and income from them to fall as well as rise and investors may not get back the amount originally invested.</p>');
	myWin.document.write('</tr><tr><td><iframe height="680px" width="830px" src="');
	myWin.document.write(f);
	myWin.document.write('"><span class="content">[If you see this text, your browser cannot display this document. Click <a href="');
	myWin.document.write(f);
	myWin.document.write('" class="content-link">here</a> to view it separately.]</span></iframe></td></tr><tr><td colspan="2" style="text-align:center">');
	myWin.document.write('<p class="content">If the document does not automatically appear, click <a href="');
	myWin.document.write(f);
	myWin.document.write('" class="content-link">here</a>.</p></td>\n');
	myWin.document.write('</tr></table></body></html>');

  	// close the document
  	myWin.document.close();
	myWin.focus();
}
