		Event.observe(window, 'load', function() {
  			getBookmarks('pomoc-koszyk');
		});
		
		function getBookmarks(param)
		{
			$$('div.pane-help').each(function(element){
			 	element.hide();
			});
			$(param).show();
		}
		
		function showButtons() {
			document.getElementById('buy_popup').style.display = 'block';
			return false;
		}
		
		function sendSplitOrder() {
			document.getElementById('splitOrderFlag').value = true;
		}
		
		function sendOrder() {
			document.getElementById('splitOrderFlag').value = false;
		}
		
		function productRemove(param)
		{
			document.getElementById('removalRelationshipId').value = param;
			document.getElementById('prod1').value = param.substring(10);
			document.removeItemForm.submit();
		}
		
		function productMove(param)
		{
			document.getElementById('movalRelationshipId').value = param;
			document.getElementById('prod2').value = param.substring(10);
			document.moveItemForm.submit();
		}
		
		function softBundleRemove(param)
		{
			document.getElementById('removalSoftBundleId').value = param;
			document.removeSoftBundleForm.submit();
		}
		
		function softBundleMove(param)
		{
			document.getElementById('movalSoftBundleId').value = param;
			document.moveSoftBundleForm.submit();
		}
		
		function hideSoftBundleInfoBox(divName) {
			var softBundleInfoDiv = document.getElementById(divName);
			softBundleInfoDiv.style.display = "none";
		}
		
		function showSoftBundleInfoBox(divName) {
			var softBundleInfoDiv = document.getElementById(divName);
			softBundleInfoDiv.style.display = "block";
		}
		
		function getWindowHeight() {
			  myHeight = 0;
			  if( typeof( window.innerWidth ) == 'number' ) {
			    //Non-IE
			    myHeight = window.innerHeight;
			  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
			    //IE 6+ in 'standards compliant mode'
			    myHeight = document.documentElement.clientHeight;
			  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
			    //IE 4 compatible
			    myHeight = document.body.clientHeight;
			  }
			  return myHeight;
			}

		 
		function getScrollY() {
		   scrOfY = 0;
		  if( typeof( window.pageYOffset ) == 'number' ) {
		    //Netscape compliant
		    scrOfY = window.pageYOffset;
		   
		  } else if( document.body && ( document.body.scrollLeft || document.body.scrollTop ) ) {
		    //DOM compliant
		    scrOfY = document.body.scrollTop;
		    
		  } else if( document.documentElement && ( document.documentElement.scrollLeft || document.documentElement.scrollTop ) ) {
		    //IE6 standards compliant mode
		    scrOfY = document.documentElement.scrollTop;
		  
		  }
		  return  scrOfY;
		}
		function showCartQuantityChangeInfo(info){
		 
			var top = getWindowHeight();
			top = top / 3;
			top = top + getScrollY();
			top = (top );
			 $('cart_quantity_change_info').update(info);
			 $('cart_quantity_change_info').style.top =top+'px';
			 $('cart_quantity_change_info').style.display = 'block';
			 new Effect.Fade('cart_quantity_change_info', {delay: 6});
	}