 // JScript File

function main_onFilter(SeatingAreaDetails,SelectedSeatingArea,TicketCount,TotalTicketCount,MaxPrice,MinPrice)
{
    
    showAllSeatingAreas(SeatingAreaDetails);
    
}
function main_onMapSelection(SeatingAreaDetails,SelectedSeatingArea,TicketCount,TotalTicketCount,MaxPrice,MinPrice)
{
    
    showAllSeatingAreas(SeatingAreaDetails);
    if(SelectedSeatingArea != null && SelectedSeatingArea != "")
    {
         showSeatingContent(SelectedSeatingArea);
    }
    
}
function main_onLoad(SeatingAreaDetails,SelectedSeatingAreag,TicketCount,TotalTicketCount,MaxPrice,MinPrice)
{
    if(SeatingAreaDetails!=null)
    {
       showAllSeatingAreas(SeatingAreaDetails);
       showSeatingContent($(".SeatingAreasFont:first").text());
       $("#divContent").css("display","block");
       
    }
}
function main_onSort()
{

}

function CertifyBBB() {
    popupWin = window.open("http://www.la.bbb.org/Business-Report/RazorGator-Inc-13160628", 'Participant', 'location,scrollbars,width=450,height=300')
    window.top.name = 'opener';
    popupWin && popupWin.focus();
}
function CertifyVerisign() {
    return false;
    popupWin = window.open("https://seal.verisign.com/splash?form_file=fdf/splash.fdf&type=GOLD&sealid=1&dn=www.tickco.com&lang=en", 'Participant', 'location,scrollbars,width=450,height=300')
    window.top.name = 'opener';
    popupWin && popupWin.focus();
}

var onDocReady = function () {
    $.fn.center = function () {
        this.css("position", "fixed");
        var f = $("div.header");
        this.css("top", 250 + $(window).scrollTop() + "px");
        this.css("left", ((f.width() - 650) / 2 + f.position().left) + "px");
        return this;
    }
    var d = $('<div id="#goPopUp" style="z-index:9999;"></div>');
    $("body").append(d.hide());
    if (!document.cookie.match(/goPopUp/g) && window.location.href.indexOf("https")<0 && 0) {
        setTimeout(function () {
            window.goPopUp = d;

            d.center().load('/gui/goPopUp.htm', function () {
                d.show();
                document.cookie = 'goPopUp=1;';
            });
        }, 45000);
    }
}

$(document).ready(onDocReady);
