window.onload = initializeForm; 



function asusend(){
window.setTimeout("asusendX()",1)
}


function asusendX(){
try{document.getElementById('load').style.display='block';
document.getElementById('loaded').style.display='none';} catch(e){}
window.setTimeout('document.getElementById("asu").submit();',1)
}


function dOOrt(){
document.getElementById('dOrt').value='ignore'

}



function initializeForm(){



var domElements = document.all || document.getElementsByTagName('*');
for(var domElement=0;domElement<domElements.length;domElement++)
{
if(domElements[domElement].tagName && domElements[domElement].className)
{if(domElements[domElement].tagName.toLowerCase()=='label' && domElements[domElement].className.toLowerCase()=='form'){var foundElement=domElements[domElement];for(var y=0;y<foundElement.childNodes.length;y++){var tempElement=foundElement.childNodes[y];if(tempElement.tagName && tempElement.type){if(tempElement.tagName.toLowerCase()=='input' && tempElement.type.toLowerCase()=='checkbox'){if(tempElement.checked==true){foundElement.className='simpleForm_ck_checked'} else {foundElement.className='simpleForm_ck_unchecked'};tempElement.onclick=function(){if(this.checked==true){this.parentNode.className='simpleForm_ck_checked'} else {this.parentNode.className='simpleForm_ck_unchecked'};try{eval(this.getAttribute('click'))} catch(e){}};tempElement.style.position='absolute';tempElement.style.left='-10000px';foundElement.onstartselect=function(){blur()}};if(tempElement.tagName.toLowerCase()=='input' && tempElement.type.toLowerCase()=='radio'   ){if(tempElement.checked==true){foundElement.className='simpleForm_rd_checked'} else {foundElement.className='simpleForm_rd_unchecked'};tempElement.onclick=function(){for(var radio=0;radio<document.getElementsByName(this.name).length;radio++){var radioBut=document.getElementsByName(this.name)[radio];if(radioBut.checked!=true){radioBut.parentNode.className='simpleForm_rd_unchecked'};};if(this.checked==true){this.parentNode.className='simpleForm_rd_checked'} else {this.parentNode.className='simpleForm_rd_unchecked'};try{eval(this.getAttribute('click'))} catch(e) {}};tempElement.style.position='absolute';tempElement.style.left='-10000px';foundElement.onstartselect=function(){blur()}}if(tempElement.className){if(tempElement.tagName.toLowerCase()=='input' && tempElement.type.toLowerCase()=='text' && tempElement.className.toLowerCase()=='tri'){var cValue=tempElement.value;switch(cValue){case '0':foundElement.className='simpleForm_tri_0';break;case '1':foundElement.className='simpleForm_tri_1';break;case '2':foundElement.className='simpleForm_tri_2';break;};tempElement.onclick=function(){this.value=parseInt(this.value) + 1;if(this.value=='3'){this.value='0'};switch(this.value){case '0':this.parentNode.className='simpleForm_tri_0';break;case '1':this.parentNode.className='simpleForm_tri_1';break;case '2':this.parentNode.className='simpleForm_tri_2';break;};try{eval(this.getAttribute('click'))} catch(e){};};tempElement.style.position='absolute';tempElement.style.top='-10000px';tempElement.style.left='-10000px';foundElement.onstartselect=function(){blur()}}if(tempElement.tagName.toLowerCase()=='input' && tempElement.type.toLowerCase()=='text' && tempElement.className.toLowerCase()=='etri'){var cValue=tempElement.value;switch(cValue){case '0':foundElement.className='simpleForm_etri_0';break;case '1':foundElement.className='simpleForm_etri_1';break;case '2':foundElement.className='simpleForm_etri_2';break;case '3':foundElement.className='simpleForm_etri_3';break;};tempElement.onclick=function(){this.value=parseInt(this.value) + 1;if(this.value=='4'){this.value='0'};switch(this.value){case '0':this.parentNode.className='simpleForm_etri_0';break;case '1':this.parentNode.className='simpleForm_etri_1';break;case '2':this.parentNode.className='simpleForm_etri_2';break;case '3':this.parentNode.className='simpleForm_etri_3';break;};try{eval(this.getAttribute('click'))} catch(e){};};tempElement.style.position='absolute';tempElement.style.top='-10000px';tempElement.style.left='-10000px';foundElement.onstartselect=function(){blur()}}}}}}}}}
