<!--

function shareFb() {
	u = location.href;
	t = document.title;
	window.open('http://www.facebook.com/sharer.php?u='+encodeURIComponent(u)+'&t='+encodeURIComponent(t),'sharer','toolbar=0,status=0,width=626,height=436');
}
function tweetIt() {
	u = location.href;
	t = document.title;
	window.open('http://twitter.com/share?original_referer='+encodeURIComponent(u)+'&text='+encodeURIComponent(t),'tweet','toolbar=0,status=0,width=626,height=436');
}


$(document).ready(function(){
	$("label").inFieldLabels();
	$('#reps').cycle({
		fx: 'fade'
	});
	jQuery('li#press1').cycle({
	  fx: 'fade',
	  timeout: 4000
	});
	jQuery('li#press2').cycle({
	  fx: 'fade',
	  timeout: 6000
	});
	jQuery('li#press3').cycle({
	  fx: 'fade',
	  timeout: 3000
	});
	jQuery('li#press4').cycle({
	  fx: 'fade',
	  timeout: 8000
	});
	jQuery('li#press5').cycle({
	  fx: 'fade',
	  timeout: 7000
	});
	jQuery('li#press6').cycle({
	  fx: 'fade',
	  timeout: 5000
	});
	jQuery('li#press7').cycle({
	  fx: 'fade',
	  timeout: 4500
	});
	$('.teambios a').colorbox({width:"600px", height:"85%", iframe:true, scrolling:true});
	$('#t1005 a').colorbox({width:"600px", height:"95%", iframe:true, scrolling:true});
	$('span#tweet').bind("click",function(event){
		event.preventDefault();
		tweetIt();
		});
	$('span#fb').bind('click',function(event){
		event.preventDefault(),
		shareFb();
		});
	$('a').externalify();
});
	// $(function(){
		// $('.contactform').jqTransform({imgPath:'images/forms/'});
	// });
//-->


