﻿// JScript File

function SaveTopPosition(anchorElement, topValueContainerID)
    {
        var containerElement = $get(topValueContainerID);
        var anchorElementLocation = Sys.UI.DomElement.getLocation(anchorElement);
        containerElement.value = anchorElementLocation.y - 190 - 20;
    }
