skinPath = jgalleryContextPath + "/skins/" + skin;
	private void readConfiguration() throws GalleryException	{		cols = configuration.getInt("index.columns", cols);		rows = configuration.getInt("index.rows", rows);		skin = configuration.getString("skin", skin);		indexJsp = "/skins/" + skin + "/index.jsp";		slideJsp = "/skins/" + skin + "/slide.jsp";		style = configuration.getString("style", style);		String s = configuration.getString("sortingOrder");		if ("filedate".equals(s))		{			sortingOrder = ImageComparator.SORTBYFILEDATE;		}		else if ("exifdate".equals(s))		{			sortingOrder = ImageComparator.SORTBYEXIFDATE;		}		else if ("name".equals(s))		{			sortingOrder = ImageComparator.SORTBYNAME;		}		else if ("none".equals(s))		{			sortingOrder = ImageComparator.SORTNONE;		}		else		{			sortingOrder = ImageComparator.SORTNONE;		}		isShowImageNum = configuration.getBoolean("showImageNum",				isShowImageNum);		folderIconStyle = FOLDER_ICON_RANDOM;		s = configuration.getString("foldericon.style");		if ("icon".equalsIgnoreCase(s))		{			folderIconStyle = FOLDER_ICON_ICON;		}		thumbsdir = configuration.getString("thumbnails.dir", thumbsdir);		isCreateThumbs = configuration.getBoolean("thumbnails.create",				isCreateThumbs);		thumbSize = configuration.getInt("thumbnails.size", thumbSize);		thumbQuality = configuration.getFloat("thumbnails.quality",				thumbQuality);		// parentlink.galleries=		resResourcePath = "/skins/" + skin + "/res";		resPath = jgalleryContextPath + "/skins/" + skin + "/res";		stylePath = jgalleryContextPath + "/skins/" + skin + "/styles/" + style				+ ".css";		s = configuration.getString("parentlink");		if (s == null)		{			String s1 = folderPath.substring(1, folderPath.indexOf('/', 1));			s = configuration.getString("parentlink." + s1);		}		if (s != null)		{			parentlink = s;		}		setIconDimensions();		configuration.getUserVariables(variables);	}