function popup(url, width, height, name){	if (!name)	{		name = '_popup';	}	window.open(url.replace(/&amp;/g, '&'), name, 'height=' + height + ',resizable=yes,scrollbars=yes,width=' + width);	return false;}function jumpto() {	var page = prompt('{LA_JUMP_PAGE}:', '{ON_PAGE}');	var perpage = '{PER_PAGE}';	var base_url = '{A_BASE_URL}';	var seo_delim_start = '{SEO_START_DELIM}';	var seo_static_pagination = '{SEO_SATIC_PAGE}';	var seo_ext_pagination = '{SEO_EXT_PAGE}';	if (page !== null && !isNaN(page) && page > 0) {		var seo_page = (page - 1) * perpage;		if ( base_url.indexOf('?') >= 0 ) {			document.location.href = base_url.replace(/&amp;/g, '&') + '&start=' + seo_page;		} else if ( seo_page > 0 ) {			var seo_type1 = base_url.match(/\.[a-z0-9]+$/i);			if (seo_type1 !== null) {				document.location.href = base_url.replace(/\.[a-z0-9]+$/i, '') + seo_delim_start + seo_page + seo_type1;			}			var seo_type2 = base_url.match(/\/$/);			if (seo_type2 !== null) {				document.location.href = base_url + seo_static_pagination + seo_page + seo_ext_pagination;			}		} else {			document.location.href = base_url;		}	}}/*** Find a member*/function find_username(url){	popup(url, 760, 570, '_usersearch');	return false;}/*** Mark/unmark checklist* id = ID of parent container, name = name prefix, state = state [true/false]*/function marklist(id, name, state){	var parent = document.getElementById(id);	if (!parent)	{		eval('parent = document.' + id);	}	if (!parent)	{		return;	}	var rb = parent.getElementsByTagName('input');		for (var r = 0; r < rb.length; r++)	{		if (rb[r].name.substr(0, name.length) == name)		{			rb[r].checked = state;		}	}}/*** Play quicktime file by determining it's width/height* from the displayed rectangle area** Only defined if there is a file block present.*/function play_qt_file(obj){	var rectangle = obj.GetRectangle();	if (rectangle)	{		rectangle = rectangle.split(',')		var x1 = parseInt(rectangle[0]);		var x2 = parseInt(rectangle[2]);		var y1 = parseInt(rectangle[1]);		var y2 = parseInt(rectangle[3]);		var width = (x1 < 0) ? (x1 * -1) + x2 : x2 - x1;		var height = (y1 < 0) ? (y1 * -1) + y2 : y2 - y1;	}	else	{		var width = 200;		var height = 0;	}	obj.width = width;	obj.height = height + 16;	obj.SetControllerVisible(true);	obj.Play();}