// 日期显示脚本 function date_js() { tmpDate = new Date(); date = tmpDate.getDate(); month= tmpDate.getMonth() + 1; year= tmpDate.getYear(); document.write(year); document.write("年"); document.write(month); document.write("月"); document.write(date); document.write("日 "); myArray=new Array(6); myArray[0]="星期日" myArray[1]="星期一" myArray[2]="星期二" myArray[3]="星期三" myArray[4]="星期四" myArray[5]="星期五" myArray[6]="星期六" weekday=tmpDate.getDay(); if (weekday==0 | weekday==6) { document.write(myArray[weekday]) } else { document.write(myArray[weekday]) } }; //分页跳转 function mychange(v){ if (v==""){} else{ window.open (v,target="_self") } } //网页跳转 function jumplink(i){var objSel = 'select'+(i);if (document.all(objSel).value!=0){window.open(document.all(objSel).value);}} //全选按钮 var checkflag = "false"; function checkadmin(field) { if (checkflag == "false") { for (i = 0; i < field.length; i++) { field[i].checked = true;} checkflag = "true"; return "NO"; } else { for (i = 0; i < field.length; i++) { field[i].checked = false; } checkflag = "false"; return "YES"; } } //选取分页代码 function copyc(){ document.all.SDFY.select(); document.execCommand("copy"); } //鼠标指向图片后显示大图 function showPic(sUrl){ var x,y; x = event.clientX; y = event.clientY; document.getElementById("Layer1").style.left = x; document.getElementById("Layer1").style.top = y; document.getElementById("Layer1").innerHTML = ""; document.getElementById("Layer1").style.display = "block"; } function hiddenPic(){ document.getElementById("Layer1").innerHTML = ""; document.getElementById("Layer1").style.display = "none"; }