Function setiframeheight (down) {var sys ={}; var UA = navigator. useragent. tolowercase (); var s; (S = UA. match (/MSIE ([\ D.] + )/))? SYS. Ie = s [1]: (S = UA. Match (/Firefox \/([\ D.] + )/))? SYS. Firefox = s [1]: (S = UA. Match (/chrome \/([\ D.] + )/))? SYS. Chrome = s [1]: (S = UA. Match (/opera. ([\ D.] + )/))? SYS. Opera = s [1]: (S = UA. Match (/version \/([\ D.] +). * Safari /))? SYS. safari = s [1]: 0; var ptar = NULL; If (document. getelementbyid) {ptar = document. getelementbyid (down);} else {eval ('ptar = '+ down +'; ');} ptar. style. display = "Block"; if (sys. IE) {If (sys. ie = '9. 0') {ptar. height = ptar.content1_doc ument. body. offsetheight + 15 + "PX"; ptar. width = ptar.content1_doc ument. body. scrollwidth + "PX";} else if (sys. ie = '8. 0 ') {debugger; ptar. height = ptar. document. body. offsetheight + 15 + "PX"; ptar. width = ptar. document. body. scrollwidth + "PX";} else {ptar. height = ptar. document. body. scrollheight + 25 + "PX"; ptar. width = ptar. document. body. scrollwidth + "PX" ;}} if (sys. firefox) {ptar. height = ptar. contentdocument. body. offsetheight + 15 + "PX"; ptar. width = ptar. contentdocument. body. scrollwidth + "PX";} If (sys. chrome) {ptar. height = ptar. contentdocument. body. offsetheight; ptar. width = ptar. contentdocument. body. scrollwidth;} If (sys. opera) {ptar. height = ptar. contentdocument. body. offsetheight; ptar. width = ptar. contentdocument. body. scrollwidth;} If (sys. safari) {If (ptar. contentdocument. body. offsetheight <= '000000') {ptar. height = ptar. contentdocument. body. offsetheight + 10;} else {ptar. height = ptar. contentdocument. body. offsetheight;} ptar. width = ptar. contentdocument. body. scrollwidth ;}}