﻿// JScript 文件


function Upset()
{
 
 var boolSelect=$("input[name=radiobutton]:checked").val();
 var boolSelect1='1';
  $.ajax(
         {
           url:'../code/set.aspx',
           data:'v1='+boolSelect+'&v2='+boolSelect1+'&time='+(new Date()).getTime(),
           type:'GET',
           beforeSend:function(){ $('#cons').html('<font color=red>请稍等！信息提交中...</font>');$('#con').html('');},
           success:function(data){
            $('#cons').html('<img src="../images/vote_1.gif" width="45" height="18" onclick="Upset()"   style="margin-right:10px;"/> <a href="../code/tou.aspx" target="_blank"><img src="../images/vote_2.gif" width="45" height="18" /></a> ');
            $('#con').html('');
         
            alert(data);
         }
         }
         );
}


function sUpset()
{
 
 var boolSelect=$("input[name=radiobutton]:checked").val();
 var boolSelect1='1';
  $.ajax(
         {
           url:'code/set.aspx',
           data:'v1='+boolSelect+'&v2='+boolSelect1+'&time='+(new Date()).getTime(),
           type:'GET',
           beforeSend:function(){ $('#cons').html('<font color=red>请稍等！信息提交中...</font>');$('#con').html('');},
           success:function(data){
            $('#cons').html('<img src="images/vote_1.gif" width="45" height="18" onclick="sUpset()"   style="margin-right:10px;"/> <a href="code/tou.aspx" target="_blank"><img src="images/vote_2.gif" width="45" height="18" /></a> ');
            $('#con').html('');
         
            alert(data);
         }
         }
         );
}
