			var ipst;
			$(document).ready(function(){
				$.getJSON('http://freegeoip.net/json/?callback=?',function(data) {
					$('#statecode').each(function(i,v) {
						if ($(v).val()=='') {
							$(v).val(data.region_code);
						}
					});
					if (data.zipcode!='') {
						$('input[name="zipcode"]').each(function(i,v) {
							if (($(v).val()=='Enter Zip Code')||($(v).val()=='')) {
								$(v).val(data.zipcode);
							}
						});
					}
					$('input[name="zipcode"]').click(function(ev) {
						ev.preventDefault();
						if ($(ev.target).val()=='Enter Zip Code') {
							$(ev.target).val('');
						}
					});
					$('input[name="zipcode"]').blur(function(ev) {
						if ($(this).val().length==5) {
							var x=$(this).val();
							$('input[name="zipcode"]').each(function(i,v) {
								$(v).val(x);
							});
						}
					});
				});
			});

