Code

Removed debug stuff,added comment and tested it in IE.