				function roll(img_id, img_src){
					document.getElementById(img_id).src = img_src;
				}
				function deleteCheckedItems(input) {
					var loc = window.location;			
					var url = loc.protocol + '//' + loc.host + loc.pathname;
					
					url += '?ecomAction=deleteFromBookmarks';
					var allElems = document.getElementsByTagName('*');
					
					for (var i = 0; i < allElems.length; i++) {
						var thisElem = allElems[i];
						if (thisElem.className && thisElem.className == 'productCheckbox') {
							url += '&' + thisElem.name + '=' + thisElem.checked;
						}
					}
					loc.replace(url);
					return false;
				}
				function updateBasket(input) {
					var loc = window.location;			
					var url = loc.protocol + '//' + loc.host + loc.pathname;
					
					url += '?ecomAction=updateBasket';
					var allElems = document.getElementsByTagName('*');
					
					for (var i = 0; i < allElems.length; i++) {
						var thisElem = allElems[i];
						if (HasClassName(thisElem, 'productAmountInput')) {
							url += '&' + thisElem.name + '=' + thisElem.value;
						}
					}
					loc.replace(url);
					return false;
				}
				function deleteAll(input) {
					if (document.getElementById('testDeleteAll').checked){
						var loc = window.location;			
						var url = loc.protocol + '//' + loc.host + loc.pathname;
						url += '?ecomAction=deleteAllFromBookmarks';
						loc.replace(url);
					}else{
						alert('Bitte bestätigen Sie den Löschvorgang durch aktivieren der Box');
					}
					return false;
				}
				function HasClassName(objElement, strClass){
				   // if there is a class
				   if ( objElement.className ){
				      // the classes are just a space separated list, so first get the list
				      var arrList = objElement.className.split(' ');
				      // get uppercase class for comparison purposes
				      var strClassUpper = strClass.toUpperCase();
				      // find all instances and remove them
				      for ( var i = 0; i < arrList.length; i++ ){
				         // if class found
				         if ( arrList[i].toUpperCase() == strClassUpper ){
				            // we found it
				            return true;
				            }
				         }
				      }
				   // if we got here then the class name is not there
				   return false;
				 }

