$(document).ready( function() {

	// If browser is IE, disable BackgroundImageCache
	if (jQuery.browser.msie) {
		try {
			document.execCommand(
				"BackgroundImageCache",
				false, 
				true
			);
		} catch(err) {}
	}

	// Create images
	this.expansion		= new Image;
	this.development	= new Image;
	this.concept		= new Image;
	this.seed			= new Image;
	this.neutral		= new Image;
	
	
	this.expansion.src		= "/services/images/schema_expansion.png";
	this.development.src	= "/services/images/schema_development.png";
	this.concept.src		= "/services/images/schema_concept.png";
	this.seed.src			= "/services/images/schema_seed.png";
	this.neutral.src 		= "/services/images/schema.png";

	var _this = this;
	$("#expansion").hover(
		function() {
			$("#schema").src(_this.expansion.src);
		},
		function() {
			$("#schema").src(_this.neutral.src);
		}
	);
	$("#development").hover(
		function() {
			$("#schema").src(_this.development.src);
		},
		function() {
			$("#schema").src(_this.neutral.src);
		}
	);
	$("#concept").hover(
		function() {
			$("#schema").src(_this.concept.src);
		},
		function() {
			$("#schema").src(_this.neutral.src);
		}
	);
	$("#seed").hover(
		function() {
			$("#schema").src(_this.seed.src);
		},
		function() {
			$("#schema").src(_this.neutral.src);
		}
	);
	
});

