jQuery(document).ready(function() {
	$('#edit-field-speaking-languages-value-English').attr('checked', true);
	/*$('#simplenews-block-form-1 #edit-submit').replaceWith('<input type="submit" class="form-submit" value="Request Report" id="edit-submit" name="op">');*/
	function getUrlVars()
		{
		    var vars = [], hash;
		    var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&');
		    for(var i = 0; i < hashes.length; i++)
		    {
		        hash = hashes[i].split('=');
		        vars.push(hash[0]);
		        vars[hash[0]] = hash[1];
		    }
		    return vars;
		}
	var get = getUrlVars('role');
	if( get['role'] == 'business' ) 
	{  
		$('#edit-user-selectable-roles-10').attr('checked', true);
	}
	else if (get['role'] == 'immigrants')	
	{
		$('#edit-user-selectable-roles-11').attr('checked', true);
		$('div#edit-taxonomy-6-wrapper').addClass('displnone')
	}	
});
