newDesign javascript update

	All functions now work

Commit:  Robert, Kasper & Christopher