

$(document).ready(function(){



});

var background=document.body.style.background;
var speed =40;
function moveback(movert,movedn,hPos,vPos) {
	browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);
	var speed = 40;
  if (arguments[4])
    document.body.style.backgroundImage = "url(\"" + arguments[4] + "\")";

  if (arguments[5])
    document.body.style.backgroundRepeat = arguments[5]

  if (!isNaN(hPos)) {
    if ((movert!=0) && (hPos>0)) hPos=-100000
    hPos += movert
  }
  if (!isNaN(vPos)) {
    if ((movedn!=0) && (vPos>0)) vPos=-100000
    vPos+= movedn
  }

  document.body.style.backgroundPosition= hPos + "px " + (vPos+(document.body.scrollTop/-120)+ "px")
  if (isNaN(hPos))  hPos = "\"" + hPos + "\""
  if (isNaN(vPos)) vPos = "\"" + vPos + "\""
setTimeout("moveback("+movert+","+movedn+","+hPos+","+vPos+")",speed)
}

function moveback2(movert,movedn,hPos,vPos,id,Vmove) {
	browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);
var speed = 40;
  if (arguments[6])
    document.getElementById(id).style.backgroundImage = "url(\"" + arguments[6] + "\")";

  if (arguments[7])
    document.getElementById(id).style.backgroundRepeat = arguments[7]

  if (!isNaN(hPos)) {
    if ((movert!=0) && (hPos>0)) hPos=-100000
    hPos += movert
  }
  if (!isNaN(vPos)) {
    if ((movedn!=0) && (vPos>0)) vPos=-100000
    vPos+= movedn
  }

  document.getElementById(id).style.backgroundPosition = hPos + "px " + (vPos+(document.body.scrollTop/Vmove)+ "px")
  if (isNaN(hPos))  hPos = "\"" + hPos + "\""
  if (isNaN(vPos)) vPos = "\"" + vPos + "\""
setTimeout("moveback2("+movert+","+movedn+","+hPos+","+vPos+", '"+id+"', "+Vmove+")",speed)
}

