		$(document).ready(function(){
			//initiate cufon textreplacement
			Cufon.replace('h1, h2, #nav, #logo a',{ fontFamily: 'Arial Rounded MT Bold' });

			//initiate nav-bullet colors
			totalbullets = 5;
			for(i=1; i<=totalbullets; i++) {
				$("#nav li:nth-child("+totalbullets+"n+"+i+")").addClass("bullet"+i);
			}
			
			//initiate slideshow
			$('.slideshow').cycle({
				slideExpr: 'img',
				timeout:	5000,	//milliseconds between slide transitions (0 to disable auto advance) 
				speed:		5000,
				delay:		-3000		//additional delay (in ms) for first transition (hint: can be negative)
			});
			
		});