var url = window.location.href; var paramJ = ""; KeysValues = url.split(/[\?&]+/); for (i = 0; i < KeysValues.length; i++) { KeyValue = KeysValues[i].split("="); if (KeyValue[0] == "j") { paramJ = "&j=" + KeyValue[1]; } } var HTML = ""; document.write(HTML); var eventMethod_3 = window.addEventListener ? "addEventListener" : "attachEvent"; var eventer_3 = window[eventMethod_3]; var messageEvent_3 = eventMethod_3 == "attachEvent" ? "onmessage" : "message";eventer_3(messageEvent_3,function(e) { var temp = e.data.split("|"); var frame_id = "BB_Frame_" + temp[0]; if(document.getElementById(frame_id)){ document.getElementById(frame_id).style.height = parseInt(temp[1]) + "px"; } },false);