
function sprawdzFormularz(t,tekst)
{
										
					if (t.value==tekst) t.value='';					
					
					t.onblur=function(){
								if (t.value=='') t.value=tekst;
					}
}

function EventMouse(t, colour)
{
					t.style.backgroundColor = colour;
					t.onmouseout = function(){
							t.style.backgroundColor = 'transparent';
					}
}

var pxUp;
var pxDown;
var pxStan = 0;

function setStan( sign )
{
					if ( sign == 'increment' )
					{
							pxStan = pxStan + 355;
					} 
						else if ( sign == 'decrement' )
					{
							pxStan = pxStan - 355;
							if (pxStan <= 0) pxStan = 0;
					}
					
					goStop();
}

function goDown()
{
					pxTop = document.getElementById('ScrollerOfferts').scrollTop-=10;
					
					if (pxTop <= pxStan)
					{		
							pxStan = pxTop;
							goStop();
					}
					 else
					{
							
							pxDown = setTimeout('goDown()',1);							

					}
}

function goUp()
{
					pxTop = document.getElementById('ScrollerOfferts').scrollTop+=10;
					
					if (pxTop >= pxStan)
					{		
							pxStan = pxTop;
							goStop();
					}
						else
					{
							pxUp = setTimeout('goUp()',1);							
					}
}

function goStop()
{
					clearTimeout(pxDown);
					clearTimeout(pxUp);
}
