jQuery.preloadImages = function() {
	var a = (typeof arguments[0] == 'object')? arguments[0] : arguments;
	for(var i = a.length -1; i >= 0; i--) {
		jQuery("<img>").attr("src", a[i]);
	}
}
// preloading images
var indexImages = ['img/input.png', 'x.gif', 'img/index/activate.png', 'img/index/activate_steps.png', 'img/index/login.png'];
$.preloadImages(indexImages);
