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; 

