function fontZoom(size){ document.getElementById('NewsContentLabel').style.fontSize=size+'px' } function IframeTop(){ window.parent.window.scroll(0,140); } function TitleTop(){ window.parent.window.scroll(0,140); } function IframeHeight(iframeID){ var frm = document.getElementById(iframeID); var subWeb = document.frames ? document.frames[iframeID].document : frm.contentDocument; if(frm != null && subWeb != null){ frm.height = subWeb.body.scrollHeight+3; } } function TuneHeight(iframeID){ var frm = window.parent.document.getElementById(iframeID); var subWeb = window.parent.document.frames ? window.parent.document.frames[iframeID].document : frm.contentDocument; if(frm != null && subWeb != null){ frm.height =document.body.scrollHeight+3; } } var oldDIv="Div1"; function Div_switch(newDIv) { if(newDIv!=""){ if(document.getElementById(newDIv).style.display=="none") { if(oldDIv!="") { document.getElementById(oldDIv).style.display="none"; } oldDIv=newDIv; document.getElementById(newDIv).style.display=""; } else { if(oldDIv!="") oldDIv=newDIv; document.getElementById(newDIv).style.display=""; } } else{ if(oldDIv!="") { document.getElementById(oldDIv).style.display="none"; } } } function openwin(kheight,kwidth,kwords,kbody) { OpenWindow=window.open("", "newwin","height="+kheight+", width="+kwidth+",status=no,toolbar=no,scrollbars=yes,menubar=no"); //写成一行 OpenWindow.document.write("
") OpenWindow.document.write("[") OpenWindow.document.write(kwords+"] |
")
OpenWindow.document.write(kbody)
OpenWindow.document.write(" |