Sorry for submitting this as a script can someone delete this. I lready have this in the snippits section, thanks.