var path;

function form_submit(){
//	alert(document.getElementById("login").action);
	document.getElementById("login").submit();
}
function form_reset(){
	document.getElementById("login").reset();
}
function reloadcode(){
    var verify=document.getElementById('safecode');
    verify.setAttribute('src','code.php?'+Math.random());
}

function vote_submit()
{   
   
	document.getElementById("vote").action="web.do?command=findvote";
	var j=document.getElementById("vote").action;

	document.getElementById("vote").submit();
	
}
function find_vote()
{
   
	document.getElementById("vote").action="web.do?command=lookVote";
	document.getElementById("vote").target="_blank";
	var j=document.getElementById("vote").action;

	document.getElementById("vote").submit();
}
function vote_look()
{
	
}
function ByAnswerid(id)
{
	
	 document.getElementById("answerid").value=id.value;
}
