﻿/*============================================================
Filename:       newidea.js
Created:        03/11/2009
Modified:        03/11/2009
Description:    To enabled the check box to say they have read the T & C's
============================================================*/
$(document).ready(function() {

    var hrefTC = $("[id$=hrefTC]");
    var tandc = $("[id$=tandc]");
    var txtHaveRead = $("[id$=txtHaveRead]");

    //hide the textbox thay will hold the value to say they have read the T & C
    txtHaveRead.hide();

    //when setting focus on the order number clear the title value
    hrefTC.click(function() {
        //return confirm("Are you sure?");
        tandc.removeAttr('disabled');
        txtHaveRead.val('yes');
    });

});