// dostosowuje pozycje i widocznosc ceny
 
 	function price_move(){
 		
 		columnHeight = $('column_left').getHeight();	
		priceElstatic = document.getElementById('price_static');
 		scrollPos = scrollingDetector();
 	
 // w jakiej odleglosci od gory ma sie pojawic cena 
 		pricePos = scrollPos - columnHeight + 100;
 		priceEl = document.getElementById('price');
 	
 		priceEl.style.top = pricePos +'px';
 
 // przy jakiej wysokosci scrolla ma sie zaczac pojawiac cena		
 	 	if (scrollPos < (columnHeight - 100)){
 	 		priceEl.style.display = 'none';
 	 		priceEl.style.visibility = 'hidden';
 	 		priceElstatic.style.display = '';
 	 		priceElstatic.style.visibility = 'visible';
 	 	}else {
 	 		priceEl.style.display = '';
 	 		priceEl.style.visibility = 'visible';
 	 		priceElstatic.style.display = 'none';
 	 		priceElstatic.style.visibility = 'hidden';
 	 	}
 	 	
 	}

// wykrywa pozycje scrolla

function scrollingDetector(){

	if (navigator.appName == "Microsoft Internet Explorer"){
		return document.documentElement.scrollTop;
	}else{
		return window.pageYOffset;
	}
}



