function resT()
{
	if ( document.forms )
	{
	var e = document.fm.message;
	e.focus();
	return;
	}
	else { return false; }
}

function clrT()
{
	if ( document.forms )
	{
	var e = document.fm.message;
	e.value = " ";
	e.focus();
	return;
	}
	else { return false; }
}


function privB()
{
	if (document.documentElement)
	{
	document.write("<p class\=\"c6\" style\=\"margin-top\:0\;\">");
	document.write("<span class\=\"eg\"><span class\=\"link\"  ");
	document.write("onclick\=\"privC\(\)\;\" onkeypress\=\"privC\(\)\;\">");
	document.write("Promise of Privacy<\/span><\/span><\/p>");
	return;
	}
	else { return false; }
}

function privC()
{
	if (document.documentElement)
	{
	document.getElementById('announcement').style.visibility='hidden';
	document.getElementById("note").style.display="block";
	location.href='#startNt';
	return;
	}
	else { return false; }
}

function privD()
{
	if (document.documentElement)
	{
	document.write("<p class\=\"c6\">");
	document.write("\x5B<a class\=\"trans\" href\=\"javascript\:void\(0\)\;\" ");
	document.write("onclick\=\"privE\(\)\;return false\;\" onkeypress\=\"privE\(\)\;return false\;\">");
	document.write("<span class\=\"eg\">");
	document.write("Close this note<\/a><\/span>\x5D<\/p>");
	return;
	}
	else { return false; }
}

function privE()
{
	if (document.documentElement)
	{
document.getElementById("note").style.display="none";
document.getElementById('announcement').style.visibility='visible';
location.href='#start';
return;
	}
	else { return false; }
}


function author()
{
	if (document.documentElement)
	{
	document.getElementById("privT").style.display="none";
	document.getElementById("privHR").style.display="none";
	var privTx;
	privTx = document.getElementById("privT");
	privTx.removeAttribute("id");
	privTx.setAttribute("id","note");

	fc = document.getElementById('message');
	fc.focus();
	return;
	}
	else { return false; }
}

function contBAK()
{
document.write('<div id\=\"text\"><h3 class\=\"c13\">');
document.write('By <a href\=\"&\#109\;ai\&\#108\;\&\#116\;o\:wd\&\#064\;OxfordU\&\#046\;net\&\#063\;\&\#115\;ubjec\&\#116\;\&\#061\;Intro to DOM\">\&\#069\;-\&\#109\;\&\#097\;\&\#105\;\&\#108\;<\/a>.');
document.write('<\/h3><\/div>');
return;
}

function wrtC()
{
if ( document.documentElement)
{
vv='';vv='<form name\=\"fm\" class\=\"mB\" action\=\"dn-en.php\" enctype\=\"application\/x-www-form-urlencoded\" method\=\"post\">';
vv=vv+'<p class\=\"eg c6 c12\">By \&\#070\;\&\#111\;\&\#114\;\&\#109\;-\&\#109\;\&\#097\;\&\#105\;\&\#108\;:<\/p>';
vv=vv+'<p class\=\"hidden\"><a href\=\"\#privT\">Skip the form-mail.<\/a><\/p>';
vv=vv+'<p class\=\"c6\">Include your contact data for a reply.<\/p>';
vv=vv+'<p class\=\"hidden\"><label for\=\"message\">Write your message:<\/label><\/p>';
vv=vv+'<div class\=\"spec1\"><fieldset><textarea id\=\"message\" name\=\"message\" rows\=\"8\" cols\=\"50\" accesskey\=\"1\"><\/textarea><\/fieldset><\/div>';
vv=vv+'<div class\=\"c6\"><input class\=\"rst\" accesskey\=\"2\" type\=\"reset\" onclick\=\"resT\(\)\;\" value\=\"Clear\" title\=\"Clear your text. Start again.\"  \/> ';
vv=vv+'<input class\=\"snd\" accesskey\=\"3\" type\=\"submit\" value\=\"Send\" title\=\"Send the form-mail message\" \/><\/div><p class\=\"hidden\"><input type\=\"hidden\" name\=\"op\" value\=\"send\" \/><\/p>';
vv=vv+"<\/form>";
document.getElementById('cf').innerHTML=vv;
author();
clrT();
return;
}
else { return; }
}

window.onload=wrtC;


