Changed isPM function to be IE7 Standards Mode friendly.