google.setOnLoadCallback(function() {

	// Place init code here instead of $(document).ready()

	var flashvars = {};
	var params = {};
	params.wmode = 'transparent';
	var attributes = {};

	// Add URLS to slides via flashVars
	flashvars.slideOneLink="http://www.savethetatas.com/index.php/catalog/womens/tanktops/";
	flashvars.slideTwoLink="http://www.savethetatas.com/index.php/contribute/";
	flashvars.slideThreeLink="http://www.savethetatas.com/index.php/catalog/womens/tanktops/";	
	flashvars.slideFourLink="http://www.savethetatas.com/index.php/catalog/womens/tanktops/";
	flashvars.slideFiveLink="http://www.savethetatas.com/index.php/show-yours/";
	swfobject.embedSWF('swf/tatas.swf', 'swfc-branding', '958', '410', '8.0.0', 'expressinstall.swf', flashvars, params, attributes);
	// Add URLS to show us flashVars
	flashvars = {};
	flashvars.service="http://www.savethetatas.com/wp-content/plugins/show-us-plugin/service/portal.php";
	flashvars.shop="http://www.savethetatas.com/index.php/catalog/sale/";
	swfobject.embedSWF('http://www.savethetatas.com/wp-content/plugins/show-us-plugin/swf/show_us_client.swf', 'gallery', '958', '652', '10.0.0', 'expressinstall.swf', flashvars, params, attributes);

	$('.accordion').accordion({ 
		autoHeight: false, 
		active: false
	});

	var feeds = new google.feeds.FeedControl();

	feeds.addFeed('http://savethetatas.blogspot.com/atom.xml', 'News &amp; Events');
	
	feeds.setNumEntries(10);

	feeds.draw(document.getElementById('blog'));

	var feedss = new google.feeds.FeedControl();

	feedss.addFeed('http://savethetatas.blogspot.com/atom.xml', 'Founder&rsquo;s Blog');
	
	feedss.setNumEntries(10);

	feedss.draw(document.getElementById('fblog'));

	// nav

	$('#shop-nav li').hover(
		function(){
			$(this).find('ul').slideDown(100);
		},
		function(){
			$(this).find('ul').slideUp(100);
		}
	);
	

});