$(function() {
	
	$('body.results').find('div#breadcrumb h2').sifr( { strSWF: 'flash/chaparral-pro.swf', strColor: '#0c4d4d', strWmode: 'transparent', intPadding: [0, 0, 0, 0] }, { expressInstall: true } );
	$('body.partners').find('div#breadcrumb h2').sifr( { strSWF: 'flash/chaparral-pro.swf', strColor: '#0c4d4d', strWmode: 'transparent', intPadding: [0, 0, 0, 0] }, { expressInstall: true } );
	$('div#breadcrumb h2').sifr( { strSWF: 'flash/chaparral-pro.swf', strColor: '#ffffff', strWmode: 'transparent', strLinkColor: '#F2F6F6', strHoverColor: '#91B7B7', strFlashVars: 'underline=true&', intPadding: [0, 0, 0, 0] }, { expressInstall: true } );
	$('form#search-form h4').sifr( { strSWF: 'flash/futura-light-bold.swf', strColor: '#ffffff', strWmode: 'transparent' }, { expressInstall: true } );
	$('form#search-form label').sifr( { strSWF: 'flash/myriad-pro.swf', strColor: '#ffffff', strWmode: 'transparent', strFlashVars: 'textalign=center&' }, { expressInstall: true } );

	if( $('body').attr("class") == 'home' ) {
		$('body.home div#content h2').sifr( { strSWF: 'flash/chaparral-pro.swf', strColor: '#ced9D9', strWmode: 'transparent' }, { expressInstall: true } );
		$('body.home div#sidebar h4').sifr( { strSWF: 'flash/myriad-pro.swf', strColor: '#ced9D9', strWmode: 'transparent' }, { expressInstall: true } );
	}

	$('#partners-wrapper').tabs();


	$("div#branding").flash(
		{src:"flash/masthead.swf",
		 width:693,
		 height:255,
		 wmode:"transparent",
		 quality:"high"},
		 {version:"7"});


// Sample usage of jquery.flash plugin - remove if not needed
	/*	If given the following markup:

	<div id="masthead">
		<img src="images/mastheads/flash-alt.jpg" alt="" /><br />
	</div>
	
	you would use the following to replace the alternate content:

	$("div#masthead").flash(
		{src:"flash/home.swf",
		 width:600,
		 height:300,
		 wmode:"transparent",
		 quality:"high"},
		 {version:"7"});
	*/



});


function goto(meme) {
	var fld = meme.name;
	var val = meme.value;
	window.location.href="search-results.php?"+fld+"="+val;

}