/*
	File Type:  JavaScript
	File:       localScripts.js
	Purpose:    Provides scripts for 'local' html pages
	Date:       18 May 2009
	Author:     P G Swain
*/

// jquery Scripts
// ==============

// Enable form fields using the jquery onload function.  The following 'onload' function can default to
// $(function()
//  {
//    code
//  });
//  To toggle a target’s disabled status use "$('#target').attr("disabled", true);" to disable the target and
//		"$('#target').attr("disabled", false);"
//	or
//		"$('#target')..removeAttr("disabled")
//	to remove the disabled status.
//  In this case the form's fields are already disabled and we want to enable them if javaScript is enabled in the browser.

$(document).ready(function()
{
	/*
	$("select").removeAttr("disabled");
	$("input").removeAttr("disabled");
	$("textarea").removeAttr("disabled");
	*/
	/*
	$("select").attr("disabled", false);
	$("input").attr("disabled", false);
	$("textarea").attr("disabled", false);
	*/
	$(':disabled').attr("disabled", false);
});
