/******************************************************************* 
* File    : © JavaScript-FX.com
* Purpose : Float a Div up and down the page as it scrolls
*
***********************************************************************/ 

function JSFX_FloatDiv(startX, startY, divName)  {
  var ns = (navigator.appName.indexOf("Netscape") != -1);
  var d = document;
  function ml(id)
  {
    var el=d.getElementById?d.getElementById(id):d.all?d.all[id]:d.layers[id];
    if(d.layers)el.style=el;
    el.sP=function(x,y){this.style.left=x;this.style.top=y;};
    el.x = startX; el.y = startY;
    return el;
  }
  window.stayTopLeft=function()
  {
    var pY = ns ? pageYOffset : document.body.scrollTop;
    ftlObj.y += (pY + startY - ftlObj.y)/8;
    ftlObj.sP(ftlObj.x, ftlObj.y);
    setTimeout("stayTopLeft()", 40);
  }
  ftlObj = ml(divName);
  stayTopLeft();
}

/******************************************************************* 
* File    : © JavaScript-FX.com
* Purpose : MouseOver Link Fade in and out
*
***********************************************************************/ 

function setTrans(transType)
{
	for(var i=0 ; i<document.links.length ; i++)
	if(document.links[i].filters != null && document.links[i].filters[0] != null)
		document.links[i].filters[0].Transition = transType;
}

	for(var i=0 ; i<document.links.length ; i++)
		if(document.links[i].className == "textTrans")
		{
			var lnk=document.links[i];
			lnk.onmouseover=transOn;
			lnk.onmouseout=transOff;
		}

function transOn() 
{
//	if(this.filters != null) this.filters[0].stop();
	if(this.style)
	{
		this.style.backgroundColor = "#FF6600";
		this.style.color = "#EEFFFF";
	}
} 
function transOff() 
{ 
	if(this.filters != null) this.filters[0].apply();
	if(this.style)
	{
		this.style.backgroundColor = "#000080";
		this.style.color = "#FFFFFF";
	}
	if(this.filters != null) this.filters[0].play();
} 


