//set focus on first input field
function focTexta() {
if (!document.getElementsByTagName) return false;
document.getElementsByTagName('textarea')[0].focus();
}

//run the function only after the page has loaded
window.onload = focTexta;

