$(document).ready(function() {
	// Do not edit the following function calls:
	
	// Call your functions here:
	
	$('.col-a .channel-breakdown').hide();
     // shows the slickbox on clicking the noted link
 
    $('.col-a p.available-channels a').click(function() {
        $('.col-a .channel-breakdown').toggle(400);
		$(this).addClass('selected');
        return false;
      });
	$('.col-b .channel-breakdown').hide();
     // shows the slickbox on clicking the noted link
 
    $('.col-b p.available-channels a').click(function() {
        $('.col-b .channel-breakdown').toggle(400);
		$(this).addClass('selected');
        return false;
      });	
	
	
	//$('.col-b .during-phase li .channel-breakdownq').hide();
	
	//$('.col-b .during-phase li p a').click(function() {
        //$('.col-b .during-phase li .channel-breakdownq').toggle(400);
        //return false;
      //});	
	
	$('.col-b .during-phase li .listing-wrap').hide();
	$('.col-b .during-phase li p a.available-channels').bind('click', function() {
		   $(this).parents('li').children('.listing-wrap').toggle()
		   return false;
	 });
	$('.col-b .during-phase li .listing-wrap').hide();
	$('.col-b .during-phase li p.step-dates a').bind('click', function() {
		   $(this).parents('li').children('.listing-wrap').toggle()
		   return false;
	 });
	
	
	
	
	$('.col-c .channel-breakdown').hide();
     // shows the slickbox on clicking the noted link
 
    $('.col-c p.available-channels a').click(function() {
        $('.col-c .channel-breakdown').toggle(400);
		$(this).addClass('selected');
        return false;
      });
	
	
	
	
	
	// This function finds the li with the id of bookmark and adds another li after it, which is the print page link
	$("li#trade-view").after("<li id=\"print\" title=\"Print this page\">" + "<a href=\"#print\">Print this page</a>" + "</li>");
	// It then allows the li with id of print to print the page on click
	$("li#print").bind("click", function() { window.print(); });
	
	
	$("#transmitter-box").hide();
      //shows the slickbox on clicking the noted link
	$("a#likely-transmitter").click(function() {
    	$("#transmitter-box").toggle(400);
       return false;
     });
	

	
	
	
	
	
});

// Do not edit the following functions:



// Your functions go here




//alert ("We have this")
