function senfe(aaa){var l=event.clientX+document.body.scrollLeft;var t=event.clientY+document.body.scrollTop;document.getElementById(aaa).style.left=l+"px";document.getElementById(aaa).style.top=t+"px";document.getElementById(aaa).style.display="block";if(aaa.indexOf('help')!=0){document.getElementById(aaa).style.backgroundColor="#3F3F49"}else{document.getElementById(aaa).style.backgroundColor="#ffffff"}document.getElementById(aaa).style.borderStyle="solid";document.getElementById(aaa).style.borderWidth="3px";document.getElementById(aaa).style.borderColor="#B9BDA9"}function none(aaa){document.getElementById(aaa).style.display="none"}var i=0;function picyl(tpdi){var filelx=tpdi.split(".");var filehz=filelx[filelx.length-1];if(tpdi!=""&&tpdi!=undefined){if((tpdi.indexOf('http://')==0)||(tpdi.indexOf('ftp://')==0)){tpdi=tpdi;i++}else{tpdi="../"+tpdi;i++}document.writeln('<a onmouseover=\"senfe(\'v'+i+'\')\" onmouseout=\"none(\'v'+i+'\')\"><B>预览</B></a>');document.writeln('<div id=\"v'+i+'\" name=\"v'+i+'\" style=\"display:none;position:absolute;\">');if(filehz=="png"||filehz=="gif"||filehz=="jpg"){document.writeln('<img src=\"'+tpdi+'\" alt=\"\">')}if((filehz=="swf")||(filehz=="SWF")){document.writeln('<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\"codebase=\"http:\/\/download.macromedia.com\/pub\/shockwave\/cabs\/flash\/swflash.cab#version=7,0,19,0\"width=\"400\"height=\"300\">');document.writeln('  <param name=\"movie\" value=\"'+tpdi+'" \/>');document.writeln('  <param name=\"quality\" value=\"high\" \/>');document.writeln('  <embed src=\"'+tpdi+'\"quality=\"high\"pluginspage=\"http:\/\/www.macromedia.com\/go\/getflashplayer\"type=\"application\/x-shockwave-flash\"width=\"400\"height=\"300\"><\/embed>');document.writeln('<\/object>')}document.writeln('</div>')}}function helpclarify(content){if(content!=""&&content!=undefined){i++;document.writeln('<img src="../img/help.gif" border="0" onmouseover=\"senfe(\'help'+i+'\')\" onmouseout=\"none(\'help'+i+'\')\"style=\"cursor:help\">&nbsp;&nbsp;');document.writeln('<div id=\"help'+i+'\" name=\"help'+i+'\" style=\"display:none;position:absolute;\">');document.writeln('<table><tr><td width=\"100%\">');document.writeln(content);document.writeln('</td></tr></table>');document.writeln('</div>')}}function showimages(my_sitearea,my_formname,my_x,my_y){sFromID=my_formname;if(sFromID>11){alert(' 编号为：'+sFromID+'的皮肤不存在！');sFromID=1}sitearea=my_sitearea;myx=my_x;myy=my_y;qqshow();JSFX_FloatTopDiv()}function CheckSel(Voption,Value){var obj=document.getElementById(Voption);for(i=0;i<obj.length;i++){if(obj.options[i].value==Value){obj.options[i].selected=true;break}}}function xxg(){var DLErr=document.getElementById("DLErr");if(document.form1.adminname.value==""){DLErr.innerHTML="<STRONG>请输入用户名</STRONG>";document.form1.adminname.focus();return false}if(document.form1.adminpwd.value==""){DLErr.innerHTML="<STRONG>请输入密码</STRONG>";document.form1.adminpwd.focus();return false}if(document.form1.s.value==""){DLErr.innerHTML="<STRONG>请输入验证码</STRONG>";document.form1.s.focus();return false}return true}function reset_form(){var DLErr=document.getElementById("DLErr");document.form1.adminname.value="";document.form1.adminpwd.value="";document.form1.s.value="";DLErr.innerHTML="";document.form1.adminname.focus}function SwitchMenu(obj){for(var j=0;j<15;j++){objimg="sub"+j+"img";document.getElementById(objimg).src="../img/left_fold1.gif"}var imgobj=obj+"img";if(document.getElementById){var imgsc=document.getElementById(imgobj);var el=document.getElementById(obj);var ar=document.getElementById("masterdiv").getElementsByTagName("span");if(el.style.display!="block"){for(var i=0;i<ar.length;i++){if(ar[i].className=="submenu")ar[i].style.display="none"}el.style.display="block";imgsc.src="../img/left_fold0.gif"}else{el.style.display="none";imgsc.src="../img/left_fold1.gif"}}}function switchSysBar(){if(switchPoint.innerText==3){switchPoint.innerText=4;document.all("frmTitle").style.display="none"}else{switchPoint.innerText=3;document.all("frmTitle").style.display=""}}function setLayer(id){id=document.getElementById(id);id.value="LayerWindow"}function ClearLayer(id){id=document.getElementById(id);id.value=""}function getIEVer(){var IEErr;var ua=navigator.userAgent;var b=ua.indexOf("MSIE ");var Ver=parseFloat(ua.substring(b+5,ua.indexOf(";",b)));var dljm=document.getElementById("dljm");if(b<0){Ver=0;IEErr="请使用<STRONG>Internet Explorer [IE]</STRONG>浏览器登录后台！"}else if(Ver<7){IEErr="您使用的<STRONG>浏览器</STRONG>版本过低！"}if((b<0)||(Ver<7)){ErrMsg='<table cellSpacing="0" cellPadding="0" width="300" border="0"><tbody>';ErrMsg+='<tr><td align="center" height="20"> '+IEErr+' </td></tr>';ErrMsg+='<tr><td align="center"height="20"><a href="http://go.microsoft.com/?linkid=9658374"target="_blank">点击下载<STRONG>Internet Explorer 8</STRONG>. </a></td></tr>';ErrMsg+='</tbody></table>';dljm.innerHTML=ErrMsg}}function killErrors(){return true}