function _Binhchon_submit(){     
	var i;
	var itemvalue;
	
	itemvalue=0;	
	for (i=0;i<document.vote.VoteItem.length;i++)
	{	
		if (document.vote.VoteItem[i].checked)
		{
			itemvalue=document.vote.VoteItem[i].value;    
			document.vote.VoteItem[i].checked = false;
			break;
		}
	}
	ngovinh = window.open("vote.asp?image=" + document.vote.VoteID.value + "&VoteItem=" + itemvalue, "Ket_qua_tham_do_du_luan", "toolbar=no,location=no,directories=no,status=no, menubar=no,scrollbars=no,resizable=no,copyhistory=yes,width=400,height=260");
	ngovinh.focus();

	ngovinh.moveTo((screen.width- 400)/2,(screen.height- 300)/2);
	//window.moveTo((screen.availWidth-1000)>>1,(screen.availHeight-700)>>1); 
}

function popup(filename,imageName,imageWidth,imageHeight)
	{
	ngovinh =	window.open(filename + '?image=' + imageName + '','View','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=' + imageWidth + ',height=' + imageHeight + '')
	ngovinh.focus();
	
	ngovinh.moveTo((screen.width- 400)/2,(screen.height- 300)/2);
	}

function winpopup(urlx,param,twidth,theight)
{
	var strurl= urlx + '?param=' + param;

	var ngovinh=window.open(strurl,"format","toolbar=no,width="+ twidth+",height="+ theight+ ",directories=no,status=no,scrollbars=yes,resizable=no, menubar=no")
	ngovinh.focus();
	ngovinh.moveTo((screen.width- 400)/2,(screen.height- 300)/2);
}

