var ajaxurl = "http://capricor.com/mobile/wp-admin/admin-ajax.php/wp-admin/admin-ajax.php"; var cf_name = "Your Name"; var cf_email = "Your Email"; var cf_phone = "Your Phone..."; var cf_website = "Your Website"; function getInternetExplorerVersion() { var rv = -1; // Return value assumes failure. if (navigator.appName == 'Microsoft Internet Explorer') { var ua = navigator.userAgent; var re = new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})"); if (re.exec(ua) != null) rv = parseFloat( RegExp.$1 ); } return rv; } function checkVersion() { var msg = "You're not using Internet Explorer."; var ver = getInternetExplorerVersion(); if ( ver > -1 ) { if ( ver <= 8.0 ) return true; } return false; }