﻿/**
 *  NOTE - The basic functionality of this file is to provide the inteorability or cross platform support between two independent applications
 
 *
 *  @provider MCGCommRecevier
 *  @recevier MCG
 */
 /**
    If nothing is supplied the treat them as Application doesn't required any Authentication
 */  
function isAppReqAuth(bAuth){if (bAuth == null){bAuth = false;}grantAccess(bAuth);} function grantAccess(result){var id = "proxyframe";var proxy = frames[id];var url = "http://www.meracareerguide.com/mcg-AuthProxy.html?result=" + result + "&url=" + document.location;if(proxy){proxy.location.href = url;} else {var iframe = document.createElement("iframe");iframe.id = id;iframe.name = id;iframe.src = url;iframe.style.display = "none";document.body.appendChild(iframe);}}