// this script will check if we should generate news ticker on this url
// we will use anonymous function to avoid variable conflict
(function () {
	// on which urls to display it
	var paths = [ "/easyaccess/insurance/protected#7_0_64", ];
	var pathToJS = "/easyaccess/cpe/html0/177683.js";
	
	// returns 'true' if we should display news ticker on this url
	var inPaths = function () {
		// get current full url
		var url = window.location.toString ();
		// get domain
		var domain = document.domain;
		// extract url from domain to the end
		var url = url.substr ( url.indexOf (domain) + domain.length );
		// loop through 'paths' array
		for (var i = 0; i < paths.length; i++) {
			if (paths[i] == url) {
				return true;
			}	
		}
		
		return false;
	}
	
	if (inPaths () ) {
		jQuery.getScript ( pathToJS );		
	}
}) ();