﻿$(document).ready(function(){
            if(top.location!=self.location)top.location=self.location;
			$("#Job_mox").ajaxStart(function(){
											$("#Job_mox").html("<font color='red'>"+ "正在加载……"+"</font>");
											})
			$.get("Q.aspx?Q=1","",function(date){
											  //alert(date);
											  $("#Job_mox").html(date);
											  });
			$("#loginping").find("tr:last").find("td").css({"border-bottom-width":"0px"});
			$("#loginping").find("tr").find("td:last").css({"border-right-width":"0px"});
			$("#loginping").find("td").each(function(){
								if($(this).html().length==0){
									//$(this).css({"border-right-width":"0px"});
								}
													 });
			if($("#jobname"))
			{
			    $("#jobname").keydown(function(e){ 
											   e=e?e:window.event;
											   if(e.keyCode==13)
											   {
												   
											      if(e.preventDefault) {    
        												// Firefox    
         												e.preventDefault();    
         												e.stopPropagation();    
     												} else {    
                 										// IE    
                  										e.cancelBubble=true;    
                  										e.returnValue = false;    
              										}
													Search_Index();
											   }
											   });
			}
			if($("#txt_Key"))
			{
			    $("#txt_Key").keydown(function(e){
											   e=e?e:window.event;
											   if(e.keyCode==13)
											   {
												   
											      if(e.preventDefault) {    
        												// Firefox    
         												e.preventDefault();    
         												e.stopPropagation();    
     												} else {    
                 										// IE    
                  										e.cancelBubble=true;    
                  										e.returnValue = false;    
              										}
													Search_Quicka();
											   }
											   });
			}
			
			});
$(document).mousemove(function movediv(e){ 
			var el=e.target||e.srcElement;
			if(el.title.length>0||el.dypop!=null)
				{	
					if(el.dypop==null||el.dypop==""||el.dypop=="undefined"){el.dypop=el.title;el.title="";}
					$("#wind").css({"left":e.pageX+12,"top":e.pageY+12,"display":"block"});
					$("#wind").html(el.dypop);
				}
				else
				{
					$("#wind").css({"display":"none"});
				}
//Job_mox
});
