Javascript does not have the ability to do that (for security reasons). For IE you would need to have the user accept an appropriate Active-X control.