
							
function addZip(form)
{
	var cityCombos = document.getElementById("city1");
	var cur_Country = document.getElementById("country1").value;
	
	if(cityCombos == null)return;	
		cityCombos.length = 0;
	if(cur_Country == '1')
	{
		for (var i=201; i<989; i++)
		{
					cityCombos.options[cityCombos.length]  = new Option(i,i);
		}
					cityCombos.options[cityCombos.length]  = new Option('Other','');	
					
							document.getElementById("ddlb").style.display ='block' //block none
							document.getElementById("ipt").style.display ='none'
	}
	else if (cur_Country == '972')
	{
					cityCombos.options[cityCombos.length]  = new Option('02','02');
					cityCombos.options[cityCombos.length]  = new Option('03','03');
					cityCombos.options[cityCombos.length]  = new Option('04','04');
					cityCombos.options[cityCombos.length]  = new Option('08','08');
					cityCombos.options[cityCombos.length]  = new Option('09','09');
					cityCombos.options[cityCombos.length]  = new Option('050','050');
					cityCombos.options[cityCombos.length]  = new Option('052','052');
					cityCombos.options[cityCombos.length]  = new Option('054','054');
					cityCombos.options[cityCombos.length]  = new Option('057','057');
					cityCombos.options[cityCombos.length]  = new Option('072','072');
					cityCombos.options[cityCombos.length]  = new Option('073','073');											
					cityCombos.options[cityCombos.length]  = new Option('074','074');					
					cityCombos.options[cityCombos.length]  = new Option('077','077');					
					cityCombos.options[cityCombos.length]  = new Option('Other','');	

							document.getElementById("ddlb").style.display ='block'; //block none
							document.getElementById("ipt").style.display ='none';			
	}
	else
	{
		document.getElementById("ddlb").style.display ='none'; //block none
		document.getElementById("ipt").style.display ='block';
	}


}



function addZipCell(form)
{
	var cityCombos = document.getElementById("city2");
	var cur_Country = document.getElementById("country2").value;
	
	if(cityCombos == null)return;	
		cityCombos.length = 0;

 if (cur_Country == '972')
	{
					cityCombos.options[cityCombos.length]  = new Option('050','050');
					cityCombos.options[cityCombos.length]  = new Option('052','052');
					cityCombos.options[cityCombos.length]  = new Option('054','054');
					cityCombos.options[cityCombos.length]  = new Option('057','057');
					cityCombos.options[cityCombos.length]  = new Option('Other','');	

							document.getElementById("ddlb2").style.display ='block'; //block none
							document.getElementById("ipt2").style.display ='none';			
	}
	else
	{
		document.getElementById("ddlb2").style.display ='none'; //block none
		document.getElementById("ipt2").style.display ='block';
	}


}


function addZipFax(form)
{
	var cityCombos = document.getElementById("city3");
	var cur_Country = document.getElementById("country3").value;
	
	if(cityCombos == null)return;	
		cityCombos.length = 0;
	if(cur_Country == '1')
	{
		for (var i=201; i<989; i++)
		{
					cityCombos.options[cityCombos.length]  = new Option(i,i);
		}
					cityCombos.options[cityCombos.length]  = new Option('Other','');	
					
							document.getElementById("ddlb3").style.display ='block' //block none
							document.getElementById("ipt3").style.display ='none'
	}
	else if (cur_Country == '972')
	{
					cityCombos.options[cityCombos.length]  = new Option('02','02');
					cityCombos.options[cityCombos.length]  = new Option('03','03');
					cityCombos.options[cityCombos.length]  = new Option('04','04');
					cityCombos.options[cityCombos.length]  = new Option('08','08');
					cityCombos.options[cityCombos.length]  = new Option('09','09');
					cityCombos.options[cityCombos.length]  = new Option('050','050');
					cityCombos.options[cityCombos.length]  = new Option('052','052');
					cityCombos.options[cityCombos.length]  = new Option('054','054');
					cityCombos.options[cityCombos.length]  = new Option('057','057');
					cityCombos.options[cityCombos.length]  = new Option('072','072');
					cityCombos.options[cityCombos.length]  = new Option('073','073');											
					cityCombos.options[cityCombos.length]  = new Option('074','074');					
					cityCombos.options[cityCombos.length]  = new Option('077','077');					
					cityCombos.options[cityCombos.length]  = new Option('אחר','');	

							document.getElementById("ddlb3").style.display ='block'; //block none
							document.getElementById("ipt3").style.display ='none';			
	}
	else
	{
		document.getElementById("ddlb3").style.display ='none'; //block none
		document.getElementById("ipt3").style.display ='block';
	}


}
