﻿<!--
var DHTML = (document.getElementById || document.all || document.layers);

function getObj(name)
{
  if (document.getElementById)
  {
  	this.obj = document.getElementById(name);
	this.style = document.getElementById(name).style;
  }
  else if (document.all)
  {
	this.obj =document.all[name];
	this.style = document.all[name].style;
  }
  else if (document.layers)
  {
   	this.obj = document.layers[name];
   	this.style = document.layers[name];
  }
}

function hoverText(divId, link, offset_x, offset_y)
{
    if (!DHTML) return;
    
    var x = new getObj(divId);
    
    var newY = findPosY(link) + offset_y;
    var newX = findPosX(link) + offset_x;
    
    x.style.top = newY + 'px';
    x.style.left = newX + 'px';
    
    x.style.visibility = x.style.visibility=="visible"?"hidden":"visible";
}

var texttop = 400;

function move(amount)
{
	if (!DHTML) return;
	var x = new getObj('licenseInfo');
	texttop += amount;
	x.style.top = texttop;
	x.style.left = texttop;
}

function findPosX(obj)
{
	var curleft = 0;
	if (obj.offsetParent)
	{
		while (obj.offsetParent)
		{
			curleft += obj.offsetLeft
			obj = obj.offsetParent;
		}
	}
	else if (obj.x)
		curleft += obj.x;
	return curleft;
}

function findPosY(obj)
{
	var curtop = 0;
	if (obj.offsetParent)
	{
		while (obj.offsetParent)
		{
			curtop += obj.offsetTop
			obj = obj.offsetParent;
		}
	}
	else if (obj.y)
		curtop += obj.y;
	return curtop;
}

function dropDownLink(newPage)
{ 
  
  //alert(newPage);
  location = newPage;
 //if (document.quicklink.linker.options[document.quicklink.linker.selectedIndex].value != "stay") { 
 //location = document.quicklink.linker.options[document.quicklink.linker.selectedIndex].value; 
  //} 
 } 

-->