//*************************************************************************************
var the_timeout;
function moveClickDvL()
{
	var the_style = getStyleObjectClick("content1");
	if (the_style) {
	
		var start = parseInt(the_style.left);
		//alert(start);
		var end = start - 65;
		//alert(end);
		if((end==-65) || (end > (-65*2)+1))
		{
			moveClickDivL(end, -65);
		}
		//moveClickDivL(end, -65);
	}

}
function moveClickDvLService()
{
	var the_style = getStyleObjectClick("content1");
	if (the_style) {
	
		var start = parseInt(the_style.left);
		//alert(end);
		var end = start - 65;
		//alert(end);
		if((end==-65) || (end > (-65*1)+1))
		{
			moveClickDivL(end, -65);
		}
		//moveClickDivL(end, -65);
	}

}
function moveClickDivL(end, x)
{
  var the_style = getStyleObjectClick("content1");
  if (the_style)
  {
    var current_left = parseInt(the_style.left);
	//alert(current_left);
    var new_left = current_left - 15;
    // set the left property of the DIV, add px at the
    // end unless this is NN4
    //
    if (document.layers) 
    {
      the_style.left = new_left;
    }
    else 
    {  
      the_style.left = new_left + "px";
    }
    
    // if we haven't gone to far, call moveClickDiv() again in a bit
    if (new_left > end)
    {
	  the_timeout = setTimeout('moveClickDivL(' + end + ',' + x + ');',10);
    }
  }
}

function moveClickDvR()
{
	
	var the_style = getStyleObjectClick("content1");
	if (the_style) {
	
		var start = parseInt(the_style.left);
		//alert(start);
		var end = start + 65;
		//alert(start);
		if((start==0) || (start > 0))
		{
		}
		else
		{
			moveClickDivR(end, 65);
		}
	}

}

function moveClickDivR(end, x)
{
  var the_style = getStyleObjectClick("content1");
  if (the_style)
  {
    var current_left = parseInt(the_style.left);
	//alert(current_left);
    var new_left = current_left + 15;
    // set the left property of the DIV, add px at the
    // end unless this is NN4
    //
    if (document.layers) 
    {
      the_style.left = new_left;
    }
    else 
    {  
      the_style.left = new_left + "px";
    }
    
    // if we haven't gone to far, call moveClickDiv() again in a bit
    // 
	//alert(end);
    if (new_left < end)
    {
      //alert (the_style.left + "sd" + new_left);
	  the_timeout = setTimeout('moveClickDivR(' + end + ',' + x + ');',10);
    }
  }
}

function getStyleObjectClick(objectId) {
    // cross-browser function to get an object's style object given its
    if(document.getElementById && document.getElementById(objectId)) {
	// W3C DOM
	return document.getElementById(objectId).style;
    } else if (document.all && document.all(objectId)) {
	// MSIE 4 DOM
	return document.all(objectId).style;
    } else if (document.layers && document.layers[objectId]) {
	// NN 4 DOM.. note: this won't find nested layers
	return document.layers[objectId];
    } else {
	return false;
    }
} // getStyleObjectClick

//*************************************************************************************