/**
 * Captions
 * 
 * Version 1.0
 * Febuary 5, 2009
 *
 * Copyright (c) 2009 Alex Kondys; Developed whilst under tenure at Revium (http://revium.com.au)
 * Licensed under the GPL licenses.
 * http://www.gnu.org/licenses/gpl.txt
 **/

jQuery.fn.captions = function(value){

	this.wrap("<div class='caption' style='width:"+this.attr("width")+"px;'></div>");
	this.after("<span>"+this.attr("alt")+"</span>");

};
