/*
 * jQuery JavaScript Plugin jquery.uniqueId 1.0.0
 * http://bugsoftware.co.uk/jQuery/
 *
 * Copyright (c) 2009 Ritchie Comley
 * Dual licensed under the MIT and GPL licenses.
 *
 * Date: 2009-09-16 (Thu, 16 Sept 2009)
 * Revision: 1
 *
 * Dependencies:
 * jQuery 1.3.2 (jquery.com)
 * 
 */


jQuery.fn.uniqueId = function(pre, force)
{
	if(pre == null)
	{
		pre = "unique";
	}

	return this.each(function()
	{
		if (!this.id || force)
		{
			this.id = pre + (++jQuery.fn.uniqueId.index);
		}
	});
};

jQuery.fn.uniqueId.index = 0; 

