// JavaScript Document

        
function GetDate(AppPath, CtrlName){   
/****************************************************      
Use Javascript method (window.open) to PopUp a new window    
which contain a Calendar Control. In the meantime, we'll    
pass the Parent Form Name and Request Control Name in the QueryString!      
*****************************************************/       

    var a = ""
    a=AppPath + 'Calender.aspx?FormName=' + document.forms[0].name + '&CtrlName=' + CtrlName;
    ChildWindow = window.open(a, "PopUpCalendar", "width=270,height=300,top=200,left=500,toolbars=no,scrollbars=no,status=no,resizable=yes");    
 
 }   
 
 function CheckWindow() {      
 
    ChildWindow.close();   
 
 }


