function checkForNonEmbedIMSPage(){if(top.location.href.indexOf(IMS_MAIN_URL)<0){return false}else{return true}}function checkForNonEmbedSSLIMSPage(){if(top.location.href.indexOf(IMS_SECURE_URL)<0){return false}else{return true}};