function addPad(maxHt,parent) {
	if(el(parent)) {
		var divs=el(parent).getElementsByTagName('div');
		var pWd=0;
		for(i=0;i<divs.length;i++) {
			if(parseFloat(divs[i].style.height)<maxHt) {
				divs[i].style.paddingTop = ((maxHt-parseFloat(divs[i].style.height))/2)+"px";
				divs[i].style.height = parseFloat(divs[i].style.height)+((maxHt-parseFloat(divs[i].style.height))/2)+"px";
			}
			divs[i].onmouseover=new Function("stopScroll=1");
			divs[i].onmouseout=new Function("stopScroll=0");
			pWd+=divs[i].offsetWidth;
		}
		el(parent).style.width=pWd+"px";
	}
}
var stopScroll=0;
function scroll(id) {
	if(el(id)) {
		var parent=el(id);
		var child=parent.getElementsByTagName('div')[0];
		if(child.offsetWidth>parent.offsetWidth) {
			if(!stopScroll) {
				parent.scrollLeft=parent.scrollLeft+1;
				if(parent.scrollLeft==child.getElementsByTagName('div')[0].offsetWidth) {
					child.appendChild(child.getElementsByTagName('div')[0]);
					parent.scrollLeft=0;
				}
			}
		} else clearInterval(scroller);
	} else clearInterval(scroller);
}