Start();

function Start()
{
todaysTime = new Date();
todaysYear = todaysTime.getYear();
todaysMonth = todaysTime.getMonth();
todaysDate = todaysTime.getDate();
todaysHour = todaysTime.getHours();
Hours = todaysHour;
Mons = todaysMonth;
Mins = todaysDate;
Year = todaysYear;


if (Mins == "1" || Mins == "11" || Mins == "21" || Mins == "31") { 
           
           header1();
       }
    else
    if (Mins == "2" || Mins == "12" || Mins == "22" || Mins == "18" ) { 
           
           header1();
       }
    else
    if (Mins == "3" || Mins == "13" || Mins == "23" || Mins == "29") { 
           
           header1();
       }
    else
    if (Mins == "4" || Mins == "14" || Mins == "24" || Mins == "30") { 
           
           header1();
       }
    else
    if (Mins == "5" || Mins == "15" || Mins == "25" || Mins == "8" || Mins == "28") {

           header1();
       }
    else
    if (Mins == "6" || Mins == "16" || Mins == "26" || Mins == "9" || Mins == "19" ) {

           header1();
       }
    else
    if (Mins == "7" || Mins == "17" || Mins == "27" || Mins == "10" || Mins == "20" ) {

           header1();
       }
}


function header1()
{
if ( window.screen.width == "800" ) { document.write('<p align="center"><img src="toys_header_700x104.gif" width="700" height="104" border="0" alt="Check Your Toys - in Santas Toys Data Base."></p> ');
} else if ( window.screen.width > "800" && window.screen.width <= "1024" ){ document.write('<p align="center"><img src="toys_header_900x134.gif" width="900" height="134" border="0" alt="Check Your Toys - in Santas Toys Data Base."></p>');
} else if (window.screen.width > "1024" && window.screen.width <= "1280" ) { document.write('<p align="center"><img src="toys_header_1000x149.gif" width="1000" height="149" border="0" alt="Check Your Toys - in Santas Toys Data Base."></p>');
} else if (window.screen.width > "1280" && window.screen.width <= "1600" ) { document.write('<p align="center"><img src="toys_header_1200x179.gif" width="1200" height="179" border="0" alt="Check Your Toys - in Santas Toys Data Base."></p>');
} else if (window.screen.width > "1600" ) { document.write('<p align="center"><img src="toys_header_1600x239.gif" width="1600" height="239" border="0" alt="Check Your Toys - in Santas Toys Data Base."></p>');
} else {document.write('<p align="center"><img src="toys_header_700x104.gif" width="700" height="104" border="0" alt="Check Your Toys - in Santas Toys Data Base."></p> ');
}

}

function header3()
{
if ( window.screen.width == "800" ) { document.write('<p align="center"><img src="toys_header_700x104.gif" width="700" height="104" border="0" alt="Check Your Toys - in Santas Toys Data Base."></p> ');
} else if ( window.screen.width > "800" && window.screen.width <= "1024" ){ document.write('<p align="center"><img src="toys_header_900x134.gif" width="900" height="134" border="0" alt="Check Your Toys - in Santas Toys Data Base."></p>');
} else if (window.screen.width > "1024" && window.screen.width <= "1280" ) { document.write('<p align="center"><img src="toys_header_1000x149.gif" width="1000" height="149" border="0" alt="Check Your Toys - in Santas Toys Data Base."></p>');
} else if (window.screen.width > "1280" && window.screen.width <= "1600" ) { document.write('<p align="center"><img src="toys_header_1200x179.gif" width="1200" height="179" border="0" alt="Check Your Toys - in Santas Toys Data Base."></p>');
} else if (window.screen.width > "1600" ) { document.write('<p align="center"><img src="toys_header_1600x239.gif" width="1600" height="239" border="0" alt="Check Your Toys - in Santas Toys Data Base."></p>');
} else {document.write('<p align="center"><img src="toys_header_700x104.gif" width="700" height="104" border="0" alt="Check Your Toys - in Santas Toys Data Base."></p> ');
}

}

