﻿$(document).ready(function () {
							
					
							

    //Hide the Acquired Heads Up Technologies section when the dom is ready (a little sooner then page load)
    $('#acquiredHeasUpTechRadioGroup_hiddenContent').hide();

    //Show and hide the Acquired Heads Up Technologies Radio Section
    $("input:radio[@name=acquiredHeasUpTechRadioGroup]").click(function () {
        if ($(this).val() == 'yes' && this.id == "acquiredHeasUpTechRadioGroup_yes") {            
            $('#acquiredHeasUpTechRadioGroup_hiddenContent').slideDown();
        }
        else if ($(this).val() == 'no' && this.id == "acquiredHeasUpTechRadioGroup_no") {
            $('#acquiredHeasUpTechRadioGroup_hiddenContent').hide('sloow');
        }
    });


    $(function () {
        $('.hover-star').rating({
            // 'this' is the hidden form element holding the current value
            // 'value' is the value selected
            // 'element' points to the link element that received the click.
            callback: function (value, link) {
                var tip = $('#' + this.title);
                tip[0].data = tip[0].data || tip.html();
                tip.html(this.value);
            }
        });
    });


});


        