function redirectMe() {
	var val = Ext.get("dropdownselector").dom.value;
	if (val && val != "") {
		document.location.href = val;
	}
};
function bookmark(el, module, id) {
	var url = 'index.html?_func=addbookmark&_nrdr=1&_mode=' + module + '&_id=' + id + '&_nc=' + getUniqueID();
	var linkfile = Ext.get(el);
	Ext.Ajax.request( {
		url : url,
		method : 'get',
		success : function(req) {
			var param = decode(req.responseText);
			var bookmarkcount = Ext.get("bookmarked_sites_count");
			if (bookmarkcount) {
				bookmarkcount.dom.innerHTML = param.count;
			};
			if (linkfile) {
				linkfile.dom.title = param.title;
				/* linkfile.dom.innerHTML = param.text; */
				switch (param.status) {
					case 'added':
						linkfile.dom.className = 'bookmark_saved bookmark_' + module + '_saved';
						break;
					case 'removed':
						linkfile.dom.className = 'bookmark bookmark_' + module;
						break;
				}
			}
		}
	});
};