if(top == self) V(function(){

	var _pageTab = V('<div />').css({
		padding: '10px',
		position: 'fixed',
		right: '0px',
		bottom: '0px'
	}).append(
		V('<div />').addClass('size').css({
			width: '10px',
			height: '10px',
			background: 'url(/supports/administration/admin-logo.png) right bottom no-repeat black'
		})
	).append(
		V('<div />').css({
			width: '100%',
			height: '100%',
			position: 'absolute',
			right: '0px',
			top: '0px',
			width: '100%',
			height: '100%',
			background: 'url(/supports/administration/admin-bg2.png) right top no-repeat'
		})
	).append(
		V('<div />').css({
			width: '100%',
			height: '100%',
			position: 'absolute',
			left: '0px',
			bottom: '0px',
			width: '100%',
			height: '100%',
			background: 'url(/supports/administration/admin-bg2.png) left bottom no-repeat'
		})
	).append(
		V('<div />').css({
			width: '100%',
			height: '100%',
			position: 'absolute',
			left: '0px',
			top: '0px',
			background: 'url(/supports/administration/admin-bg1.png) center no-repeat'
		})
	).append(
		V('<div />').css({
			width: '15px',
			height: '15px',
			background: 'url(/supports/administration/admin-resize.png) left top no-repeat',
			position: 'absolute',
			left: '0px',
			top: '0px',
			opacity: 0.5,
			cursor: 'pointer'
		}).click(function(){
			_resizeAdminFlip();
		})
	).append(
		V('<div />').css({
			width: '15px',
			height: '15px',
			background: 'url(/supports/administration/admin-resize.png) right bottom no-repeat',
			position: 'absolute',
			opacity: 0.5,
			right: '0px',
			bottom: '0px',
			cursor: 'pointer'
		}).click(function(){
			_resizeAdminFlip();
		})
	).appendTo('body'),
	_pageTabCenter = _pageTab.find('.size'),
	_resizeAdminFlip = function(){
			if(!_pageTabCenter.hasClass('expanded'))
				
				_pageTabCenter.animate({ width:'200px', height:'200px' }, 500, 'easeOutBack', function(){
					V(this).addClass('expanded');
					
					_pageTab.append(
						V('<div />').addClass('content').css({
							width: (_pageTabCenter.width() - 20) + 'px',
							height: (_pageTabCenter.height() - 20) + 'px',
							position: 'absolute',
							left: '20px',
							top: '20px'
						}).append(
							V('<h3 />').html( _V.lang('Quick Links') )
						).append(new function(){
							var ul = V('<ul />');
							
							if(!_V.loggedin)
								ul.append(
									V('<li />').append( V('<a />').attr('href', _V.getServer('secure') + '/login/?redirect=http://' + window.location.host + '/admin').html( _V.lang('Edit my website') ) )
								).append(
									V('<li />').append( V('<a />').attr('href', _V.getServer('secure') + '/login/?redirect=' + _V.getServer('admin') ).html( _V.lang('Login to my account') ) )
								).append(
									V('<li />').append( V('<a />').attr('href', _V.getServer('secure') + '/login/?redirect=http://' + window.location.host + '/admin').html( _V.lang('Create a new account') ) )
								);
							else
								ul.append(
									V('<li />').append( V('<a />').attr('href', '/admin').html( _V.lang('Edit This Website') ) )
								).append(
									V('<li />').append( V('<a />').attr('href', _V.getServer('admin')).html( _V.lang('Enter Administration') ) )
								);
							
							ul.append(
								V('<li />').append( V('<a />').attr('href', 'http://webmail.' + _V.client.DOMAIN + '/').html( _V.lang('Go to my email') ) )
							).append(
								V('<li />').append( V('<a />').attr('href', 'http://www.vortexstudio.com/').html( _V.lang('View all available tools') ) )
							);
							
							return ul;
						})
					);
				
				});
			
			else{
				_pageTab.find('div.content').remove();
				_pageTabCenter.animate({ width:'10px', height:'10px' }, 500, 'easeInExpo', function(){ V(this).removeClass('expanded'); });
			}
	};
	
	
});

