/*var isIE  = (document.getElementById && document.all)?true:false;
var isNS4 = (document.layers)?true:false;
var isNS6 = (document.getElementById && !document.all)?true:false;
orientation = "vertical"        // Orientation of scroller (Horizontal or vertical)
speed = 0;

function getElem(div) {
	return document.getElementById ? document.getElementById(div) : document.all[div]
}

function getOffset(obj, dim) 
{
  if(dim=="width")
  {
    oWidth = obj.offsetWidth
    return oWidth
  }  
  else if(dim=="height")
  {
    oHeight = obj.offsetHeight
    return oHeight
  }    
}

function moveLayer()
{
  obj = getElem('div1');
  width = getOffset(obj, 'width');
  height = getOffset(obj, 'height');
  maxLeft = (0-(width/2)+2)/2
  if(orientation.toLowerCase()=="horizontal"){
    obj.style.left=(parseInt(obj.style.left) <= maxLeft)?0:parseInt(obj.style.left)-speed
  }else{
    if(obj.style.top==""){
		obj.style.top=0;
	}
	if (height > scroller_height) {
		if (parseInt(obj.style.top) < (0 - height + scroller_height)) {
		  obj.style.top = (0 - height + scroller_height);
		  window.defaultStatus = "stop";
		}else if (parseInt(obj.style.top) > 0) {
		  obj.style.top = 0;
		  window.defaultStatus = "stop";
		} else {
		  obj.style.top = parseInt(obj.style.top)-speed
		  window.defaultStatus = "bouge "+speed+" "+obj.style.top;
		}
	}
	
  }
}

var actif = window.setInterval("moveLayer()",25);
*/