$(document).ready(function() {
		var yes = $("#selectable li .yes");
		var no = $("#selectable li .no");
		
		$(yes).bind("click", function(e){
		  var selectedvalue = $(this).next("input").attr("value");
		  return(selectedvalue);
		});
		
		$(no).bind("click", function(e){
		  var selectedvalue = $(this).next("input").attr("value");
		  return(selectedvalue);
		});

	if($("#selectable").length > 0){
		$("#selectable").selectable();	
	}
	
	if ($("#selectable").length > 0) {
        $("#selectable").selectable({
            selected: function(event, ui) {
                var checkBox = $(".ui-selected").children("input");
                checkBox.click();
                $("#more-feedback").slideDown("slow");
            }
        });
    }
	
	$("#newsTicker").newsTicker(3000);

	
	$('a.poplink').cluetip({local:true, cursor: 'pointer', dropShadow:false, cluetipClass:'inishtech', width:'180', showTitle:false, activation:'hover',  positionBy:'mouse', clickThrough:true});

});


