function go(theParam, theValue) {
			var vParams = new Array();
			if (location.search != '') {
				vParams = location.search.substring(1).split("&");
			}

			for (j=0; j < arguments.length-1; j+=2) {
				bFound = false;
				
				for (i=0; i < vParams.length; i++) {
					if (vParams[i].substring(0,vParams[i].indexOf("=")) == arguments[j]) {
						var modifier = "";
						if ((vParams[i] == arguments[j] + "=" + arguments[j+1]) && (arguments[j]=='sort') && (arguments[j+1]!='')) modifier = " DESC";
						vParams[i] = arguments[j] + "=" + escape(arguments[j+1]) + modifier;
						bFound = true;
					}
				}
				if (!bFound) vParams[vParams.length] = arguments[j] + "=" + escape(arguments[j+1]);
			}
		
			theParams = vParams.join("&amp;");
			if (theParams!='') theParams = "?" + theParams;

			theURL = "http://" + location.host + location.pathname + theParams;
			
			if (((arguments.length % 2)==1)) {
				if (arguments[arguments.length-1]=='new') {
					window.open(theURL,'_blank','status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=500,height=400');
				} else {
					theURL = arguments[arguments.length-1] + theParams;
					location.href = theURL;
				}
			} else {
				location.href = theURL;
			}
		}


function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

	function showImage(theImage, thePage) {

		if(thePage) {
			theUrl = thePage + "?img="+theImage;
		} else {
			theUrl = theImage;
		}

	window.open(theUrl,'image','width=550,height=550,scrollbars=yes,resizable=yes');

	}