function createETFForm()
{
	var siteRoot = "http://www.jse.co.za/common/"	
	var mainArea = document.getElementById("right");
	var the_h1s = mainArea.getElementsByTagName("h1");
	var thePageHeader = the_h1s[0].innerHTML;
	

	myWin = window.open('','winName','width=400,height=375');
	myWin.document.open();
	myWin.document.writeln("<html>")
	myWin.document.writeln("<head>")
	myWin.document.writeln("<title>Mail A Friend</title>")
	myWin.document.writeln("<link href=\""+siteRoot+"css/mail_friend.css\" rel=\"stylesheet\" type=\"text/css\">")
	myWin.document.writeln("<script type=\"text/javascript\" src=\""+siteRoot+"js/validEmail.js\"></script>")
	myWin.document.writeln("</head>")
	myWin.document.writeln("<body>")
	myWin.document.writeln("<table width=\"385\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">")
	myWin.document.writeln("  <tr>")
	myWin.document.writeln("    <td colspan=\"3\" class=\"pageTop\">&nbsp;</td>")
	myWin.document.writeln("  </tr>")
	myWin.document.writeln("  <tr>")
	myWin.document.writeln("    <td class=\"midLHS\">&nbsp;</td>")
	myWin.document.writeln("    <td valign=\"top\" class=\"formArea\"><form name=\"etfForm\" method=\"post\" onSubmit=\"return ValidateForm()\" action=\""+siteRoot+"jsp/submitETF.jsp\">")
	myWin.document.writeln("      <table width=\"95%\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">")
	myWin.document.writeln("        <tr>")
	myWin.document.writeln("          <td colspan=\"2\"><h1>Email to a friend </h1></td>")
	myWin.document.writeln("        </tr>")
	myWin.document.writeln("        <tr>")
	myWin.document.writeln("          <td colspan=\"2\"><h2>Page/Article: "+thePageHeader+" </h2></td>")
	myWin.document.writeln("          </tr>")
	myWin.document.writeln("        <tr>")
	myWin.document.writeln("          <td width=\"40%\">Your name: </td>")
	myWin.document.writeln("          <td width=\"60%\"><input name=\"fromName\" type=\"text\" id=\"fromName\"></td>")
	myWin.document.writeln("        </tr>")
	myWin.document.writeln("        <tr>")
	myWin.document.writeln("          <td width=\"40%\">Your email: </td>")
	myWin.document.writeln("          <td width=\"60%\"><input name=\"fromAdd\" type=\"text\" id=\"fromAdd\"></td>")
	myWin.document.writeln("        </tr>")
	myWin.document.writeln("        <tr>")
	myWin.document.writeln("          <td width=\"40%\">Friend's name: </td>")
	myWin.document.writeln("          <td width=\"60%\"><input name=\"toName\" type=\"text\" id=\"toName\"></td>")
	myWin.document.writeln("        </tr>")
	myWin.document.writeln("        <tr>")
	myWin.document.writeln("          <td width=\"40%\">Friends email: </td>")
	myWin.document.writeln("          <td width=\"60%\"><input name=\"toAdd\" type=\"text\" id=\"toAdd\"></td>")
	myWin.document.writeln("        </tr>")
	myWin.document.writeln("        <tr>")
	myWin.document.writeln("          <td width=\"40%\" valign=\"top\">comments:</td>")
	myWin.document.writeln("          <td width=\"60%\"><textarea name=\"comments\"></textarea></td>")
	myWin.document.writeln("        </tr>")
	myWin.document.writeln("        <tr>")
	myWin.document.writeln("          <td colspan=\"2\" align=\"right\" class=\"formAreabtm\"> ")
	myWin.document.writeln("		  	<input name=\"header\" type=\"hidden\" id=\"header\" value=\""+thePageHeader+"\">")
	myWin.document.writeln("            <input name=\"theURL\" type=\"hidden\" value=\""+window.location+"\">")
	myWin.document.writeln("            <input name=\"submit\" type=\"submit\" class=\"searchbutton\" id=\"submit\" value=\"Submit\">          </td></tr>")
	myWin.document.writeln("      </table>")
	myWin.document.writeln("        </form>")
	myWin.document.writeln("    </td>")
	myWin.document.writeln("    <td class=\"midRHS\">&nbsp;</td>")
	myWin.document.writeln("  </tr>")
	myWin.document.writeln("  <tr>")
	myWin.document.writeln("    <td colspan=\"3\" class=\"pageBtm\">&nbsp;</td>")
	myWin.document.writeln("  </tr>")
	myWin.document.writeln("</table>")
	myWin.document.writeln("</body>")
	myWin.document.writeln("</html>")
	myWin.document.close();
//	alert("this");
}
