function popUp(URL, height, width, lockdown) {
	day = new Date();
	id = day.getTime();
	winLeft = (screen.width-width)/2;
	winTop = (screen.height-(height+110))/2; 

	if(lockdown === true) { 
		lockdown = 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=' + width + ',height=' + height + ',left='+winLeft+', top='+winTop;
	} else { 
		lockdown = 'width=' + width + ',height=' + height + ',left='+winLeft+', top='+winTop;
	}

	eval("page" + id + " = window.open(URL, '" + id + "', '" + lockdown + "');");
}

function bookmark(title, url){
	var ua = navigator.userAgent.toLowerCase();

	if (window.sidebar) { // firefox
		window.sidebar.addPanel(title, url, "http://www.wealthstrategiesgroup.net");
	} else if(document.all) { // ie
		window.external.AddFavorite(url, title);
	} else if(window.opera && window.print) { // opera
		var elem = document.createElement('a');
		elem.setAttribute('href',url);
		elem.setAttribute('title',title);
		elem.setAttribute('rel','sidebar');
		elem.click();
	} else if(ua.indexOf('webkit') != -1) { // safari
		btnStr = ua.indexOf('mac') != -1 ? 'Command/Cmd' : 'CTRL';
		alert('You need to press '+btnStr+' + D to bookmark our site.');
	}
}