﻿function OpenClose(obj) {
    if ($get(obj).style["display"] == "none")
        $get(obj).style["display"] = "block";
    else
        $get(obj).style["display"] = "none";
}

function Close(obj) {
        $get(obj).style["display"] = "none";
}

function CallPrint(strid) {
    var prtContent = document.getElementById(strid);
    var WinPrint = window.open('', '', 'letf=0,top=0,width=1,height=1,toolbar=0,scrollbars=0,status=0');
    WinPrint.document.write(prtContent.outerHTML);
    WinPrint.document.close();
    WinPrint.focus();
    WinPrint.print();
    WinPrint.close();
}


