addfunc AddFunc Head & Footer Code