function parclose()
   {
	    $("#floatBoxBg").animate({opacity:"0"},"normal",function(){$(this).hide();});
        $("#floatBox").animate({top:($(document).scrollTop()-(parseInt($(document).height())))+"px"},"normal",function(){$(this).hide();}); 
	    setTimeout("location.reload()",1000);		
   }
   
function parclosewin()
   {
	     $("#floatBoxBg").animate({opacity:"0"},"normal",function(){$(this).hide();});
        $("#floatBox").animate({top:($(document).scrollTop()-(parseInt($(document).height())))+"px"},"normal",function(){$(this).hide();});  
	    
}


   
function parRefresh(){	
	location.reload();	
}  

function parCancel()
   {
	    $("#floatBoxBg").animate({opacity:"0"},"normal",function(){$(this).hide();});
        $("#floatBox").animate({top:($(document).scrollTop()-(parseInt($(document).height())))+"px"},"normal",function(){$(this).hide();}); 
 }

//体检中心
//内存病毒、内存木马、修补漏洞、可疑插件、高级诊断、是否装杀毒软件、分数、用户
function healthCheck_20101102(s1,s2,s3,s4,s5,s6,s7,s8,s9) {	
			$.post("healthCheck.action", { Action: "post", macAdd:s1,memoryScanNum:s2,horseScanNum:s3,sysPachNum:s4,spyScanNum:s5,checkResultNum:s6,killSoftNum:s7,healthCount:s8,userComputerInfo:s9},
		function (data, textStatus){
		alert(data.result);
		},
		 "json");
}

function healthCheck(s1,s2,s3,s4,s5,s6,s7,s8,s9,s10) {	
			$.post("healthCheck.action", { Action: "post", macAdd:s1,memoryScanNum:s2,horseScanNum:s3,sysPachNum:s4,spyScanNum:s5,checkResultNum:s6,killSoftNum:s7,healthCount:s8,userComputerInfo:s9,userSoft:s10},
		function (data, textStatus){
		alert(data.result);
		},
		 "json");
}

//内存杀毒、急救中心
function memoryScan(s1,s2,s3,s4,s5,s6,s7,s8) {		
			$.post("memoryScan.action", { Action: "post", macAdd:s1,optionType:s2,optionCount:s3,fileName:s4,filePath:s5,virusName:s6,virusType:s7,scanResult:s8 },
		function (data, textStatus){
		alert(data.result);
		},
		 "json");
}


//在线杀毒
function diskScan(s1,s2,s3,s4,s5,s6,s7,s8) {		
			$.post("diskScan.action", { Action: "post", macAdd:s1,optionType:s2,optionCount:s3,fileName:s4,filePath:s5,virusName:s6,virusType:s7,scanResult:s8 },
		function (data, textStatus){
		alert(data.result);
		},
		 "json");
}



//木马杀毒
function horseScan(s1,s2,s3,s4,s5,s6) {		
			$.post("horseScan.action", { Action: "post", macAdd:s1,optionType:s2,optionCount:s3,fileName:s4,filePath:s5,scanResult:s6 },
		function (data, textStatus){
		alert(data.result);
		},
		 "json");
}

//全面诊断
function checkResult(s1,s2,s3,s4,s5,s6) {		
			$.post("checkResult.action", { Action: "post", macAdd:s1,optionType:s2,dangerCount: s3,unknowCount:s4,total:s5,scanResult:s6 },
		function (data, textStatus){
		alert(data.result);
		},
		 "json");

}


//IE修复
function ieRepair2(s1,s2,s3) {	          	
			$.post("ieRepair.action", { Action: "post", macAdd:s1,scanNum:s2,repairNum: s3 },
		function (data, textStatus){
		alert(data.result);
		},
		 "json");
}

//可疑插件
function spyScan(s1,s2,s3,s4,s5) {	          	
			$.post("spyScan.action", { Action: "post", macAdd:s1,optionType:s2,dangerNum:s3,safeNum: s4,otherNum: s5 },
		function (data, textStatus){
		alert(data.result);
		},
		 "json");
}

//系统漏洞
function sysPach(s1,s2,s3) {	          	
			$.post("sysPach.action", { Action: "post", macAdd:s1,sysPachNum:s2,scanResult:s3},
		function (data, textStatus){
		alert(data.result);
		},
		 "json");
}

