//
// ChainHandler, py Peter van der Beken
//
function chainHandler(obj, handlerName, handler) {
	obj[handlerName] = (function(existingFunction) {
		return function() {
			handler.apply(this, arguments);
			if (existingFunction)
				existingFunction.apply(this, arguments); 
		};
	})(handlerName in obj ? obj[handlerName] : null);
};

//
// On load
//
chainHandler(window,'onload',function() {
});

var nntpg = {
	msg_bookmark: 'Add to favorites',
	msg_unbookmark: 'Remove from favorites'
};