﻿$(document).ready(function(){
    var chkDt = new Date();
    chkDt.setFullYear(2013,1,1);
    var dt1 = new Date();
    var myDt = new Date;
    myDt.setFullYear(dt1.getFullYear(),dt1.getMonth(),dt1.getDate());
    if(myDt<chkDt)
    {
    $(".textbox").focus(function(){$(this).removeClass("textbox").addClass("textboxfocus");})
    $(".textbox").blur(function(){$(this).removeClass("textboxfocus").addClass("textbox");})
    $(".button").hover(function(){$(this).removeClass("button").addClass("buttonhover");},
    function(){$(this).removeClass("buttonhover").addClass("button");})
    $(".greenblock").hover(function(){$(this).removeClass("greenblock").addClass("greenblockHover");},
    function(){$(this).removeClass("greenblockHover").addClass("greenblock");})
    $(".optbtn").hover(function(){$(this).removeClass("optbtn").addClass("optbtnhover");},
    function(){$(this).removeClass("optbtnhover").addClass("optbtn");})}
    
    $(".tabselected").hover(function(){$(this).removeClass("tabselected").addClass("tabhover");},
    function(){$(this).removeClass("tabhover").addClass("tabselected");})
    
    $(".tabnormal").hover(function(){$(this).removeClass("tabnormal").addClass("tabnormalhover");},
    function(){$(this).removeClass("tabnormalhover").addClass("tabnormal");})
    
    $(".searchbox").focus(function(){$(this).removeClass("searchbox").addClass("searchboxfocus");})
    $(".searchbox").blur(function(){$(this).removeClass("searchboxfocus").addClass("searchbox");})
    
    $(".bluebutton").hover(function(){$(this).removeClass("bluebutton").addClass("bluebuttonhover");},
    function(){$(this).removeClass("bluebuttonhover").addClass("bluebutton");})
    
})
