<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Admin.Master" CodeBehind="zSandbox.aspx.vb" Inherits="RGBC_Forecast.zSandbox" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

  <script type="text/javascript">

  function jsViewComments(obj, Period, BrandID, CustomerNo) {
    //ini
    var WinSettings = "center:yes;resizable:yes;scrollbars:no;dialogHeight:350px;dialogWidth:480px;help=no;unadorned=yes;";
    var args = new Array(Period, BrandID, CustomerNo);

    //run
    var url = "Comments.aspx?P=" + Period + "&BID=" + BrandID + "&C=" + CustomerNo;
    //alert(url);
    args = window.showModalDialog(url, args, WinSettings);
    //alert(args);
    if (args != null)
      obj.title = args;
  } 
  
</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
  
<br />
  <input id="Text1" type="text" title="Arr" ondblclick="jsViewComments(this, '200910', 6, 'HISTJ1H')" value="double click for comments"/>
  <br />
  <asp:Button ID="Button1" runat="server" Text="Apply" />
&nbsp;<asp:Button ID="btnTestXtab" runat="server" Text="test xtab" />
&nbsp;

</asp:Content>
