REQUIRESCRIPT and static resources in list onclick javascript button after “Serve Static Resources from force.com domain” critical update
Using static resources in OnClick Javascript buttons after "Serve Static Resources from force.com domain" critical update