"); if(breakableText != ""){ var calc = null; eval( "calc = typeof bfFieldCalc"+bfSummarizers[i].id+" != \"undefined\" ? bfFieldCalc"+bfSummarizers[i].id+" : null" ); if(calc){ breakableText = calc(breakableText); } } JQuery("#"+bfSummarizers[i].id).html(breakableText); summVal = breakableText; } break; case "bfRadioGroup": case "bfCheckbox": if(JQuery("[name=\"ff_nm_"+bfSummarizers[i].connectWith+"[]\"]:checked").val() != "" && typeof JQuery("[name=\"ff_nm_"+bfSummarizers[i].connectWith+"[]\"]:checked").val() != "undefined"){ var theText = JQuery("[name=\"ff_nm_"+bfSummarizers[i].connectWith+"[]\"]:checked").val(); if(theText != ""){ var calc = null; eval( "calc = typeof bfFieldCalc"+bfSummarizers[i].id+" != \"undefined\" ? bfFieldCalc"+bfSummarizers[i].id+" : null" ); if(calc){ theText = calc(theText); } } JQuery("#"+bfSummarizers[i].id).text( theText ); summVal = theText; } break; case "bfCheckboxGroup": case "bfSelect": var val = ""; var nodeList = document["ff_form2"]["ff_nm_"+bfSummarizers[i].connectWith+"[]"]; for(var j = 0; j < nodeList.length; j++){ if(nodeList[j].checked || nodeList[j].selected){ val += nodeList[j].value + ", "; } } if(val != ""){ var theText = val.substr(0, val.length - 2); if(theText != ""){ var calc = null; eval( "calc = typeof bfFieldCalc"+bfSummarizers[i].id+" != \"undefined\" ? bfFieldCalc"+bfSummarizers[i].id+" : null" ); if(calc){ theText = calc(theText); } } JQuery("#"+bfSummarizers[i].id).text( theText ); summVal = theText; } break; } if( ( bfSummarizers[i].hideIfEmpty && summVal == "" ) || ( typeof bfDeactivateField != "undefined" && bfDeactivateField["ff_nm_"+bfSummarizers[i].connectWith+"[]"] ) ){ JQuery("#"+bfSummarizers[i].id).parent().css("display", "none"); } } } var bfUseErrorAlerts = false; function bfShowErrors(error){ JQuery(".bfErrorMessage").html(""); JQuery(".bfErrorMessage").css("display","none"); JQuery(".bfErrorMessage").fadeIn(1500); var allErrors = ""; var errors = error.split("\n"); for(var i = 0; i < errors.length; i++){ allErrors += "
" + errors[i] + ""; } JQuery(".bfErrorMessage").html(allErrors); JQuery(".bfErrorMessage").css("display",""); if(JQuery.validationEngine) { JQuery("#ff_form2").validationEngine({ promptPosition: "bottomLeft", success : false, failure : function() {} }); for(var i = 0; i < inlineErrorElements.length; i++) { if(inlineErrorElements[i][1] != "") { var prompt = null; if(inlineErrorElements[i][0] == "bfCaptchaEntry"){ prompt = JQuery.validationEngine.buildPrompt("#bfCaptchaEntry",inlineErrorElements[i][1],"error"); } else if(inlineErrorElements[i][0] == "bfReCaptchaEntry"){ // nothing here yet for recaptcha, alert is default alert(inlineErrorElements[i][1]); } else if(typeof JQuery("#flashUpload"+inlineErrorElements[i][0]).get(0) != "undefined") { prompt = JQuery.validationEngine.buildPrompt("#"+JQuery("#flashUpload"+inlineErrorElements[i][0]).val(),inlineErrorElements[i][1],"error"); } else { prompt = JQuery.validationEngine.buildPrompt("#"+ff_getElementByName(inlineErrorElements[i][0]).id,inlineErrorElements[i][1],"error"); } JQuery(prompt).mouseover( function(){ var inlineError = JQuery(this).attr("class").split(" "); if(inlineError && inlineError.length && inlineError.length == 2){ var result = inlineError[1].split("formError"); if(result && result.length && result.length >= 1){ JQuery.validationEngine.closePrompt("#"+result[0]); } } } ); } else { if(typeof JQuery("#flashUpload"+inlineErrorElements[i][0]).get(0) != "undefined") { JQuery.validationEngine.closePrompt("#"+JQuery("#flashUpload"+inlineErrorElements[i][0]).val()); } else { JQuery.validationEngine.closePrompt("#"+ff_getElementByName(inlineErrorElements[i][0]).id); } } } inlineErrorElements = new Array(); } } var bfElemWrapBg = ""; function bfSetElemWrapBg(){ bfElemWrapBg = JQuery(".bfElemWrap").css("background-color"); } function bfRollover() { JQuery(".ff_elem").focus( function(){ var parent = JQuery(this).parent(); if(parent && parent.attr("class").substr(0, 10) == "bfElemWrap"){ parent.css("background","#ffc"); } else { parent = JQuery(this).parent().parent(); parent.css("background","#ffc"); } parent.addClass("bfRolloverBg"); } ).blur( function(){ var parent = JQuery(this).parent(); if(parent && parent.attr("class").substr(0, 10) == "bfElemWrap"){ parent.css("background",bfElemWrapBg); } else { parent = JQuery(this).parent().parent(); parent.css("background",bfElemWrapBg); } parent.removeClass("bfRolloverBg"); } ); } function bfRollover2() { JQuery(".bfElemWrap").mouseover( function(){ JQuery(this).css("background","#ffc"); JQuery(this).addClass("bfRolloverBg"); } ); JQuery(".bfElemWrap").mouseout( function(){ JQuery(this).css("background",bfElemWrapBg); JQuery(this).removeClass("bfRolloverBg"); } ); } JQuery(document).ready(function() { if(typeof bfFade != "undefined")bfFade(); if(typeof bfSetElemWrapBg != "undefined")bfSetElemWrapBg(); if(typeof bfRollover != "undefined")bfRollover(); if(typeof bfRollover2 != "undefined")bfRollover2(); if(typeof bfRegisterToggleFields != "undefined")bfRegisterToggleFields(); if(typeof bfDeactivateSectionFields != "undefined")bfDeactivateSectionFields(); if(JQuery.validationEngine) { JQuery.validationEngineLanguage.newLang(); JQuery(".ff_elem").change( function(){ JQuery.validationEngine.closePrompt(this); } ); } JQuery(".hasTip").css("color","inherit"); // fixing label text color issue JQuery(".bfTooltip").css("color","inherit"); // fixing label text color issue JQuery("input[type=text]").bind("keypress", function(evt) { if(evt.keyCode == 13) { evt.preventDefault(); } }); }); //--> if (typeof RokBoxSettings == 'undefined') RokBoxSettings = {pc: '100'} var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-792216-6']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); window.addEvent("domready", function(){ new SmoothScroll(); }); window.addEvent('domready', function() { new Fusion('ul.menutop', { effect: 'slide and fade', opacity: 1, hideDelay: 500, centered: 0, tweakInitial: {'x': -8, 'y': 2}, tweakSubsequent: {'x': -12, 'y': -11}, tweakSizes: {'width': 18, 'height': 20}, menuFx: {duration: 300, transition: Fx.Transitions.Circ.easeOut} }); });

Contact Details

Toll Free:
Winnipeg, MB:
Ottawa, ON:
Toronto, ON:
Kelowna, BC:
E-mail:
Contact Form
1-866-225-2676
(204) 975-4901
(613) 454-1878
(647) 478-9127
(250) 448-2609
This email address is being protected from spambots. You need JavaScript enabled to view it.
Fire Plan Strategies
Unit 102 - 750 Marion Street
Winnipeg, MB, Canada
R2J 0K4
Live Help Software