//iframe页面加载完成后调用ocx方法
var iframeLoaded = function (iframe) {
if (iframe.src.length > 0) {
if (!iframe.readyState || iframe.readyState == "complete") {
document.getElementById('frame_content').contentWindow.loginOcx(_cmsIp, _cmsPort, _username, _password,0/*,deviceId,channelnum*/);
//document.getElementById('frame_content').contentWindow.showOrganization();
}
}
}