add: Timeline.Platform.os.isUnix = (ua.indexOf('x11') != -1);  /* *  Browser */ Timeline.Platform.browser.isIE = (an.indexOf("microsoft") != -1); Timeline.Platform.browser.isNetscape = (an.indexOf("netscape") != -1); Timeline.Platform.browser.isMozilla = (ua.indexOf("mozilla") != -1); Timeline.Platform.browser.isFirefox = (ua.indexOf("firefox") != -1); Timeline.Platform.browser.isOpera = (an.indexOf("opera") != -1);   var parseVersionString = function(s) { var a = s.split("."); Timeline.Platform.browser.majorVersion = parseInt(a[0]); Timeline.Platform.browser.minorVersion = parseInt(a[1]); }; var indexOf = function(s, sub, start) { var i = s.indexOf(sub, start); return i >= 0 ? i : s.length; };  if (Timeline.Platform.browser.isMozilla) { var offset = ua.indexOf("mozilla/"); if (offset >= 0) { parseVersionString(ua.substring(offset + 8, indexOf(ua, " ", offset))); } } if (Timeline.Platform.browser.isIE) { var offset = ua.indexOf("msie "); if (offset >= 0) { parseVersionString(ua.substring(offset + 5, indexOf(ua, ";", offset))); } } if (Timeline.Platform.browser.isNetscape) { var offset = ua.indexOf("rv:"); if (offset >= 0) { parseVersionString(ua.substring(offset + 3, indexOf(ua, ")", offset))); } } if (Timeline.Platform.browser.isFirefox) { var offset = ua.indexOf("firefox/"); if (offset >= 0) { parseVersionString(ua.substring(offset + 8, indexOf(ua, " ", offset))); } } 
context: (function() {    Timeline.Platform.isIE= (navigator.appName.indexOf("Microsoft") != -1);    	var ua = navigator.userAgent.toLowerCase(); 	Timeline.Platform.isWin = (ua.indexOf('win') != -1);	Timeline.Platform.isWin32 = Timeline.Platform.isWin && (           ua.indexOf('95') != -1 ||         ua.indexOf('98') != -1 ||         ua.indexOf('nt') != -1 ||         ua.indexOf('win32') != -1 ||         ua.indexOf('32bit') != -1    );})();
meta: 4232	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4232/479ad8f7ea85f3c67588648e09d9b8c4fd84f9df/platform.js/buggy/src/main/webapp/api/scripts/util/platform.js