function preloader() {
	var cssRules = '';

	$A(document.styleSheets).each(function(sheet, i) {
		if(i > 0) {
			if (sheet.cssRules) {
				$A(sheet.cssRules).each(function(rule) {
					// good browsers
					if (rule.cssText) {
						cssRules+=rule.cssText;
						
					// Safari2
					} else {
						for (style in rule.style) {
							if (Object.isString(rule.style[style])) cssRules+=rule.cssText;
						}
					}
				});

			// IE
			} else if (sheet.cssText) {
				cssRules+=sheet.cssText;
			}
		}
	});

	var section = document.location.toString().match(/\w*:\/\/[^\/]*\/([^\/]*)/);
	if (section.length>0) section = section[1];
	var search = new RegExp('\/'+section+'\/([^\)]*)', 'g');

	if (!cssRules.blank()) {
		var matches = cssRules.match(search);

		if (matches) {
			matches.each(function(match) {
				var image = new Image();
				image.src = match;
			});
		}
	}
};

preloader.delay();
