$(document).ready(function(){
$('.askJPM').show();
$('#wealthmanagerplus').show();
	$('#askJPM').show().click(function(){
		window.open('https://ask.jpmorganassetmanagement.co.uk' + $('#_searchTerms').val(), 'AskJPM', 'scrollbars=yes, status=yes, width=800, height=600, resizable=yes');
	});

	//$('#_searchTerms').val('').unbind('focus, blur');

//for FAQ page link
	$('.askJPM').click(function(){
		window.open('https://ask.jpmorganassetmanagement.co.uk' + $(this).val(), 'AskJPM', 'scrollbars=yes, status=yes, width=800, height=600, resizable=yes');
	});

	$('#accountGo').click(function(){
		if ($('#accountForm select option:selected').val() != ''){
			accountWin = window.open($('#accountForm select').val(), 'MyAccount', 'scrollbars=yes, width=800, height=600, toolbar=0, menubar=0, resizable=1');
		}
	});

});

