forked from Bjarke Viksoe`s greate job http://www.viksoe.dk/code/windowless1.htm