 function restart2(state, targetStateField)
 {
	 targetStateField.value = state;
	 stateWindow.close();
 }
 
 function getState(in_stateField, countryId) 
 {
     stateTarget = in_stateField;
	 countryID = countryId.value;
     var screenWidth = screen.width;
	 var screenHeight = screen.height;
	 var scrWidth = screenWidth / 2;
	 var scrHeight = screenHeight / 2;
	 var winWidth = 150 / 2;
	 var winHeight = 300 / 2;
	 var left = scrWidth - winWidth;
	 var top = scrHeight - winHeight;
	 
	 stateWindow=open('state.html','States','location=no,scrollbars=yes,resizable=no,width=150,height=400,left='+left+',top='+top+'');

	 stateWindow.location.href = 'state.html';
	 if (stateWindow.opener == null) 
	 {
	 	stateWindow.opener = self;
	 }
	 //return false;
}