// Place your application-specific JavaScript functions and classes here
// This file is automatically included by javascript_include_tag :defaults

//Event.addBehavior.reassignAfterAjax = true;
//	Event.addBehavior({
//    'div.pagination a' : Remote.Link
//  })
  
  
function call_url(url, i) {
	new_quantity = document.getElementById("quantity_" + i).value;
	document.location.href = url + "?quantity=" + new_quantity;
}

function call_update_zone(url) {
	new_zone = document.getElementById("zone").value;
	document.location.href = url + "?zone=" + new_zone;
}