var isIE = (document.all && window.ActiveXObject && !window.opera) ? true : false;
var isIE8 = (parseInt(navigator.userAgent.toLowerCase().match( /msie (\d+)/ )[1], 10 )>=8);

