Index: branches/dev/html/js/site.js
===================================================================
--- branches/dev/html/js/site.js	(revision 11481)
+++ branches/dev/html/js/site.js	(revision 12952)
@@ -39,6 +39,7 @@
 			state_id = document.form1['state'].value;
 			town = document.form1['city'].value + document.form1['town'].value;
-			window.opener.document.form1[input1].selectedIndex = state_id;
-			window.opener.document.form1[input2].value = town;
+			document.getEementById("").value = state_id;
+			//window.opener.document.form1[input1].selectedIndex = state_id;
+			//window.opener.document.form1[input2].value = town;
 		}
 	} else {
@@ -359,2 +360,5 @@
 }
 
+function test(){
+	alert("test");
+}
