/**
 * This function allows us to return the Y position of a menu if you want
 * to display the menu's cascading above your navigation images.
 *
 * @param int intYmax          The bottom most point on the Y axis
 * @param int intMenuCount     The total amount of menu's
 * @param int intMenuSize      The size of each menu.
 *
 * @param int                  The top most point of the menu's or 0
 */
function getYpos(intYmax, intMenuCount, intMenuSize) {

	point = intYmax - (intMenuCount * intMenuSize);

	return point < 0 ? 0 : point;

}