I have an HTML code in my local machine which I want to test in IE 7 and IE 8 but I have a MacBook. How can I test that?

Lately i have been having a problem relating to a HTML code in my local machine which I want to test in IE 7 and IE 8 but I have a MacBook, can anyone please guide me on how can I test that.