window.addEvent("domready", function(){
	//var links = $$("a");
	new SmoothScroll();

	new Tips($$('.tooltip'), {
	offsets: {y: -30},
	initialize:function(){
		this.fx = new Fx.Style(this.toolTip, 'opacity', {duration: 400, wait: false}).set(0);
	},
	onShow: function(toolTip) {
		this.fx.start(1);
	},
	onHide: function(toolTip) {
		this.fx.start(0);
	}
});

	$$(".volatile").each(function(el){
		$(el).addEvent("focus", function(){
			if(this.getValue() == this.getProperty("title")) {
				this.value = "";
			}
		});
	});
});

window.addEvent("load", function(){

});


function addbookmark(){
if (document.all)
window.external.AddFavorite(location.href, document.title);
}