









// user email:  
// mbid:  
	
function externalPopup(popupName) {
	if (typeof(popupName) == 'undefined' || popupName == '') var popupName = 'blink_popup';
	
		var position = centeredPopupCoords(700,500);
		eval('var '+popupName+'=window.open(\'\',\''+popupName+'\',\''+position+',location=1,status=1,directories=1,toolbar=1,menubar=1,resizable=1,scrollbars=1,width=700,height=500\');');
	 return false;
}


function yellowPopup(stickyId,verb) {
	var contentId = '24664';
	if (verb == '') verb = 'Save';
	var yellowURL = '/MyBlink/YellowPopup/1,2351,,00.html?stickyId=' + stickyId + '&verb=' + verb + '&contentId=' + contentId;
	yellow = centerPopup(yellowURL,500,320,'');
	return false;
}


function mbServiceWindow(serviceType, xsize, ysize) {
	var tokenURL = "/MyBlink/ServicePopup/1,2155,,00.html?mbservice="+serviceType;
	tokenURL += "&contentId=24664";
	if (serviceType == "setbookmark" || serviceType == "notifylogin") {
		tokenURL += "&title="+window.thisTitle;
		tokenURL += "&url="+window.thisURL;
	}
	var tokenOptions = centeredPopupCoords(xsize, ysize);
	var scroll = 0;
	if (serviceType == 'reminders') scroll = 1;
	tokenOptions += "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars="+scroll+",resizable=1,width="+xsize+",height="+ysize;
	window.open(tokenURL,'myblink',tokenOptions);
}