function show_row(row_id)
{ document.getElementById(row_id).style.display = 'block';}
function hide_row(row_id)
{ document.getElementById(row_id).style.display = 'none'
}
function show_error(str,div_id)
{ if(str!='')
{ document.getElementById(div_id).innerHTML = str; document.getElementById(div_id).style.display = 'block';}
else
{ document.getElementById(div_id).style.display = 'none'
document.getElementById(div_id).style.position = 'relative';}
}
function isEmailAddr(email)
{ var result = false
var theStr = new String(email)
var index = theStr.indexOf("@"); if (index > 0)
{ var pindex = theStr.indexOf(".",index); if ((pindex > index+1) && (theStr.length > pindex+1))
result = true;}
return result;}
function makeObject(){ var x; var browser = navigator.appName; if(browser == "Microsoft Internet Explorer"){ x = new ActiveXObject("Microsoft.XMLHTTP");}else{ x = new XMLHttpRequest();}
return x;}
