﻿
var URL = "/Intellect/LoginComponent.aspx" + document.location.search;

//Create a hidden iframe to get the page component
iframe = document.createElement("IFRAME"); 
iframe.setAttribute("id", "InterneerTempLoginIframe"); 
iframe.setAttribute("src", URL); 
iframe.setAttribute("style", "display:none"); 
iframe.setAttribute("width", "0px"); 
iframe.setAttribute("height", "0px"); 
document.body.appendChild(iframe); 

//document.all("InterneerTempLoginIframe").style.display="none";


function GoToAdminPage()
{
    parent.location.href = "/Intellect/admin/";
}


