/*
*  File           : browserdetect.js
*  Author(s)      : Abdulla Khan
*  Creation Date  : Dec 17, 2008
*  Functionality  : This file is responsible for detecting the version of browser.
*  Dependencies   :
*  Copyright      : P&G
*  Modifications  : <Author> <Date> <Description of Modification>
*/




document.write('<link rel="stylesheet" href="data_root/en_US/style/');
var agt=navigator.userAgent.toLowerCase();
var plat=navigator.platform.toLowerCase();

if (agt.indexOf('opera') != -1) document.write('style.css');
else if (agt.indexOf('apple') != -1) document.write('style.css');
else if (agt.indexOf('msie 7.0') != -1) document.write('ie7.css');
else if (agt.indexOf('msie 6.0') != -1) document.write('ie6.css');

else if (agt.indexOf('firefox') != -1) 
		if (plat=="win32"){
			document.write('ffWin.css');
		}
		else if (plat=="win64"){
			document.write('ffWin.css');
		}
		else if (plat=="wince"){
			document.write('ffWin.css');
		}
		else if (plat=="macintel"){
			document.write('ffMac.css');
		}
		else if (plat=="macppc"){
			document.write('ffMac.css');
		}
else document.write('default.css');
document.write('" type="text/css">');

	