var _st="";
var _win=null;

function s(name, value)
{
  f = document.MYFORM;
  f.action = "/vote.php";

  _st="";
  _st+="<html><head><title>Verify Form</title></head>";
  _st+="<body bgcolor='#3E33A6'>";
  _st+="<form name='ssform' action='/vote.php' method='POST'>";
  _st+="<input name='"+name+"' value='"+value+"'>";
  _st+="<input type=button value='Cancel' onclick='self.close()'>";
  _st+="<input type=submit value='Submit'>";

	  _win=window.open('', 'Vote', 'left=20,top=20,width=200,height=200,toolbar=0,status=0,resizable=0');
	  /* wait 1 second then write output */
	  _win.document.open();
	  _win.document.write(_st);
	  _win.document.ssform.submit();
	  setTimeout("_win.close();",2000);


  /*
   * do not submit this form.
   */
  return true;

}