<%@ Page Title="" Language="C#" MasterPageFile="~/helpdesk/KBase.master" AutoEventWireup="true" CodeBehind="Kbase_list.aspx.cs" Inherits="helpdesk.helpdesk.Kbase_list" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
 
    <script type="text/javascript">

function getDocHeight(doc) {
    doc = doc || document;
    // from http://stackoverflow.com/questions/1145850/get-height-of-entire-document-with-javascript
    var body = doc.body, html = doc.documentElement;
    var height = Math.max( body.scrollHeight, body.offsetHeight, 
        html.clientHeight, html.scrollHeight, html.offsetHeight );
    return height;
}

function setIframeHeight(id) {
    var ifrm = document.getElementById(id);
    var doc = ifrm.contentDocument? ifrm.contentDocument: ifrm.contentWindow.document;
    ifrm.style.visibility = 'hidden';
    ifrm.style.height = "10px"; // reset to minimal height in case going from longer to shorter doc
    // some IE versions need a bit added or scrollbar appears
    ifrm.style.height = getDocHeight( doc ) + 4 + "px";
    ifrm.style.visibility = 'visible';
}
</script>


  
    <iframe src="Kbase_Article_List.aspx" id="main" frameborder="0"
         width="99%"
         scrolling="no" onload="setIframeHeight(this.id)" name="main"  
        
        
           ></iframe>





   
</asp:Content>
