Image script

Does anyone know of a script that loads a certain image depending on what say it is?

I work for a company which owns several venues, and we hav a pop up on our main site which displays promotions.

So sunday - monday I want one image, then tuesday - wednesday I want another one and thursday- saturday another one.

Obviously a script would help so it doesnt have to be changed manually.

Thanks in advance.