function setGlobalbackground(val)
global backgroundcolor
backgroundcolor = val;