
  var ns = ((navigator.appName == "Netscape"));


  function docwidth()
  {
	if (ns==true)
	{
	  return parseInt(window.innerWidth);
	}
	else
	{
	  return parseInt(document.body.clientWidth);
	}
  }

  function docheight()
  {
	if (ns==true)
	{
	  return parseInt(window.innerHeight);
	}
	else
	{
	  return parseInt(document.body.clientHeight);
    }
  }

  function docscrolltop()
  {
    if (ns==true)
    {
      return 10;
    }
    else
    {
      return parseInt(document.body.scrollTop);
    }
  }





function divhide(obj)
{
	if (ns==true)
	{
		var tempobj = document.getElementById(obj); 
		tempobj.style.visibility = "hidden";
	}
	else
	{
		document.all[obj].style.visibility="hidden";
	}
}


function divshow(obj)
{
	if (ns==true)
	{	
		var tempobj = document.getElementById(obj); 
		tempobj.style.visibility = "visible";
	}
	else
	{
		document.all[obj].style.visibility="visible";
	}
}

function divposleft(obj,x) 
{
    if (ns==true)
      {	
		var tempobj = document.getElementById(obj); 
		tempobj.style.left = x;
      }
    else
      {
		document.all[obj].style.left = x;
      }
}

function divpostop(obj,y) 
{
    if (ns==true)
      {	
		var tempobj = document.getElementById(obj); 
		tempobj.style.top = y;
      }
    else
      {
		document.all[obj].style.top = y;
      }
}


function divpos(obj,x,y) 
{ 
    if (ns==true)
      {	
		var tempobj = document.getElementById(obj); 
		tempobj.style.left = x;
        tempobj.style.top = y;
      }
    else
      {
		document.all[obj].style.left = x;
        document.all[obj].style.top = y;
      }
}
  
  
function imgchange(obj,img)
{
   if (ns==true)
   {
		var tempobj = document.getElementById(obj); 
		tempobj.src = img;
      }
    else
      {
		document.all[obj].src = img;
      }
}

