<!--
var isvisiblenow = 0;
finalX = 0;
finalY = 0;

function setcoords(theclick){
if (!event) var event = theclick;

//dom
if (event.layerX){
    clicklocX = event.layerX;
    clicklocY = event.layerY;
    windowlocX = event.pageX;
    windowlocY = event.pageY;
//finalX = (clicklocX+12)+'px';
//finalY =  (clicklocY-12)+'px';
finalX = (clicklocX-120)+'px';
finalY =  (clicklocY+7)+'px';

}

//ie
else if(event.offsetX){
//    clicklocX = event.offsetX;  // relative to parent container
//    clicklocY = event.offsetY;

	windowlocX = event.offsetX;  
    windowlocY = event.offsetY;

//The clientX attribute retrieves the x-coordinate of the mouse pointer with respect to the client region of the application window.
    if(document.documentElement && document.documentElement.scrollLeft) {
        windowlocX = event.clientX + document.documentElement.scrollLeft; // 
        windowlocY = event.clientY + document.documentElement.scrollTop;
        }
    else if(document.body && document.body.scrollLeft) {
        windowlocX = event.clientX + document.body.scrollLeft;
        windowlocY = event.clientY + document.body.scrollTop;
        }
    else {
        windowlocX = event.clientX;
        windowlocY = event.clientY;
        }
//finalX = (windowlocX-100)+'px';
//finalY =  (windowlocY-10)+'px';
finalX = (windowlocX-250)+'px';
finalY =  (windowlocY+40)+'px'; // +moves it down, -moves it up -- IE

    }
}

function showme(that, theclick){
    firstTime = true;

    setcoords(theclick);

if (isvisiblenow!=0 && isvisiblenow!=that) {
    document.getElementById(isvisiblenow).style.visibility= "hidden";
    }
if (document.getElementById) {
//    if (window.innerWidth) {
//        alert('booyah');
        document.getElementById(that).style.top = finalY;
        document.getElementById(that).style.left = finalX;
        document.getElementById(that).style.visibility = (document.getElementById(that).style.visibility != "visible") ? "visible" : "hidden";
//        }
    isvisiblenow = that;
    return true;
    }
} // end function showme

function showmenoselect(that, theclick){ // also hide select boxes - ie 6 bleedthrough problem
    firstTime = true;
    setcoords(theclick);
	
 
if (isvisiblenow!=0 && isvisiblenow!=that) {
    document.getElementById(isvisiblenow).style.visibility= "hidden";
    }
if (document.getElementById) {
//    if (window.innerWidth) {
//        alert('booyah');
        document.getElementById(that).style.top = finalY;
        document.getElementById(that).style.left = finalX;
        document.getElementById(that).style.visibility = (document.getElementById(that).style.visibility != "visible") ? "visible" : "hidden";
		
		//var test = document.getElementById(that).style.visibility ;
		//alert(test) ;
		// if that visible hide form if that hidden show form
		if (document.getElementById(that).style.visibility == "visible") {
			document.getElementById("webfeatform").style.visibility = "hidden" ; 
		} else if  (document.getElementById(that).style.visibility == "hidden") {
			document.getElementById("webfeatform").style.visibility = "visible" ; 
		}
 
//        }
    isvisiblenow = that;
    return true;
    }
} // end function showme

//-->
 
