/**
 * Class for the 'src' of our images. Assist with getting different sized images
 */
var ImageSrc = new Class({
	
	initialize: function(originalSrc)
	{
		this.src = originalSrc.replace('_small', '').replace('_med', '').replace('_thumb', '');
	},
	
	getFull: function()
	{
		return this.src;
	},
	
	getSmall: function()
	{
		return this.getSize('small');
	},
	
	getMedium: function()
	{
		return this.getSize('med');
	},
	
	getThumb: function()
	{
		return this.getSize('thumb');
	},
	
	getSize: function(size)
	{
		return this.src.replace(/\.(?=\w{1,3}$)/, '_' + size + '.')
	}
});
