// JavaScript Document

// SG JS SFX Extension File © 2007 Studio Gecko Interactive
// Ver 2.0
// Author: Andrei Gonzales
// Studio Gecko: http://www.studio-gecko.com
// Requires The Mootools JavaScript Framework For Some Effects To Work
// Mootools copyright (c) 2007 Valerio Proietti <http://mad4milk.net>
// This script is covered under the Creative Common's licence.
// Feel free to use and share this script on your website(s),
// but please do not resell nor claim this script as your own.
// If you are to modify this script, please do not state that
// it is still the work of Studio Gecko Interactive.
// However, we would appreciate a link back to the original file

// Smooth Scroll JS and Opera detection

var domFriendly = (!window.opera) ? window.addEvent('domready', function() 
									{   
									new SmoothScroll //MooTools SmoothScroll Effect
										(
											{
											duration: 1500,
											offset: {'x': 0, 'y': 0},
											transition: Fx.Transitions.Quad.easeInOut
											}
										);
									})
								: alert('You are currently using a browser which has existing conflicts with "MooTools", one of our AJAX frameworks. We have therefore disabled "MooTools" for the benefit of your browsing pleasure');
							
/*								
function dieOpera(){
	if (window.opera) {
			alert("Unfortunately, your current browser does not follow most of the common W3C CSS standards being used by other browsers today, and is currently incompatible with our W3C CSS-compliant website. You will be redirected to a better browser called Mozilla Firefox. We hope you will consider moving.");
			window.setTimeout('window.location="http://www.mozilla.com/en-US/firefox/"; ',3000);
		}
}

window.onload = dieOpera;

function sodIE(){
	if (window.ie){
		var Tips2 = new Tips($$('.Tips2'), {
	initialize:function(){
		this.fx = new Fx.Style(this.toolTip, 'opacity', {duration: 100, wait: false}).set(0);
	},
	onShow: function(toolTip) {
		this.fx.start(1);
	},
	onHide: function(toolTip) {
		this.fx.start(0);
	}
});
	}
}
*/
