﻿
        var headline_count;
        var headline_interval;
        var old_headline = 0;
        var current_headline = 0;

        $(document).ready(function() {
            /*search */
            $("#searchform").hide();
            $(".openlogintab").click(function() {
                $("#open").hide();
                $("#close").show();
                $("div#panel").slideDown("slow")
            });
            $(".lotSearch").click(function() {
                $("#searchform").slideToggle(600);
                $(this).toggleClass("alotSearch");
            });
            $(".searchCancel").click(function() {
                $("#searchform").slideUp(600);
                $(".lotSearch").removeClass("alotSearch");
            });
            $(".open").click(function() {
                $("#searchform").hide();
                $(".lotSearch").removeClass("alotSearch");
            });

            if ($('.MsgIcon').length) {
                $('.iconMyAccount').addClass("iconMyAccount-on");
                $('.iconMyAccount-on').mouseover(function() {
                    ddrivetip('There is an outstanding\n issue with your account.');
                });
                $('.iconMyAccount-on').mouseout(function() {
                    hideddrivetip();
                });
            } else {

            }

        });
        
        function RedirectToAccount()
        {
            self.location.href="/UserAccount/createaccount.aspx";
        }


        var alternate = 0
     
        function showWatch() 
        {
            pageClose = new Date();
          var tim
          var Digital = new Date()
          var hours = Digital.getHours()
          var minutes = Digital.getMinutes()
          var dn = "AM"
          if (hours == 12) dn = "PM"
          if (hours > 12) 
          {
              dn = "PM"
              hours = hours - 12
          }
          if (hours == 0) { hours = 12 }
          if (hours.toString().length == 1)
          { hours = "0" + hours }
          if (minutes <= 9)
          { minutes = "0" + minutes }

          Datevalue = hours + ":" + minutes;
          //$("#ctl00_lblTime").html(Datevalue) 
           
           
        //textMe.innerHTML('Me')
       



         setTimeout("showWatch()", 1000);
         }
         $(document).ready(function() {
            showWatch();            
        });


   
