
		function setPicDate() 
		{
			
		}


        function setPicTime()
        {
                var time=new Date();
                var hour = time.getHours().toString(), min = time.getMinutes().toString();
                var h1 = document.getElementById("h1");
                var h2 = document.getElementById("h2");
                var m1 = document.getElementById("m1");
                var m2 = document.getElementById("m2");

                if (hour.length == 1)
                {
                        h1.src = "/images/digits/red/0.gif";
                        h1.alt = "0";
                        h2.src = "/images/digits/red/"+ hour.charAt(0) +".gif";
                        h2.alt = hour.charAt(0);
                }
                else
                {
                        h1.src = "/images/digits/red/"+ hour.charAt(0) +".gif";
                        h1.alt = hour.charAt(0);
                        h2.src = "/images/digits/red/"+ hour.charAt(1) +".gif";
                        h2.alt = hour.charAt(1);
                }

                if (min.length == 1)
                {
                        m1.src = "/images/digits/red/0.gif";
                        m1.alt = "0";
                        m2.src = "/images/digits/red/"+ min.charAt(0) +".gif";
                        m2.alt = min.charAt(0);
                }
                else
                {
                        m1.src = "/images/digits/red/"+ min.charAt(0) +".gif";
                        m1.alt = min.charAt(0);
                        m2.src = "/images/digits/red/"+ min.charAt(1) +".gif";
                        m2.alt = min.charAt(1);
                }
        } 
		function setPicDate (){ 
			var time=new Date();
			var month = time.getMonth()+1;
			month = month.toString();
			var day = time.getDate().toString(),  year = time.getFullYear().toString();
            var d1 = document.getElementById("d1");
            var d2 = document.getElementById("d2");
            var month1 = document.getElementById("month1");
            var month2 = document.getElementById("month2");
            var y1 = document.getElementById("y1"); 
            var y2 = document.getElementById("y2");
            var y3 = document.getElementById("y3");
            var y4 = document.getElementById("y4");

                if (day.length == 1)
                {
                        d1.src = "/images/digits/0.gif";
                        d1.alt = "0";
                        d2.src = "/images/digits/"+ day.charAt(0) +".gif";
                        d2.alt = day.charAt(0);
                }
                else
                {
                        d1.src = "/images/digits/"+ day.charAt(0) +".gif";
                        d1.alt = day.charAt(0);
                        d2.src = "/images/digits/"+ day.charAt(1) +".gif";
                        d2.alt = day.charAt(1);
                }
 
                if (month.length == 1)
                {
                        month1.src = "/images/digits/0.gif";
                        month1.alt = "0";
                        month2.src = "/images/digits/"+ month.charAt(0) +".gif";
                        month2.alt = month.charAt(0);
                }
                else
                {
                        month1.src = "/images/digits/"+ month.charAt(0) +".gif";
                        month1.alt = month.charAt(0);
                        month2.src = "/images/digits/"+ month.charAt(1) +".gif";
                        month2.alt = month.charAt(1);
                }
                y1.src = "/images/digits/"+ year.charAt(0) +".gif";
                y1.alt = year.charAt(0);
                y2.src ="/images/digits/"+ year.charAt(1) +".gif";
                y2.alt = year.charAt(1);
                y3.src ="/images/digits/"+ year.charAt(2) +".gif";
                y3.alt = year.charAt(2);
                y4.src ="/images/digits/"+ year.charAt(3) +".gif";
                y4.alt = year.charAt(3);
                
	
		}
