// JavaScript Document
/*		$(document).ready(function(){
			$("#subscribe").click(function(){
				var name = $("#s_name").val();
				var email = $("#s_email").val();
				
				$.post("Subscribe/subscribe_user",{name:name,email:email},function(result){
					$("#subscribeDiv").html(result);
				});
			});
			
			$("#commentBtn").click(function(){
				var name = $("#c_name").val();
				var email = $("#c_email").val();
				var comments = $("#comments").val();
				$.post("Comments/post_comments",{name:name,email:email,comments:comments},function(result){
					$("#commentsDiv").html(result);
				});
			});
			
		});
		*/
		var cast_vote = function(qId,oId)
		{
				$.post("Votes/post_vote",{qId:qId,oId:oId},function(result){
					$("#voteDiv").html(result);
				});
		}
