	var dashIndex = window.location.pathname.indexOf('/', 1);
	var appName = window.location.pathname.substring(dashIndex, window.location.pathname.indexOf('/', dashIndex + 1));
		function switchImages(context){
//			var context = window.location.pathname.substring(0, dashIndex);
//			for(var i=0;i < document.images.length;i++){
//				fixImage(context, document.images[i]);
			
//			}
		}
		function fixImage(context, image){
//			if(image.src.indexOf(appName + '/') < 0){
//				image.src = context + '/docroot' + appName + image.src.substring(image.src.indexOf('/images'), image.src.length);
//			}//it is fixed
		}