var cnt=0;
var lst = "com";
var ne_t = "ne";
var nte = "";

var nWin
function makeNewWindow(){
 nWin = window.open("","MyWindow","status=no,resizable=yes,width=310,height=320") }

function subWrite(isrc,iname,lmar,tmar) {
var iloc = "i/"+isrc;
 if (cnt == 0) { cnt++; makeNewWindow() }
 if (nWin.closed) { cnt++; makeNewWindow() } 
 nWin.focus()
 var nMsg = "<html><head><meta http-equiv=\"imagetoolbar\" content=\"no\"><title>"+iname+"</title></head>"
 var nMsg = "<html><head><title>"+iname+"</title></head>"
 nMsg += "<body bgcolor='#AACCFF' topmargin="+tmar+" leftmargin="+lmar+">"
 nMsg += "<img src="+iloc+"></body></html>"
 nWin.document.write(nMsg)
 nWin.document.close() }

function newWrite(isrc,iname,x,y) {
var floc = "i/"+isrc;
 if (cnt == 0) { cnt++; makeNewWindow() }
 if (nWin.closed) { cnt++; makeNewWindow() } 
 nWin.focus()
 var lmar = Math.floor((310 - x) / 2);
 var tmar = Math.floor((320 - y) / 2);
 var nMsg = "<html><head><meta http-equiv=\"imagetoolbar\" content=\"no\"><title>"+iname+"</title></head>"
 nMsg += "<body bgcolor='#AACCFF' topmargin="+tmar+" leftmargin="+lmar+">"
 nMsg += "<img src="+floc+"></body></html>"
 nWin.document.write(nMsg)
 nWin.document.close() }

var lhs = "seed";
var lhsps = "__wmstr";
var rhs = "psrseed";
var rhsps = "__psrs";
nte += ne_t + "t";

function show_em() {
document.write("<A HREF=\mai" + "lto");
 if (cnt == -1) { lhs = "rhs"; }
document.write(":" + lhs + "@");
 if (cnt == -1) { rhs = "lhs"; }
document.write(rhs + "." + lst + "\>" + lhs + "@" + rhs + "." + lst + "<\/a>"); 
cnt++; }

function show_em2() {
document.write("<A HREF=\mai" + "lto");
 if (cnt == -1) { lhs = "rhs"; }
document.write(":" + lhsps + "@");
 if (cnt == -1) { rhs = "lhs"; }
document.write(rhsps + "." + lst + "\>" + lhsps + "@" + rhsps + "." + lst + "<\/a>"); 
cnt++; }
