﻿
function OpenLiveSupport() {
        //var _liveHelpDialogFeature = "status=1,width=500,height=400,resizable=1";
        //var encode=escape
        //if(typeof(encodeURIComponent)!="undefined")
        //encode=encodeURIComponent;

        //var url="http://www.gizmosupport.com/cutelive/CuteSoft_Client/CuteChat/SupportRedirect.aspx?Referrer="+encode(document.referrer)+"&Url="+encode(location.href)+"&_time="+(new Date().getTime());
        //var win;
        //try
        //{
        //win=window.open(url,'',_liveHelpDialogFeature);
        //}
        //catch(x)
        //{
        //}

        //if(win==null)
        //{
        //alert("Pop-up Blocker Detected.");
        //}
        window.open('chat.aspx', 'mywindow', 'width=610px,height=380px,toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,copyhistory=no, resizable=no');
    }
    
   function OpenCallBack() {
        var url = "CallBack.aspx";
        var win;
        try {
            win = window.open(url, '', 'status=1,width=620px,height=390px,resizable=0');
        }
        catch (x) {
        }

        if (win == null) {
            alert("Pop-up Blocker Detected.");
        }
    }

    function OpenEMail() {
        var url = "Email.aspx";
        var win;
        try {
            win = window.open(url, '', 'status=1,width=620px,height=370px,resizable=0');
        }
        catch (x) {
        }

        if (win == null) {
            alert("Pop-up Blocker Detected.");
        }
    }

