
<!--START EXPERIENCE -->
function callDropdown()
{
	dddExperience(0);
	dddSalary(0);
}
function callEmpDropdown()
{
	//dddExperience(0);
	dddempSalary(0);
}

function minmaxExperience() {
		imin = document.getElementById("emppostexperience1").selectedIndex;
		imax = document.getElementById("emppostexperience2").selectedIndex;
		vmin = document.getElementById("emppostexperience1").options[imin].value;
		vmax = document.getElementById("emppostexperience2").options[imax].value;
		if(vmin>=vmax) document.getElementById("emppostexperience2").selectedIndex = imin;
	}
	function dddExperience(radio) {


		salary = new Array("0","Fresher","1","1","2","2","3","3","4","4","5","5","6","6","7","7","8","8","9","9","10","10","11","11","12","12","13","13","14","14","15","15","16","16","17","17","18","18","19","19","20","20"			   
						   
						   ,"21","21","22","22","23","23","24","24","25","25","26","26","27","27","28","28","29","29","30","30","31","31","32","32","33","33","34","34","35","35","36","36","37","37","38","38","39","39","40","40","41","41","42","42","43","43","44","44","45","45","46","46","47","47","48","48","49","49","50","50","50","50+"
						   
						   
						   );
		
		odd = new Array();
		odd[0] = salary;
		

		miniExperience = document.getElementById("emppostexperience1");
		maxiExperience = document.getElementById("emppostexperience2");

		for(i=miniExperience.options.length-1;i>=0;i--) {
			miniExperience.remove(i);
			maxiExperience.remove(i);
		}

		for(i=0;i<odd[radio].length-2;i+=2) {
			o = document.createElement("OPTION");
			o.text = odd[radio+0][i+1];
			o.value = odd[radio+0][i];
			miniExperience.options.add(o);
			o = document.createElement("OPTION");
			o.text = odd[radio][i+3];
			o.value = odd[radio][i+2];
			maxiExperience.options.add(o);
		}
	}
<!--END EXPERIENCE-->


<!--START SALARY -->


function minmaxSalary() {
		imin = document.getElementById("minsalary").selectedIndex;
		imax = document.getElementById("maxsalary").selectedIndex;
		vmin = document.getElementById("minsalary").options[imin].value;
		vmax = document.getElementById("maxsalary").options[imax].value;
		if(vmin>=vmax) document.getElementById("maxsalary").selectedIndex = imin;
	}
	function dddSalary(radio) {


		salary = new Array("-1","Min","1","1","2","2","3","3","4","4","5","5","6","6","7","7","8","8","9","9","10","10","11","11","12","12","13","13","14","14","15","15","16","16","17","17","18","18","19","19","20","20"			   
						   
						   ,"21","21","22","22","23","23","24","24","25","25","26","26","27","27","28","28","29","29","30","30","31","31","32","32","33","33","34","34","35","35","36","36","37","37","38","38","39","39","40","40","41","41","42","42","43","43","44","44","45","45","46","46","47","47","48","48","49","49","50","50","50","50+"
						   
						   
						   );
		
		odd = new Array();
		odd[0] = salary;
		

		miniSalary = document.getElementById("minsalary");
		maxiSalary = document.getElementById("maxsalary");

		for(i=miniSalary.options.length-1;i>=0;i--) {
			miniSalary.remove(i);
			maxiSalary.remove(i);
		}

		for(i=0;i<odd[radio].length-2;i+=2) {
			o = document.createElement("OPTION");
			o.text = odd[radio+0][i+1];
			o.value = odd[radio+0][i];
			miniSalary.options.add(o);
			
			var inc=
			
			o = document.createElement("OPTION");
			o.text = odd[radio][i+3];
			o.value = odd[radio][i+2];
			maxiSalary.options.add(o);
		}
	}
<!--END EXPERIENCE-->






<!--START EMP SALARY -->


function emppostminmaxSalary() {
		imin = document.getElementById("emppostminsalary").selectedIndex;
		imax = document.getElementById("emppostmaxsalary").selectedIndex;
		vmin = document.getElementById("emppostminsalary").options[imin].value;
		vmax = document.getElementById("emppostmaxsalary").options[imax].value;
		if(vmin>=vmax) document.getElementById("emppostmaxsalary").selectedIndex = imin;
	}
	function dddempSalary(radio) {


		salary = new Array("-1","Min","1","1","2","2","3","3","4","4","5","5","6","6","7","7","8","8","9","9","10","10","11","11","12","12","13","13","14","14","15","15","16","16","17","17","18","18","19","19","20","20");
		
		odd = new Array();
		odd[0] = salary;
		

		miniSalary = document.getElementById("emppostminsalary");
		maxiSalary = document.getElementById("emppostmaxsalary");

		for(i=miniSalary.options.length-1;i>=0;i--) {
			miniSalary.remove(i);
			maxiSalary.remove(i);
		}

		for(i=0;i<odd[radio].length-2;i+=2) {
			o = document.createElement("OPTION");
			o.text = odd[radio+0][i+1];
			o.value = odd[radio+0][i];
			miniSalary.options.add(o);
			o = document.createElement("OPTION");
			o.text = odd[radio][i+3];
			o.value = odd[radio][i+2];
			maxiSalary.options.add(o);
		}
	}
<!--END EMP EXPERIENCE-->


