/********************************************************************/
/* The purpose of this script is to disable any anchor and 			*/
/* onclick  or doubleclick that is selected.						*/
/* By Tanner Naeher, Coyote6 GraphX, coyote6graphx.com.				*/
/********************************************************************/

// Start once the document is ready.
$(document).ready(function(){
		// Write the date into the date field.
		disable_anchors ('.incomplete');
});

// Disable all anchors with a class of incomplete.
function disable_anchors (id) {
	d = $(id);
	d.css("color", "#DDDDDD");
	d.css("text-decoration", "none");
	d.attr("onclick", '');
	d.removeAttr("onclick");
	d.removeAttr("href");
	c = d.children();
	c.css("color", "#DDDDDD");
	c.css("text-decoration", "none");
	c.attr("onclick", '');
	c.removeAttr("onclick");
	c.removeAttr("href");	
}