var DataRating_AOA = DataRating.extend({
	initialize: function(imgClass, options){
		this.parent(imgClass, options);
	},
	
	logon: function(){
		this.background = new Element('div', {
			'styles': {
				'background-color': '#000000',
				'opacity': '0.7',
				'position': 'fixed',
				'top': '0',
				'left': '0',
				'width': '100%',
				'height': '100%',
				'z-index': '60'
			}
		}).inject($$('body')[0]);
		this.loginBox = new Element('div', {
			'styles': {
				'position': 'fixed',
				'top': '50%',
				'left': '50%',
				'margin-top': '-74px',
				'margin-left': '-225px',
				'width': '450px',
				'z-index': '61',
				'font': '11px Arial',
				'border': '1px solid #ECECEC'
			}
		}).inject($$('body')[0]);
		var heading = new Element('div', {
			'styles': {
				'background': '#e6f2ff',
				'height': '22px',
				'padding': '11px 10px 0 20px',
				'color': '#444444',
				'font-weight': 'bold'
			}
		}).injectInside(this.loginBox);
		new Element('div', {
			'styles': {
				'float': 'left'
			}
		}).setHTML('SIGN-IN REQUIRED').injectInside(heading);
		new Element('div', {
			'styles': {
				'color': '#ffffff',
				'background-color': '#e10a0a',
				'padding': '0 4px',
				'font-weight': 'bold',
				'margin-top': '-1px',
				'float': 'right',
				'cursor': 'pointer'
			},
			'events': {
				'click': (function(e){
					e = new Event(e).stop();
					this.loginBox.remove();
					this.background.remove();
				}).bindWithEvent(this)
			}
		}).setHTML('X').injectTop(heading);
		new Element('div', {
			'class': 'box_contents',
			'styles': {
				'background-color': '#ffffff',
				'line-height': '18px',
				'padding': '20px'
			}
		}).setHTML('<p style="padding: 0">A login is required to access this website feature. If you already have an account, you may login now. If you do not have an account, you may create a free account. Creating a free account only takes a minute and allows you access to all our website features! <a href="/login.php" title="Login Now">Login now</a> or <a href="/account-new.php" title="Create a Free Account">create a free account</a> today!</p>').injectInside(this.loginBox);
		
		this.active = false;
	}
});