/*TITLE		MSIE Version Detection ScriptMODIFIED	20/01/2007AUTHOR		Christian WachUSAGEIn the <body>:<script type="text/javascript" src="js/msie.js" language="javascript"></script>				*/function msieversion()// Return Microsoft Internet Explorer (major) version number, or 0 for others.// This function works by finding the "MSIE " string and extracting the version number// following the space, up to the semicolon{	var ua = window.navigator.userAgent	var msie = ua.indexOf ( "MSIE " )		if ( msie > 0 )        // is Microsoft Internet Explorer; return version number		return parseFloat ( ua.substring ( msie+5, ua.indexOf ( ";", msie ) ) )	else		return 0    // is other browser}
