﻿
    var webExWin;
    var URLDate =  new Date();
    var URLPastMonth = URLDate.getMonth();
    var URLPresentMonth = URLDate.getMonth() + 1;
    var URLDay = URLDate.getDate();
    var URLYear = URLDate.getFullYear();
    
    function goToWebEx()
    {
      webExWin=window.open();
      webExWin.location="https://cleanenergy.webex.com/mw0305l/mywebex/default.do?siteurl=cleanenergy";
      setTimeout("goToWebExList()", 5000);
    }
    function goToWebExList()
    {
     webExWin.location="https://cleanenergy.webex.com/cmp0305l/webcomponents/calendar/calendar.do?siteurl=cleanenergy&serviceType=MC&pageNum=1&timezoneID=0&showpast=false&showreg=false&tabType=search&searchKeyWord=eecbg";
    }
    
    function makeURL()
    {
    var webExURL;
    
    webExURL = "https://fedgovdemo.webex.com/ec0600l/eventcenter/event/searchEvent.do?siteurl=fedgovdemo&theAction=result&searchType=0&condition=eecbg&startMonth=" + URLPastMonth + "&startDate=" + URLDay + "&startYear=" + URLYear + "&endMonth=" + URLPresentMonth + "&endDate=" + URLDay + "&endYear=" + URLYear;
    document.write(webExURL);
    }
    