$j(function(){ $j(' body ').prepend(' (function(){ if(typeof(CampaignTicker) == \"undefined\") { CampaignTicker = { isSecureConnection:false, serverName:\'www.jewishsnohomish.com\', Scrollers:{} }; CampaignTicker.LoadTicker = function(ev, templateIndex) { var scroller = this.Scrollers[templateIndex]; if( scroller ) { var data = scroller.data; var container = document.getElementById(\'DonorScrollerbar\' + templateIndex); if( data && data.length && container && container.className.indexOf(\'functional\') == -1 ) { container.className += \' functional\'; scroller.container = container; var html = [\'
\']; for( var i = 0; i < data.length; i++ ) html.push( \'
\' + data[i] + \'
\' ); html.push(\'
\'); container.innerHTML = html.join(\"\"); CampaignTicker.AnimateTicker(templateIndex); } } }; CampaignTicker.AnimateTicker = function(templateIndex) { var scroller = CampaignTicker.Scrollers[templateIndex]; var wrapper = scroller.container.firstChild; var first = wrapper.firstChild; var last = wrapper.lastChild; var top = parseInt(wrapper.style.top); if( top < 0 ) { first.style.top = parseInt(last.style.top) + 100 + \'%\'; wrapper.appendChild( first ); } if( first == last ) top = 0; else top -= 100; wrapper.style.top = top + \'%\'; scroller.timeout = setTimeout(\'CampaignTicker.AnimateTicker(\' + templateIndex + \');\', 6360); }; CampaignTicker.LoadFlashBar = function( templateIndex, properties ) { var container = document.getElementById(\'flash_ticker\' + templateIndex); if( !container ) return; var embedAttributes = {}; var params = {}; var objectAttributes = {}; var protocol = document.location.protocol; var extension = \'.swf\'; var srcParameterName = \'movie\'; for (var property in properties) { if (typeof (properties[property]) == \"function\") continue; switch (property.toLowerCase()) { case \"movie\": properties[property] = properties[property].replace(\'http://\', protocol + \'//\').replace(\'https://\', protocol + \'//\'); embedAttributes[\"src\"] = properties[property]; params[srcParameterName] = properties[property]; objectAttributes[\"data\"] = properties[property]; break; case \"width\" : case \"height\" : case \"id\" : embedAttributes[property] = objectAttributes[property] = properties[property]; break; default: embedAttributes[property] = params[property] = properties[property]; } } embedAttributes[\"type\"] = \'application/x-shockwave-flash\'; var str = \'\'; for (var i in params) { if (typeof (params[i]) != \"function\") str += \' \'; } if (embedAttributes) { str += \'\'; } str += \'\'; container.innerHTML = str; }; CampaignTicker.shrinkNumberBar = function(ev, id, width) { var obj = document.getElementById(id); if( !obj ) return; var nums = obj.getElementsByTagName(\"div\"); var lastwidth; while (obj.clientWidth > width) { for (var i = 0; i < nums.length; i++) { if (nums[i].className == \"num\") { var oldsize = parseInt(nums[i].style.fontSize.replace( /px/gi , \"\")); if (isNaN(oldsize)) oldsize = 21; nums[i].style.fontSize = (oldsize - 1) + \'px\'; var pl = nums[i].style.paddingLeft.replace( /px/gi , \"\"); if (isNaN(pl) || pl == \"\") pl = 6; if (pl < 2) pl = 2; nums[i].style.paddingLeft = (pl - 1) + \'px\'; var pr = nums[i].style.paddingRight.replace( /px/gi , \"\"); if (isNaN(pr) || pr == \"\") pr = 6; if (pr < 2) pr = 2; nums[i].style.paddingRight = (pr - 1) + \'px\'; } } if (lastwidth == obj.clientWidth) width = 10000; lastwidth = obj.clientWidth; } }; CampaignTicker.navigateToUrl = function(url) { if (!window.redirecting) { document.location.href = url; window.redirecting = true; } return false; }; CampaignTicker.AddLoadEventListener = function(callback) { if ($j) { $j(callback); return; } if( document.attachEvent ) document.attachEvent(\"onreadystatechange\", callback); else if( window.attachEvent ) window.attachEvent(\"onload\", callback); else if( document.addEventListener ) document.addEventListener(\'DOMContentLoaded\', callback, false); else window.addEventListener(\'load\', callback, false); }; } })();
50 Strong
Together!
Time Remaining:
21
Days
:
16
Hours
:
30
Minutes
:
14
Seconds
GOAL 50
3 Donors
6% Complete
') });