团学组织
'; } else{ document.getElementById(PLTS[cur1].portletId).innerHTML=response; } } catch(e){} var regx=new RegExp(']*?>([\\s\\S]*?)<\\/scr'+'ipt\\s*>|]*?\\/>','img'); var arr; while((arr = regx.exec(response)) != null){ if(arr.length){ if(arr.length >=2){ var regx2 = new RegExp("]*?\\bsrc=\\s*('[^>]*'|\"[^>]*\"|[\\S]*)\\s*\\/?>",'im'); var srcArr=regx2.exec(arr[0]); if(srcArr!=null){ var src= srcArr[1]; if(src){ if((src.charAt(0)=='"') || (src.charAt(0)=="'")){ src=src.substr(1,src.length-2); } loadScript(src); } } else{ execJavaScript(arr[1]); } } } } } cur1++; loadps(); } } function loadScript(s){ try{ var sc=document.createElement('script'); sc.type='text/javascript'; sc.language='javascript'; sc.src=s; document.body.appendChild(sc); }catch(e){} } function execJavaScript(s){ try{ var sc=document.createElement('script'); sc.type='text/javascript'; sc.language='javascript'; sc.text=s; document.body.appendChild(sc); }catch(e){} } window.onload=loadps;
| |
|
|