var Initializer = Class.create({
	initialize: function(args) {
		this.args = args;
		Event.observe(window, 'load', this.onWindowLoad.bindAsEventListener(this));
	},
	onWindowLoad: function() {
		// display main icon
		if (($$('.icon-main')) && ($$('.icon-main')[0])) {
			$$('.icon-main')[0].appear();
		}
		// look for index div
		if ($$('body')[0].hasClassName('index')) {
			this.rotator = new PARotator(this.args);
		}
	}
});

