// Varun Gulhane

$(document).ready(function(){	
	if($("select#ManufacturerCountry").val() == '219') {		   
		   $("#stateHolder").show('fast');
		   $("#canadaHolder").hide();
		   $("#otherStateHolder").hide();
	   }
	else if($("select#ManufacturerCountry").val() == '37') {		   
		   $("#canadaHolder").show('fast');
		   $("#stateHolder").hide();
		   $("#otherStateHolder").hide();
	   }
	else {
		   $("#otherStateHolder").show('fast');
		   $("#stateHolder").hide();
		   $("#canadaHolder").hide();
	   }
	
	$("select#ManufacturerCountry").change(	  
	  function() {	  
	   if($("select#ManufacturerCountry").val() == '219') {		   
		   $("#stateHolder").show('fast');
		   $("#canadaHolder").hide();
		   $("#otherStateHolder").hide();
		   $("select#ManufacturerState").val("0");
	   }
	   else if($("select#ManufacturerCountry").val() == '37') {		   
		   $("#canadaHolder").show('fast');
		   $("#stateHolder").hide();
		   $("#otherStateHolder").hide();
		   $("select#ManufacturerState").val("0");
	   }
	   else {
		   $("#otherStateHolder").show('fast');
		   $("#stateHolder").hide();
		   $("#canadaHolder").hide();
		   $("select#ManufacturerState").val("0");
	   }
	 }
	);
 });