/**
* Setting .mac class on bodytag if on mac
* - We can then use the .mac selector in CSS to make speciel mac exceptions...
* 
* @param none
* @return Void
*/
function prepare_for_mac()
{
	if(navigator.platform.indexOf("Mac") != -1 || navigator.userAgent.indexOf("Safari") != -1)
	{
		document.body.className = ( navigator.userAgent.indexOf("Safari") != -1 ? 'mac saf' : 'mac' );
	}
}

// Add "onLoad events"
addLoadEvent(prepare_for_mac);