window.addEvent('domready', function(){

// tips

var tips = new Tips($$('.tips'), {
	initialize:function(){
		this.fx = new Fx.Style(this.toolTip, 'opacity', {duration: 500, wait: false}).set(0);
	},
	onShow: function(toolTip) {
		this.fx.start(1);
	},
	onHide: function(toolTip) {
		this.fx.start(0);
	}
});

// password reminder

if($("reminder")){
$('reminder').addEvent('click', function(re) {			
geturl = this.getProperty('href');
splitting = geturl.split('?');
vars = splitting[1];
new Event(re).stop();
var loadevent = $('console-cnt').empty();
new Ajax('profile.php', {
method: 'get',
postBody: vars,
update: $('console-cnt')
}).request();
});
};

});