/*
	Copyright (c) 2008 SixtySeconds Creative Media, www.sixtyseconds.co.za
	
	Permission is hereby granted, free of charge, to any person
	obtaining a copy of this software and associated documentation
	files (the "Software"), to deal in the Software without
	restriction, including without limitation the rights to use,
	copy, modify, merge, publish, distribute, sublicense, and/or sell
	copies of the Software, and to permit persons to whom the
	Software is furnished to do so, subject to the following
	conditions:
	
	The above copyright notice and this permission notice shall be
	included in all copies or substantial portions of the Software.
	
	THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
	EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
	OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
	NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
	HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
	WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
	FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
	OTHER DEALINGS IN THE SOFTWARE.
	
	mootools.harmonia.js - adds the platform/engine classes for the reset stylesheets to function.
*/

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

	$(document.body).addClass(Browser.Platform.name);	
	
	if (Browser.Engine.trident)  $(document.body).addClass('trident');
	if (Browser.Engine.trident4)  $(document.body).addClass('trident4');
	if (Browser.Engine.trident5)  $(document.body).addClass('trident5');
	
	if (Browser.Engine.gecko)  $(document.body).addClass('gecko');
	
	if (Browser.Engine.webkit)  $(document.body).addClass('webkit');
	if (Browser.Engine.webkit419)  $(document.body).addClass('webkit419');
	if (Browser.Engine.webkit420)  $(document.body).addClass('webkit420');
	
	if (Browser.Engine.presto)  $(document.body).addClass('presto');
	if (Browser.Engine.presto925)  $(document.body).addClass('presto925');
	if (Browser.Engine.presto950)  $(document.body).addClass('presto950');
		
	/*
		http://docs.mootools.net/Core/Browser
		
		* Browser.Engine.trident - (boolean) True if the current browser is Internet Explorer (any).
		* Browser.Engine.trident4 - (boolean) True if the current browser is Internet Explorer 6.
		* Browser.Engine.trident5 - (boolean) True if the current browser is Internet Explorer 7.
		* Browser.Engine.gecko - (boolean) True if the current browser is Mozilla/Gecko.
		* Browser.Engine.webkit - (boolean) True if the current browser is Safari/Konqueror.
		* Browser.Engine.webkit419 - (boolean) True if the current browser is Safari2/WebKit before version 419.
		* Browser.Engine.webkit420 - (boolean) True if the current browser is Safari3 (WebKit SVN Build)/WebKit after version 419.
		* Browser.Engine.presto - (boolean) True if the current browser is Opera.
		* Browser.Engine.presto925 - (boolean) True if the current browser is Opera before or equal version 9.25.
		* Browser.Engine.presto950 - (boolean) True if the current browser is Opera major or equal version 9.50.
		* Browser.Engine.name - (string) The name of the engine.
		* Browser.Plugins.Flash.version - (number) The major version of the flash plugin installed.
		* Browser.Plugins.Flash.build - (number) The build version of the flash plugin installed.
	*/
});