var DHTML = (document.getElementById || document.all || document.layers);

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];
  }
}

var amountTop = -50; var amountLeft = -50; var imgleft = 390; var texttop = 840;
function moveTitle() {
		var y = new getObj('orgname');
		texttop += amountTop;
		y.style.top = texttop;
		if (texttop > 89)	{
			window.setTimeout("moveTitle()", 50);
		}
}
function moveHouse(){
	var x = new getObj('house');
	imgleft += amountLeft;	
	x.style.left = imgleft;
	if (imgleft > -61) {
			window.setTimeout("moveHouse()", 100);
		}
}
function move() {
	if (DHTML) {
		var y = new getObj('orgname');
		y.style.top = texttop;
		var x = new getObj('house');
		x.style.left = imgleft;		
		moveHouse();
		moveTitle();
	}
}