/*	var reg = /(\d+)\.html.*$/i;
	var id = window.location.href.match(reg);*/
	/**
	 *
	 * @access public
	 * @return void
	 **/
	function vote(rating){
		$.post(
			'/AjaxController.php',
			{
				id: id,
				rating: rating
			},
			votingResult
		);
	}

	/**
	 *
	 * @access public
	 * @return void
	 **/
	function votingResult(request){
		$('#item').html($('message', request).text());
	}
