add wdatepicker
add advertisement function