﻿ function GetEl2(elName)
{
     return document.all ? document.all[elName] : document.getElementById(elName);
}
function HideLoading()
{
   
}
function ShowLoading()
{
   
   
}
function autoIframe(){
    var iFrame = parent.document.getElementById('mainFrame');
	if (iFrame && iFrame.contentDocument && iFrame.contentDocument.height) // firefox 
            iFrame.style.height = iFrame.contentDocument.height + "px"; 
    else if (iFrame)
		    iFrame.style.height=parent.mainFrame.document.body.scrollHeight + "px";	
    autoIframeHaber();
}
function autoIframeHaber(){

    var iFrame = parent.document.getElementById('haberFrame');
	if (iFrame && iFrame.contentDocument && iFrame.contentDocument.height) // firefox 
            iFrame.style.height = iFrame.contentDocument.height + "px"; 
    else if (iFrame)
		    iFrame.style.height=parent.haberFrame.document.body.scrollHeight + "px";	
}