anchor.diff:  </head>
   
   <body>
  -	<table class="table table-striped">
  +
  +<form action="/Zombie/players/saveEdge">
  +<table class="table table-striped">
   		<thead class="thead-inverse">
   			<tr>
   				<th></th>
  
positive.code:     $( document ).ready(function() {
  	
  	if(getAllUrlParams(window.location.href).species=='hu'){
  		document.getElementById('submit').value='Play.'
  	}
  	else if (getAllUrlParams(window.location.href).species=='hu'){
  		document.getElementById('submit').value='Select Humans.'
  	}         });
  	
  </script>
  
negative.code: 		$('.table').DataTable();
  		$('.table').DataTable();
  		$('#submit').click(clickOnSubmitbutton);
  		$('#play').click(clickOnSubmitbutton);
  		var zombieId;
          function clickOnSubmitbutton(){
          	//debugger;
          	var buttonId=this.id;
          	var radios = document.getElementsByTagName('input');
          	var value;
          	var selected =false;
          	var count = 0;
          
          	var humanIds =new Array();
          	for (var i = 0; i < radios.length; i++) {
          	    if (radios[i].type === 'button' && radios[i].value=== 'target') {
          	    	selected=true;
          	    	count ++;
          	        if(buttonId==='submit'){
          	        	zombieId=radios[i].id;	
          	        }else if(buttonId==='play'){
          	        	zombieId=getAllUrlParams(window.location.href).zombieId;
          	        	$( document ).ready(function() {
          	        	humanIds.push(radios[i].id);
          	        	});
          	        }
          	        
          	        if(buttonId==='submit'){
          	        	
          	        	if(count > 1 && getAllUrlParams(window.location.href).species==="zo"){
              	        	alert("only one zombie can be selected")
              	        	window.location.replace('/Zombie/players/selectPlayer?species=zo');
              	        }else if(count===1 && getAllUrlParams(window.location.href).species==="zo"){
              	        	
              	        	window.location.replace('/Zombie/players/selectPlayer?zombieId='+zombieId+'&species=hu');	
              	        }
          	        }
          	        
          	       
          	        //debugger;
          	        if(buttonId==='play'){
          	        	if(getAllUrlParams(window.location.href).zombieId!=undefined && getAllUrlParams(window.location.href).zombieId!=""){
               	    	   if(count > 3 && getAllUrlParams(window.location.href).species==="hu"){
                  	        	alert("only three human can be selected")
                  	        	window.location.replace('/Zombie/players/selectPlayer?species=hu');	
                  	        }else if(count <= 3 && getAllUrlParams(window.location.href).species==="hu"){
                  	        	
                  	        	window.location.replace('/Zombie/players/map?zombieId='+getAllUrlParams(window.location.href).zombieId+'&humanIds='+humanIds)
                  	        	
                  	        }
               	       }
          	        }
          	       
          	       
          	        
          	    }
          	}
  