/***        QUICKLINKS ROLLOUT        ***/

        var QuickDiv;
        var QuickHeight = 0;
        var QuickTargetHeight = 0;
        var QuickBaseHeight;
        var QuickVel = 30;
        var QuickTimeout = 10;
        var QuickCountdown = false;
        var QuickCount = 0;

        function QuickInit()
        {
	        QuickDiv = document.getElementById("QuicklinksDiv");
	        QuickBaseHeight = QuickDiv.clientHeight;
	        QuickBaseHeight = 250;
        }

        function QuickTimer()
        {
	        if (QuickCountdown == true) QuickCount--;
	        if (QuickCount == 0) QuickTargetHeight = 0;

	        d = QuickTargetHeight-QuickHeight;
	        if (d>0) {
		        if (Math.abs(d)<QuickVel) QuickHeight = QuickTargetHeight;
		        else QuickHeight += QuickVel;
	        } else if (d<0) {
		        if (Math.abs(d)<QuickVel) QuickHeight = QuickTargetHeight;
		        else QuickHeight -= QuickVel;
	        }
	        if (QuickHeight == 0) {
		        QuickDiv.style.display = "none";
	        } else {
		        QuickDiv.style.height = QuickHeight+"px";
		        setTimeout("QuickTimer();", QuickTimeout);
	        }
        }

        function QuickReset()
        {
	        QuickCount = 30;
	        QuickCountdown = false;
        }

        function QuickStartCounting()
        {
	        QuickCountdown = true;
        }

        function RolloutQuicklinks()
        {
	        QuickReset();
	        QuickDiv.style.display = "block";
	        QuickTargetHeight = QuickBaseHeight;
	        QuickTimer();
        }

if (window.addEventListener) //DOM method for binding an event
    window.addEventListener("load", QuickInit, false);
else if (window.attachEvent) //IE exclusive method for binding an event
    window.attachEvent("onload", QuickInit);
else if (document.getElementById) //support older modern browsers
    window.onload=QuickInit;
