//...........................................................................
// by LSD^

var vv = "\x1a\x5a";
vv = String.fromCharCode(vv.charCodeAt(0) ^ vv.charCodeAt(1))

function openwin(wnd, w, h)
{
	lnk = "/_win/"+wnd+".html";
	winPos = (navigator.appName.indexOf("Microsoft")>=0) ? ',left=70,top=50' : ',screenX=70,screenY=50';
	win = window.open(lnk, wnd, config='toolbar=0,resizable=0,scrollbars=0,height='+h+',width='+w+winPos);
	win.focus();
}

function mfn(md, ml)
{
	return escape(ml + vv + md);
}

function sw_md(obj, val)
{
	if (obj.value == val) obj.value = "";
}

