In this code, Firefox sees 'this' as the element that was clicked and passes the href attribute through the right way.
IE seems to think that 'this' as [object window] instead. How would I get this to work the same way in both browsers?
Note: jQuery would be lovely, but is not an option for this project
var printElem = getElementsByClassName('print', 'a');
for(i in printElem){
ObserveEvent(printElem[i], 'click', function(e){
window.open(this.href, '', 'location=0,menubar=1,resizable=1,scrollbars=1,width='+810+',height='+700);
cancelEvent(e);
});
}