function launch(d,b,a,c){remote=open(d,b,a);if(remote.opener==null){remote.opener=window}remote.opener.name=c;return remote}function openWindow(f,d,a,b){var c=(screen.width-d)/2;var e=(screen.height-a)/2;myRemote=launch(f,b,"height="+a+",width="+d+",channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=0,resizable=1,scrollbars=1,status=0,toolbar=0,top="+e+",left="+c);window.myRemote.focus()}function openWindowUn(f,d,a,b){var c=(screen.width-d)/2;var e=(screen.height-a)/2;myRemote=launch(f,"hhhhhhhhhhhhhhhhhhhhh","height="+a+",width="+d+",channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=0,resizable=0,scrollbars=1,status=0,toolbar=0,top="+e+",left="+c,"Help");window.myRemote.focus()}function showAbstract(d){var c=document.getElementsByTagName("a");var b=document.getElementById(d);if(b.style.display=="block"){b.style.display="none";for(var a=0;a<c.length;a++){if(c[a].href=="javascript:showAbstract('"+d+"')"){c[a].childNodes[1].src="images/arr_black_v.gif";break}}}else{b.style.display="block";for(var a=0;a<c.length;a++){if(c[a].href=="javascript:showAbstract('"+d+"')"){c[a].childNodes[1].src="images/arr_black_h.gif";break}}}}function modifyBackgroundColor(b,a){if(document.getElementById){b.style.cursor="pointer";b.style.backgroundColor=a}}function showDetail(h,b,f,a){h=h||window.event;var e=h.target||h.srcElement;var c=document.getElementById(b);if(e.childNodes[0]==null){var g=new Array(e)}else{var g=new Array(e,e.childNodes[0],e.childNodes[0].childNodes[0])}var i=e.getElementsByTagName("img");if(c.style.display=="block"||c.style.display==""){c.style.display="none";for(var d=0;d<g.length;d++){if(g[d]!=null&&g[d].tagName=="IMG"){g[d].src=a}}}else{c.style.display="block";for(var d=0;d<g.length;d++){if(g[d]!=null&&g[d].tagName=="IMG"){g[d].src=f}}}};
basic.js
最新推荐文章于 2022-02-23 10:00:51 发布