// JavaScript Document
//------------pulldown menu
	function small(lyr) {
	document.all[lyr].style.height='1px'; 
	}
	function big(lyr) {
	document.all[lyr].style.height='135px'; 
	}
	function start() {
	document.all.Layer1.style.height='1px';
	document.all.Layer2.style.height='0px';
	document.all.Layer3.style.height='0px'; 
	}
//pulldown menu------------

//------------Rolling product
function next() {
		if (count+4 > numRow) return;
		count++;
		with(document.all.sliderImg){
			style.left = ((count-1)/(numRow-4))*90;		
		}
		tempCount = count;
		eval("document.image1.src=p" + tempCount++ + ".src");
		eval("document.image2.src=p" + tempCount++ + ".src");
		eval("document.image3.src=p" + tempCount++ + ".src");
		eval("document.image4.src=p" + tempCount++ + ".src");
		timer = setTimeout(next,500);
	}
	function back() {
		if (count == 1) return;
		count--;
		with(document.all.sliderImg){
			style.left = ((count-1)/(numRow-4))*90;		
		}		
		tempCount = count;
		eval("document.image1.src=p" + tempCount++ + ".src");
		eval("document.image2.src=p" + tempCount++ + ".src");
		eval("document.image3.src=p" + tempCount++ + ".src");
		eval("document.image4.src=p" + tempCount++ + ".src");
		timer = setTimeout(back,500);
	}
//Rolling product------------