I have declared an array in the form:
var refs = {
'EE810': "Presence Detector 1 Channel",
'EE871': "Motion Detector Outdoor 220/360Deg Blk",
'EE870': "Motion Detector Outdoor 220/360Deg WH",
'EE811': "Presence Detector 2 Channel",
'EE805': "Motion Detector Indoor White Flush",
'EE862': "Motion Detector Alum Outdoor 220 Deg",
}
ie7 seems to consider this a syntax error as function declarations in the same script block suddenly become undefined. What's the simplest way to reformat this so it's valid in ie?