/**  Translator - Copyright (c) 2008 Ariel Flesler - Licensed under BSD (http://www.opensource.org/licenses/bsd-license.php) **/
function Translator(a,b){this.parse=a;this.filter=b};Translator.prototype={translate:function(b){if(this.sync)this.replace(b,this.parse(b.nodeValue));else{var c=this;this.parse(b.nodeValue,function(a){c.replace(b,a)})}},makeNode:function(a){if(a&&a.split)a=document.createTextNode(a);return a},replace:function(a,b){if(b!=null&&b!=a.nodeValue){var c=a.parentNode;if(b.splice){for(var i=0,l=b.length-1;i<l;)c.insertBefore(this.makeNode(b[i++]),a);b=this.makeNode(b[l]||'')}else b=this.makeNode(b);c.replaceChild(b,a)}},valid:/\S/,sync:true,traverse:function(a){var b=a.childNodes,l=b.length,c;while(l--){c=b[l];if(c.nodeType==3){if(this.valid.test(c.nodeValue))this.translate(c)}else if(c.nodeType==1&&(!this.filter||this.filter(c)))this.traverse(c)}}};

/**  WiderFunnel GWO phone script - Copyright (c) 2009 Widerfunnel Marketing **/
function wf_output_value() {
	var phoneNum = '', ca = document.cookie.split(';'); 
	for(var i=0;i < ca.length;i++) { 
		var c = ca[i].split('='), cName = c[0].toString();
		if(cName.indexOf('wf_phone_text_funex1') === 1 || cName === 'wf_phone_text_funex1' ){phoneNum = c[1];}}
		if(phoneNum.length < 0){return '';}else{return phoneNum;}
	
}
function WF_phoneNumReplace() {
	var newNumber = wf_output_value();
	if(newNumber.length > 0){var findAndReplace = new Translator(function( text, replace ){
	setTimeout( function(){if(text.indexOf('800.435.8776') > -1 || text.indexOf('1-800-435-8776') > -1 || text.indexOf('1.800.435.8776') > -1  ){
		var newText = text.replace('800.435.8776',newNumber);newText = newText.replace('1.800.435.8776',newNumber);
		newText = newText.replace('1-800-435-8776',newNumber);replace(newText);}}, 100 )
	});	findAndReplace.sync = false;findAndReplace.traverse( document.body );}
}
var WF_setupPhoneNumReplace = function (){ 
	var flag = 0;if (document.addEventListener){document.addEventListener('DOMContentLoaded', function(){flag=1; WF_phoneNumReplace();}, false);}
	else if (document.all && !window.opera){
	  document.write('<script type="text/javascript" id="loadtag" defer="defer" src="javascript:void(0)"><\/script>');
	  var loadtag=document.getElementById('loadtag');
	  loadtag.onreadystatechange=function(){if (this.readyState=='complete'){flag=1;WF_phoneNumReplace();}}}
	window.onload=function(){setTimeout('if (WF_setupPhoneNumReplace.flag===0) WF_phoneNumReplace()', 0)}
	return flag;
}();
document.write('<meta name="SKYPE_TOOLBAR" content="SKYPE_TOOLBAR_PARSER_COMPATIBLE" />');