function init()
{
	x = new getObj('posty1');
	y = new getObj('posty2');
	cy = 464;
	h = 0;
	v = 0;
	no = 0;
	cy2 = 464;
	h2 = 0;
	v2 = 0;
	no2 = 0;
	x.style.top = h + "px";
	x.style.clip = 'rect(' + h + 'px, 390px, ' + cy + 'px, 0px)';
	y.style.clip = 'rect(' + h + 'px, 390px, ' + cy + 'px, 0px)';
}	

function scrollup1() {
	if(no != 0) {
	no = no - 1;
	h = h - 464;
	v = v + 464;
	cy = cy - 464;
	x.style.top = v + "px";
	x.style.clip = 'rect(' + h + 'px, 390px, ' + cy + 'px, 0px)';
	}
}

function scrolldown1() {
	no = no + 1;
	h = h + 464;
	v = v - 464;
	cy = cy + 464;
	x.style.top = v + "px";
	x.style.clip = 'rect(' + h + 'px, 390px, ' + cy + 'px, 0px)';
}

function scrollup2() {
	if(no2 != 0) {
	no2 = no2 - 1;
	h2 = h2 - 464;
	v2 = v2 + 464;
	cy2 = cy2 - 464;
	y.style.top = v2 + "px";
	y.style.clip = 'rect(' + h2 + 'px, 390px, ' + cy2 + 'px, 0px)';
	}
}

function scrolldown2() {
	no2 = no2 + 1;
	h2 = h2 + 464;
	v2 = v2 - 464;
	cy2 = cy2 + 464;
	y.style.top = v2 + "px";
	y.style.clip = 'rect(' + h2 + 'px, 390px, ' + cy2 + 'px, 0px)';
}



function getObj(name)
{
  if (document.getElementById)
  {
  	this.obj = document.getElementById(name);
	this.style = document.getElementById(name).style;
  }
  else if (document.all)
  {
	this.obj = document.all[name];
	this.style = document.all[name].style;
  }
  else if (document.layers)
  {
   	this.obj = document.layers[name];
   	this.style = document.layers[name];
  }
}