/** * Created by JetBrains PhpStorm. * User: Sean * Date: 14/11/11 * Time: 12:16 PM * To change this template use File | Settings | File Templates. */jQuery(document).ready(function($) {	// Image corrections to ensure any root level images from the CMS content entry shows up, negating the ../app to app/	$("img[src^='../app']").each(function(){		var i = $(this).attr('src').indexOf("/",3);		//alert("img i= "+i+", src = "+$(this).attr('src'));		$(this).attr('src','app'+$(this).attr('src').substr(i));	});});
