﻿// JScript File
// Function for display terms list..   
   function TermsDisplay(terms,ln){
        
        var _terms_Td=document.getElementById(terms);
        var _line_no=document.getElementById(ln);
        
       if( _terms_Td.style.display == "none")
       {
            _terms_Td.style.display="block";
            _line_no.style.display="block";
       }
       else
       {
           _terms_Td.style.display="none";
           _line_no.style.display="none";
       }
   }
   
   function terms()
   {
     window.open ("terms.aspx","mywindow","menubar=1,resizable=1,scrollbars=0,width=350,height=250"); 
   }
// End of Function TermsDisplay() 

function AnnouncementDisplay(id)
{
    var tmp=id.substr(0,22);
    var _terms_Td=document.getElementById(tmp+"line1");
    var _line_no=document.getElementById(tmp+"Terms1");
        
    if( _terms_Td.style.display == "none")
    {
        _terms_Td.style.display="block";
        _line_no.style.display="block";
    }
    else
    {
        _terms_Td.style.display="none";
        _line_no.style.display="none";
    }
}
