if(window.location.href.toString().indexOf("wrp") > -1)// Replace sp with your portalurl name
	{
	
	try{
		// Opera 8.0+
			var isOpera = (!!window.opr && !!opr.addons) || !!window.opera || navigator.userAgent.indexOf(' OPR/') >= 0;
		
		// Firefox 1.0+
		var isFirefox = typeof InstallTrigger !== 'undefined';
		
		
		// Internet Explorer 6-11
		var isIE = /*@cc_on!@*/false || !!document.documentMode;
		
		// Edge 20+
		var isEdge = !isIE && !!window.StyleMedia;
		
		// Safari
		//var isSafari = /Safari/.test(navigator.userAgent);
		var isSafari = /constructor/i.test(window.HTMLElement) || (function (p) { return p.toString() === "[object SafariRemoteNotification]"; })(!window['safari'] || (typeof safari !== 'undefined' && safari.pushNotification));

		// Chrome 1+
		//var isChrome = !!window.chrome && !!window.chrome.webstore;
		var isChrome = /Chrome/.test(navigator.userAgent) && /Google Inc/.test(navigator.vendor);
		// Blink engine detection
		var isBlink = (isChrome || isOpera) && !!window.CSS;
		
		var output = 'Detecting browsers by ducktyping:<hr>';
		output += 'isFirefox: ' + isFirefox + '<br>';
		output += 'isChrome: ' + isChrome + '<br>';
		output += 'isOpera: ' + isOpera + '<br>';
		output += 'isIE: ' + isIE + '<br>';
		output += 'isEdge: ' + isEdge + '<br>';
		output += 'isBlink: ' + isBlink + '<br>';
		
		//alert(output);
		if(isIE ){
			alert("It appears that you are using the following browser: IE. The WRP website is best utilized using Google Chrome or Firefox browsers." );
			//write the next code based on your needs
		}
		
// 		else if(isEdge){
// 				alert("It appears that you are using the following browser: Microsoft Edge. The WRP website is best utilized using Google Chrome or Firefox browsers.");
			
// 		}
// 		else if(isChrome){
			
// 			alert(" Yippiee  !! You using Google Chrome ");
// 		}
// 		else if (isSafari) {

//     alert('It appears that you are using the following browser: Safari. The WRP website is best utilized using Google Chrome or Firefox browsers.');
// }
// 		else if(isFirefox){
			
// 			alert('Mozilla Firefox is not the best broswer to work on this tool !! Please use Google Chrome');
// 		}
	}
	catch(e){
		
		alert(e.toString());
		
	}
}