function MACTest() { var strPlatform = new String( navigator.platform ); return ( strPlatform.toLowerCase().indexOf( "mac" ) != -1 ); }