/** * CciFrameworkUrl * * Defines the servlet location for fetching the JSON city list. */ var CciFrameworkUrl = "//framework.cox.com/presentation/rest/3.0/locations/cities/"; /** * @class CCIPF * * Creates the CCIPF framework API object * * Revision History * * v1.0: Initial API creation. * v1.1: Added support for handing both TSW and Emergence Header/Footer Styles. * v1.2: Added new 'isResponsive' flag to load responsive header and footer. Made header/footer optional. * v1.3: Added support to load header/footer 2nd time if it fails. */ var CCIPF = window.CCIPF = new function() { // prevent console.log errors in IE8 if (!(window.console && console.log)) { console = { log: function(){} }; } var errorCounter = 0; var errorContent = "
We're sorry, we can't find this part of the page right now.
"; var loaderContent = "
"; var tswJsUrl = "//images.cox.com/presentation/tsw/residential/js/presentation.js.jgz"; var tswCssUrl = "//images.cox.com/presentation/tsw/residential/css/presentation.css.jgz"; var tswCssResponsiveUrl = "//images.cox.com/presentation/tsw/residential/css/presentation-responsive.css.jgz"; var emergenceJsUrl = "//images.cox.com/presentation/emergence/corp/en/js/gnav.js.jgz"; var emergenceCssUrl = "//images.cox.com/presentation/emergence/corp/en/css/gnav.css.jgz"; // default header content (if ajax fails) var defaultHeaderContent = "" + "
" + "
<\/div>" + "
" + "