<!-- required for pagiing -->
<!--
	function goto(num) {
		var link = document.location.href;

		if (link != null){
			var newLink = '';

			//if doesnt contain the page variable add
			if (link.indexOf('&begin=') < 0){
				newLink = link + "&begin=" + num;
			}
			else {//else replace
			  	var pos = link.indexOf('&begin=');

				//replace teh begin element				
				newLink = link.substring(0, pos);
				newLink += "&begin=" + num;

				//check if there was anything else	
				var rem = link.indexOf('&', pos + 1);
				if (rem >= 0){
					newLink += link.substring(rem, link.length);
				}

				//check if maybe there was any bookmark which wouldnt 
				//be picked up if there were extra query params
				rem = link.indexOf('#', pos + 1);
				if (rem >=0){
					newLink += link.substring(rem, link.length);

				}
			}
			
			//now do link
			if (newLink != null && newLink.length > 0){
				document.location.href = newLink;
			}
		}
		else {
			alert('unable to go to: ' + num);
		}
	}
//-->


