// JavaScript Document var oldIdFlag = "itemId1"; function dhItemFunc(nowObj){ if(oldIdFlag==""){ nowObj.background='/website/images/button3_on.gif'; oldIdFlag = nowObj.id; }else{ var oldObj = document.getElementById(oldIdFlag); oldObj.background='/website/images/button3.gif'; oldObj.style.color="#000000"; oldIdFlag = nowObj.id; nowObj.background='/website/images/button3_on.gif'; nowObj.style.color="#ffffff"; } } var oldIdFlag1 = "item1Id1"; function dhItemFunc1(nowObj){ if(oldIdFlag==""){ nowObj.background='/website/images/button3_on.gif'; oldIdFlag1 = nowObj.id; }else{ var oldObj = document.getElementById(oldIdFlag1); oldObj.background='/website/images/button3.gif'; oldObj.style.color="#000000"; oldIdFlag1 = nowObj.id; nowObj.background='/website/images/button3_on.gif'; nowObj.style.color="#ffffff"; } } function resize() { try{ var qq =document.getElementById('qq'); //alert("document.qq.contentDocument.body.offsetHeight:"+qq.contentDocument.body.offsetHeight); if(qq.contentDocument!=null && qq.contentDocument!="undefined"){ qq.height = qq.contentDocument.body.offsetHeight+50 } if(qq.document!=null && qq.document!="undefined"){ qq.height = document.qq.document.body.offsetHeight+50 } //qq.setAttribute('height', document.qq.contentDocument.body.offsetHeight+50); }catch(e){ alert('E:'+e.getMessage()); var qq =document.getElementById('qq'); qq.setAttribute('height', 1000); } }