almost working scripts and styles
more cunning scripts and styles
ugh