﻿function AttendeesValidation(sender, args) {
    if (1 == 0) {
        args.IsValid = true;
    } else {
        args.IsValid = false;
    }
}

function ShowHoverBox(sender) {

    var box = document.getElementById("HoverBox");

//    box.display = "inline";
    box.innerHTML = sender.alt;

    box.style.left = "0px";
    box.style.top = "0px"
}

function HideHoverBox() {

    var box = document.getElementById("HoverBox");

    box.innerHTML = "";
//    box.display = "none";

    box.style.left = "-1000px";
    box.style.top = "-1000px";
}

//var IE = document.all?true:false;
//if (!IE) document.captureEvents(Event.MOUSEMOVE)
//document.onmousemove = getMouseXY;
//var tempX = 0;
//var tempY = 0;

//function getMouseXY(e) {

//    if (IE) { // grab the x-y pos.s if browser is IE
//        tempX = event.clientX + document.body.scrollLeft;
//        tempY = event.clientY + document.body.scrollTop;
//    }
//    else {  // grab the x-y pos.s if browser is NS
//        tempX = e.pageX;
//        tempY = e.pageY;
//    }

//    if (tempX < 0) { tempX = 0; }
//    if (tempY < 0) { tempY = 0; }

//    return true;
//}

