// javascript document

function writeEmail(tla,dom,nam) {
document.write("<a href='mailto:"+nam+"@"+dom+"."+tla+"'>"+nam+"@"+dom+"."+tla+"</a>");
}

function switchVal(e,o) {
// e is the element  - o is the orginal value


if (e.value==o) e.value=""; 
}
function checkVal(e,o) {
// e is the element  - o is the orginal value
if (e.value=="") e.value=o;
}

