﻿// JScript File

function GetDateVB(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 PageWithParamaters = "Calendar.aspx?FormName=" + 
                                 document.forms[0].name + 
                                 "&CtrlName=" + CtrlName;
       var PopUpSettings = "width=250,height=250,top=400,left=700,toolbars=no,scrollbars=no,status=no,resizable=no";
       var ChildWindow = window.open( PageWithParamaters, 
                                      "Calendar", 
                                      PopUpSettings);
}
