/*Ask Ford Sticky*/ var EP2 = EP2 || {}; var EngineGlobals = EngineGlobals || {}; !(function($ ,exports,window,undefined){ "use strict"; EP2.AskFordSticky = function(options){ var defaults = { }; this.options = $.extend({}, defaults, options); this.expr = parseInt(this.options.expr); this.enabled = this.options.enabled; this.init(); }; var $askFordWrapper, $askFordMarkup; EP2.AskFordSticky.prototype = { init : function() { if (EngineGlobals.txt.enableAskFord == "true") { $('#AskFordStickyWrapper').show(); $askFordMarkup = $('

' + EngineGlobals.txt.labelAnyQuestions + '

' + EngineGlobals.txt.descriptionAskFord + '

'); $askFordWrapper = $('
'); $('body').append( $askFordMarkup ); $('#AskFordWrapper').on("click", function() { window.open(EngineGlobals.txt.destinationLinkAskFord,'_blank'); //window.location.href = EngineGlobals.txt.destinationLinkAskFord; }); } } } return new EP2.AskFordSticky(); })(jQuery, this, window);