// JavaScript Document

function dc(s){
	c='';for (i=0;i<s.length;i++){
			c+=String.fromCharCode(s.charCodeAt(i)-1);
	}
	document.write(c)
}
function createmail(eform)
{
	r = '';
	if (eform.email)
		e = eform.email.value;
	if (eform.linktext)
		l = eform.linktext.value;

if (!e) {
		document.getElementById('preview').innerHTML = "You haven't entered anything yet";
		eform.emailcode.value = '';
		return;
	}
	if (!l) {
		l = e;
	}

	var temp = ('<a href="mailto:'+e+'">'+l+'</a>');

	document.getElementById('preview').innerHTML = temp;
	r = en(temp);
	eform.emailcode.value = '<script language="JavaScript">dc(\''+r+'\');<\/script>';
}
function sdc(s) {
	c='';
	for (i=0;i<s.length;i++) {
		c+=String.fromCharCode(s.charCodeAt(i)-1);
	}
	return c
}
function en(s) {
	c='';
	for (i=0;i<s.length;i++) {
		c+=String.fromCharCode(s.charCodeAt(i)+1);
	}
	return c;
}