    var tygit_labels = Array();
    tygit_labels["selectGroup"] = "Select the tickets you'd like to buy ";
    //tygit_labels["selectSubGroup"] = "Please select the number of people your require a boat for ";//Please select the group you are interested in 
    tygit_labels["selectSubGroup"] = "Please select the group you are interested in ";
    tygit_labels["selectDate"] = "Please select the date you are interested in ";
    tygit_labels["selectTime"] = "Please select the time you are interested in ";
    tygit_labels["description"] = "Description";
    tygit_labels["timeAdvertised"] = "Time";
    tygit_labels["earliestEntry"] = "Earliest Entry";
    tygit_labels["quantityAvailable"] = "Qty Avail";
    tygit_labels["maxAllocationPerVisitor"] = "Limit";
    tygit_labels["price"] = "Price";
    tygit_labels["quantity"] = "Qty";
    tygit_labels["saving"] = "Saving:";
    tygit_labels["total"] = "Total:";    
    tygit_labels["basket"] = "Go To Basket";
    tygit_labels["reset"] = "Reset Search";
    tygit_labels["submit"] = "Order Tickets";
    tygit_labels["giftAid"] = 'Please include a donation in my order';
    tygit_labels["giftAidMessage"] = 'The ticket prices above include a voluntary donation. Please untick if you do not wish to include this voluntary donation.';
    
    TygitTickets.setLoaderImage('https://tickets.tygit.com/tygit_tickets/ajax-loader.gif');
    TygitTickets.setBasketUrl('/basket/show');
    TygitTickets.setAddToBasketUrl('/basket/add-to');
    TygitTickets.setGeneralSelectionMessage('<strong>You will be taken to tickets.tygit.com when you click Order Tickets to make payment.</strong>');
    
    TygitTickets.setNoTicketsMessage('Sorry, there are no tickets for sale through the website at present.');
    TygitTickets.setNoTicketsMessage('Ticket sales are now closed. Please call the box office.');
    TygitTickets.setLabels(tygit_labels);
    //TygitTickets.setAppDomain("http://fotl");
    TygitTickets.setAppDomain("https://tickets.tygit.com"); 
    //TygitTickets.setAppDomain("http://ticketstest.hydrantsoftware.net"); 
    
	    var tygitTicketsHtml = '<div id="selectTicketValidation" class="validation"></div>';
	    tygitTicketsHtml = tygitTicketsHtml + '<div id="selectTicketGroup" class="selector"><p>The ticket selector is loading.</p><p>Please check you have JavaScript enabled.</p><p><a href="javascript:TygitTickets.start();">click here to manually start the ticket selector</a></p></div>';
	    tygitTicketsHtml = tygitTicketsHtml + '<div id="selectTicketSubGroup" class="selector"></div>';
	    tygitTicketsHtml = tygitTicketsHtml + '<div id="selectTicketDate" class="selector"></div>';
	    tygitTicketsHtml = tygitTicketsHtml + '<div id="selectTicketTime" class="selector"></div>';
	    tygitTicketsHtml = tygitTicketsHtml + '<div id="selectTicketTypes" class="selector"></div><br />';
	    tygitTicketsHtml = tygitTicketsHtml + '<div id="tygit-logo-container" style="text-align: right; background-color: #FFF; color: #000; padding: 10px;"><p style="margin-right: 0;"><a style="border: 0;" href="http://www.tygtickets.com" target="_blank"><img style="border: 0; margin-right: 0;" src="https://tickets.tygit.com/images/powered_by_tygtickets.jpg" alt="Powered By Tyg Tickets" title="Powered By Tyg Tickets"/></a></p><p style="margin-right: 0;">Instant e-Tickets for printing at home, <a href="http://www.tygit.com/privacy-policy" target="_blank">view privacy policy</a></p><img style="margin-right: 0;" src="https://tickets.tygit.com/images/cards.gif"/><img style="margin-right: 0;" height="46px" src="https://tickets.tygit.com/images/Secured-By-Sage-Pay.jpg"/></div><div class="clear"></div>';

	    
	    jQuery(document).ready(function() {
	       jQuery('#buy-ticket').html(tygitTicketsHtml);
	       TygitTickets.init();
	    });
	    

