<!--

document.write('<script src="js/subnavig.js"></');

document.write('script>');

document.write('<script src="js/gen_subnavig.js"></');

document.write('script>');

document.write('<script src="js/title.js"></');

document.write('script>');

document.write('<script src="js/ba.js"></');

document.write('script>');

document.write('<script src="js/email.js"></');

document.write('script>');

document.write('<script src="js/homefun.js"></');

document.write('script>');

document.write('<script src="js/flashfun.js"></');

document.write('script>');

document.write('<script src="js/navig.js"></');

document.write('script>');

document.write('<script src="js/mi.js"></');

document.write('script>');

document.write('<script src="js/header.js"></');

document.write('script>');

document.write('<script src="js/main.js"></');

document.write('script>');

document.write('<script src="js/mt.js"></');

document.write('script>');

document.write('<script src="js/st.js"></');

document.write('script>');

document.write('<script src="js/home.js"></');

document.write('script>');

document.write('<script src="js/ng.js"></');

document.write('script>');

document.write('<script src="js/flash.js"></');

document.write('script>');

</script>

<script>

fontface();

font_size();

</script>

<a href="" style="color:000000" onClick="return emailhref()">

<script>

email();

</script>

</a>

<script>

document.write('<script src="js/base1.js"></');

document.write('script>');

</script>



<script>

function trim(l_str)

{

var l_str_string = new String(l_str); 

var l_int_length = l_str_string . length; 

var l_str_temp = new String(''); 

var l_b_flag = true; 

for(l_int_i = 0; l_int_i <= l_int_length - 1; ++l_int_i) 

{

if (l_b_flag == true && l_str_string.charAt(l_int_i) == ' ') 

{

l_b_flag = true;

} 

else

{

l_b_flag = false;

l_str_temp = l_str_string.substring(l_int_i);

 break;

} 

 if (l_int_i == l_int_length - 1) 

 {

 return l_str_temp;

} 

} 

  l_int_length = l_str_temp.length;

l_b_flag = true;

 for(l_int_i = l_int_length - 1; l_int_i >= 0; l_int_i--) 

{

if (l_b_flag == true && l_str_temp.charAt(l_int_i) == ' ') 

{

  l_b_flag = true;

 }

else

{

l_b_flag = false;

l_str_string = l_str_temp.substring(0, l_int_i + 1);

 break;

 } 

} 

 return l_str_string;

} 

function checktxt(l_str_form)

{

var str1=l_str_form;

var str2=trim(str1.value);

if(str2.length==0)

{

alert("Null Value Error !!! fill the focused control");

l_str_form.focus();

return false;

}

else

{

return true;

}

}

function checkopt(l_int_opt,l_int_val)

{

if(l_int_val>1)

{

for(i=0;i<l_int_val;i++)

{

var str1=eval('document.form1.opt_fn_'+l_int_opt+'['+i+']');

if(str1.checked == true)

{

flag=true;

break;

}

else

{

flag=false;

}

}

}

else

{

var str1=eval('document.form1.opt_fn_'+l_int_opt);

if(str1.checked == true)

{

flag=true;

}

else

{

flag=false;

}

}

if(flag==false)

{

alert("Please select the Radio button field");

return false;

}

else

{

return true;

}

}

function checkfun()

{

if((checktxt(document.form1.txt_fn_1_1)&&checktxt(document.form1.txt_fn_2_1)&&checktxt(document.form1.txt_fn_3_1)&&checktxt(document.form1.txt_fn_4_1)&&checktxt(document.form1.txt_fn_5_1)&&checktxt(document.form1.txt_fn_6_1)&&checkopt(7,4)&&checktxt(document.form1.txt_fn_8_1)&&checktxt(document.form1.txt_fn_9_1))==false)

return false;

else

{ document.form1.submit();  }

}

//-->

