	browser_name = navigator.appName;
	browser_version = parseFloat(navigator.appVersion);
	if (browser_name == "Netscape" && browser_version >= 3.0)
	{ rollover = 'true'; }
	else if (browser_name == "Microsoft Internet Explorer" && browser_version >= 4.0)
	{ rollover = 'true'; }
	else { rollover = 'false'; }

	tjs_w3c = true;

  var ref;

	var tjs_ie4 = (document.all && !tjs_w3c) ? true : false;
	var tjs_ie5 = (document.all &&  tjs_w3c) ? true : false;
	var tjs_ns4 = (document.layers) ? true : false;

  function isnull(a) { return typeof a == 'object' && !a; }

	function tjs_getElement( id ) 
	{
		if( tjs_ns4 ) return findlayer( id, document );
		else if( tjs_ie4 ) return document.all[id];
		else return document.getElementById( id );
	}
	
	function show_element( id )
	{
		ref = tjs_getElement( id );
		ref.style.visibility = 'visible';
	}

	function hide_element( id )
	{
		ref = tjs_getElement( id );
		ref.style.visibility = 'hidden';
	}

	function swap_image( srcimg, destimg )
	{
		ref = tjs_getElement( srcimg );
		ref.src = destimg.src;	
	}

  function scrollcontenttopage2()
  {
    var margintopvalue = 0;
    
    ref = tjs_getElement( "content" );
    
    margintopvalue = parseInt(ref.style.marginTop.substr(0,ref.style.marginTop.length-2));
    margintopvalue = margintopvalue - 15;
    
    if (margintopvalue < -511)
    {
      margintopvalue = -511;
      window.clearInterval(scroll_timer);
    }
    
    ref.style.marginTop = margintopvalue+'px';
  }

  function scrollcontenttopage3()
  {
    var margintopvalue = 0;
    
    ref = tjs_getElement( "content" );
    
    margintopvalue = parseInt(ref.style.marginTop.substr(0,ref.style.marginTop.length-2));
    margintopvalue = margintopvalue - 15;
    
    if (margintopvalue < -1022)
    {
      margintopvalue = -1022;
      window.clearInterval(scroll_timer);
    }
    
    ref.style.marginTop = margintopvalue+'px';
  }

  function scrollcontentbacktopage1()
  {
    var margintopvalue = 0;
    
    ref = tjs_getElement( "content" );
    
    margintopvalue = parseInt(ref.style.marginTop.substr(0,ref.style.marginTop.length-2));
    margintopvalue = margintopvalue + 15;
    
    if (margintopvalue > 0)
    {
      margintopvalue = 0;
      window.clearInterval(scroll_timer);
    }
    
    ref.style.marginTop = margintopvalue+'px';
  }

  function scrollcontentbacktopage2()
  {
    var margintopvalue = 0;
    
    ref = tjs_getElement( "content" );
    
    margintopvalue = parseInt(ref.style.marginTop.substr(0,ref.style.marginTop.length-2));
    margintopvalue = margintopvalue + 15;
    
    if (margintopvalue > -511)
    {
      margintopvalue = -511;
      window.clearInterval(scroll_timer);
    }
    
    ref.style.marginTop = margintopvalue+'px';
  }

	function scrolltopage2()
	{
		scroll_timer = window.setInterval("scrollcontenttopage2()", 20);
	}

	function scrolltopage3()
	{
		scroll_timer = window.setInterval("scrollcontenttopage3()", 20);
	}

	function scrollbacktopage1()
	{
		scroll_timer = window.setInterval("scrollcontentbacktopage1()", 20);
	}

	function scrollbacktopage2()
	{
		scroll_timer = window.setInterval("scrollcontentbacktopage2()", 20);
	}
