// JavaScript Document
function fadeOut(thisname,divname,classname) {
    //thisname.style.filter="blendTrans(duration=0.5)";
    // Make sure the filter is not playing.
  /*  if (thisname.filters.blendTrans.status != 0.5) {
        thisname.filters.blendTrans.apply();*/
   		thisname.style.visibility="hidden";
		document.getElementById(divname).className=classname;/*
        thisname.filters.blendTrans.play();
    }*/
}
function fadeIn(thisname,ref,lid) {
   // thisname.style.filter="blendTrans(duration=0.5)";
	// Make sure the filter is not playing.
	getCoor(ref,lid);
   /* if (thisname.filters.blendTrans.status != 0.5) {
        thisname.filters.blendTrans.apply();
     */   thisname.style.visibility="visible";/*
        thisname.filters.blendTrans.play();
		
    }*/
}
function showMe(xC,yC,lname)
{
	var x = new getObj(lname);
	x.style.top=yC+2;
	x.style.left=xC;
	
	
}
function getObj(name)
{
  if (document.getElementById)
  {
  	this.obj = document.getElementById(name);
	this.style = document.getElementById(name).style;
  }
}
function getCoor(imgId,lid) 
{
	var d = document;
	var x = (d.layers)?d[imgId].x:d[imgId].offsetLeft;
	var y = (d.layers)?d[imgId].y:d[imgId].offsetTop;
	showMe(x,y,lid);
	//alert("x = " + x + "\ny = " + y);
}

function stay(name,divname,classname){
	name.style.visibility="visible";
	document.getElementById(divname).className=classname;
}