$(function(){var a=$(".gap").width()-2;$(".gap").css("width",a);$("table tr:even").addClass("change_color");$("#stockcode").focusout(function(){if($("#stockcode").val()=="\u8f93\u5165\u540d\u79f0/\u4ee3\u7801/\u7b80\u62fc"){$("#stockcode").css("color","#9b9b9b")}else{$("#stockcode").css("color","#000")}})});function MM_openBrWindow(c,a,b){if(typeof external.iWinMain=="undefined"){window.open(".."+c,a,b)}else{external.iWinMain("cmd_PopupWindow","http://app.upchina.com/sasweb/xysidkdydnhensydn_cdhds.dyshg/dsfyewlrndsfpoidsfewlkdsnf.cxgdsf_hdsfnew/web/"+c,"710","620")}}var Common={CheckDate:function(a){var b=/^(\d{1,4})(-)([0-1]{1})(\d{1})(-)([0-3]{1})(\d{1})/;if(!b.test(a)){alert("\u60a8\u8f93\u5165\u7684\u65e5\u671f\u683c\u5f0f\u4e0d\u6b63\u786e!");return false}else{return true}},CheckStockcode:function(b){var a=/^[0-9]{6}$/;if(!a.test(b)){alert("\u60a8\u8f93\u5165\u7684\u8bc1\u5238\u4ee3\u7801\u683c\u5f0f\u4e0d\u6b63\u786e!");return false}else{return true}}};
