var ua = navigator.userAgent.toLowerCase();	
var jump = false;

if (ua.indexOf('firefox') != -1) {
	jump = true;
}

function jumpToLoc(loc) {
	location.href = loc;
}
			
function signUpNow(link) {
	var href = link + '&referer2=' + encodeURIComponent(location.href);
	location.href = href;
	return false;
}

function manageMyPIN(link) {
	var href = link;
	if (location.href.indexOf(link) == -1) {
		href += (link.indexOf('?') == -1) ? '?' : '&';
		href += 'referer=';
		href += encodeURIComponent(location.href);
	}
	location.href = href;
	return false;
}

function changeLocation(newLocation) {
	if (document && document.forms['f']) {
		try {
			document.forms['f'].submit();
		} catch (x) {
			location.replace(newLocation);
		}
	} else {
		location.replace(newLocation);
	}
	return false
}
