function loadPageVal(item, currForm, urlParam) {	var param = '';	if (document[currForm][item] && document[currForm][item].value != "alle") {		var thisVal = document[currForm][item].value;		thisVal = thisVal.replace(/#/g, "%23");		thisVal = thisVal.replace(/\&/g, "%26");		thisVal = thisVal.replace(/\'/g, "%27");		param += '&' + item + '=' + thisVal;	}	document.location = '?' + param + urlParam + '&Search=1';}//------------------------------------------------------------------------------------------------------------------// Produktbild wechseln//------------------------------------------------------------------------------------------------------------------function chngPic($path, tgtPicName, newPicfile) {	document.images[tgtPicName].src = $path + newPicfile;}//------------------------------------------------------------------------------------------------------------------// Produktbild gross anzeigen//------------------------------------------------------------------------------------------------------------------var win;var zeit;function fenster(referenz, onlyone) {	var thisOnlyOne = 0;	if (onlyone) {		thisOnlyOne = 1;	}	window.clearTimeout(zeit);	win = window.open('' + rootlink + 'content/pic_popup.php?ref=' + referenz + '&p=1&onlyone=' + thisOnlyOne, 'Image', 'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizeable=1,width=400,height=400');	zeit = setTimeout("schliessen()", 50000);}function schliessen() {	win.close();}//------------------------------------------------------------------------------------------------------------------// XML request //------------------------------------------------------------------------------------------------------------------var reStr = "";function getFileReq(URL) {	var xmlHttp = null;	reStr = "";	// Mozilla, Opera, Safari sowie Internet Explorer 7	if (typeof XMLHttpRequest != 'undefined') {		xmlHttp = new XMLHttpRequest();	}	if (!xmlHttp) {		// Internet Explorer 6 und älter		try {			xmlHttp = new ActiveXObject("Msxml2.XMLHTTP");		} 		catch (e) {			try {				xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");			} 			catch (e) {				xmlHttp = null;			}		}	}	if (xmlHttp) {		xmlHttp.open('GET', URL, true);		xmlHttp.onreadystatechange = function() {			if (xmlHttp.readyState == 4) {				reStr = xmlHttp.responseText;				//reStr = reStr.substr(1,reStr.length-1);			}		};		xmlHttp.send(null);	}}//------------------------------------------------------------------------------------------------------------------// Eintrag in Liste hinzufügen//------------------------------------------------------------------------------------------------------------------function addListEntry(currForm, tgtObj, currVal) {	var newEntry = new Option(currVal, currVal, false, true);	document[currForm][tgtObj].options[document[currForm][tgtObj].length] = newEntry;	document[currForm][tgtObj].value = "";}