//All js that is included at bottom of page globally

$('#headerLogin #username').labelToValue({clearTextOn:'keypress'});
$('#searchNav #searchNavUser').labelToValue();
$('#wrapperPassword').pwdInputSwap(
	{
		inputTemp : '#switch',
		inputPass : '#passwordHeader'		
	}
);
$('#navSecondary li.hasChild').pseudoHover();
$('.listStumble li, .listReviews li').listHighLight();
$('#loginLinks .login').swapThis(
	{
		swapThis : 'a.login',
		forThat : '#headerLogin',
		event : 'click'
	}
);
$('#loginLinks .login').focusElement(
	{
		element : '#headerLogin #username',
		event : 'click'
	}
);


$('#content').clickListener();

// Stumblers
$('#moduleFindFriends #user_id').labelToValue();
$('#moduleFindFriends #wrapperFFPassword').pwdInputSwap(
	{
		inputTemp : '#pswitch',
		inputPass : '#importpass'
	}
);
$('#searchStumbler').labelToValue();

//.masterAgent

$('.masterAgent .labelVal').labelToValue();

// added doc ready for images - ensures resize
$(document).ready(function(){	
	$('.listStumble .listLi:not(.blog) .text img:not(".iconSubscription")').imageMaxWidth({width : 500});
	$('.reviews .listStumble .blog .text img:not(".iconSubscription")').imageMaxWidth({width : 700});
})