private boolean evaluateBackgroundClause(String str) {
		if (str.toLowerCase().startsWith("color")) {
			Color c = parseRGBColor(str.substring(5).trim());
			if (c == null)
				return false;
			view.setBackground(c);
			view.setFillMode(new FillMode.ColorFill(c));
		} else if (str.toLowerCase().startsWith("image")) {
			String s = str.substring(5).trim();
			Matcher matcher = IMAGE_EXTENSION.matcher(s);
			if (matcher.find()) {
				String address = s.substring(0, matcher.end()).trim();
				if (FileUtilities.isRelative(address)) {
					String base = (String) model.getProperty("url");
					if (base == null) {
						out(ScriptEvent.FAILED, "No directory has been specified. Save the page first.");
						return false;
					}
					address = FileUtilities.getCodeBase(base) + address;
					if (System.getProperty("os.name").startsWith("Windows"))
						address = address.replace('\\', '/');
				}
				ImageIcon icon = null;
				if (FileUtilities.isRemote(address)) {
					try {
						icon = ConnectionManager.sharedInstance().loadImage(new URL(FileUtilities.httpEncode(address)));
					} catch (MalformedURLException e) {
						e.printStackTrace();
						view.setBackgroundImage(null);
						return false;
					}
				} else {
					File file = new File(address);
					if (!file.exists())
						return false;
					icon = new ImageIcon(Toolkit.getDefaultToolkit().createImage(address));
				}
				if (icon != null) {
					icon.setDescription(FileUtilities.getFileName(s));
					view.setBackgroundImage(icon);
				}
			}
		}
		notifyChange();
		return true;
	}