 Date.format = 'dd/mm/yyyy';

 $(document).ready(function(){
 //Start code ******************************************       
 
    /*date picker - activate the plugin then set the default text and hide on focus*/
    // attach the date picker;
    jQuery('.date-pick').datePicker();

    var elems = jQuery('.empty');
    //for( var i = 0; i<elems.length; i++){
    //   console.log(elems[i]);
    //}
    jQuery('.empty').attr("value","dd/mm/yyyy").addClass("paleEffect");
    jQuery('.empty').focus(function(){
        jQuery(this).removeClass("paleEffect");
    });
   

    //remove the paleEffect class if the user "clicks" without and finding focus by tabbing trough the form
    jQuery('.dp-choose-date').click(function(){
        jQuery(this).prev().attr("value","").removeClass("paleEffect");
    }); 
    
    // put a clear on alternative items in two column lists
    jQuery('#twoColumn.thumbnailList li:even').addClass("clearBoth");
    
    // No sifr for Family Content page h2 - have added position styling for IE (6 & 7) in common.css
    jQuery("#familyContent #copyContainer h2").removeClass("sifr");

 //end code ******************************************
 });