$('html').addClass('js');

/*Debt Calculator Strip Comma
--------------------------------------------------------------------------*/
function stripComma() {
var startNum = document.dCalc.total_debt.value;
var newNum = startNum.replace(/\,/g,"");
document.dCalc.total_debt.value = newNum;
					  }
					  
/*jQuery Cycle
---------------------------------------------------------------------------*/
$(document).ready(function(){
$('#taglines').cycle({
					 timeout: 4000
					 });
$('#content_slides').cycle({
							pager: '#nav_slides',
							pagerAnchorBuilder: function(idx, slide) { 
    						// return selector string for existing anchor 
    						return '#nav_slides li:eq(' + idx + ') a'; 
																	 },
							pause: true,
							pauseOnPagerHover: true,
							timeout: 5000
													  
							});
$('#quotes').cycle({
					timeout: 7000
				   });
$('#awards').cycle({
					timeout:5000
					});		 
						   });
	
/*Cufon
---------------------------------------------------------------------------*/
Cufon.replace('#taglines li')
			 ('#slideshow h2')
			 ('h3')
			 ('#sub h1',{
			  			textShadow: 'rgba(255,255,255,.88) 0 1px 0'
			  			})
			 ('#sub h2')
			 ('.about h2',{
			  			   textShadow: 'rgba(0,0,0,.4) 0 -1px 0'
			  			  }) 
			 ('.community h2',{
			  			   textShadow: 'rgba(0,0,0,.4) 0 -1px 0'
			  			  })
			 ('.tools h2',{
			  			   textShadow: 'rgba(0,0,0,.4) 0 -1px 0'
			  			  })
			 ('.careers h2',{
			  			   textShadow: 'rgba(0,0,0,.4) 0 -1px 0'
			  			  })
			 ('#sub h4')
			 ('th',{
			  			textShadow: 'rgba(0,0,0,.57) 0 2px 3px'
			  			  })
			 ('#d_calc legend')
			 ('#blog h1')
			 ('#blog h2')
			 ('#blog h3')
			 ('#blog h4')
			 ('#blog h5')
			 ('#blog h6')
			 ('#blog small')
			 ('.entry-meta')
			 ('#dti_form h5');

