[jQuery] second instance of DOMwindow picking up properties of first instance

[jQuery] second instance of DOMwindow picking up properties of first instance


I have 3 instances of DOMwindow, and after the first DOMwindow has
opened and closed on click event- the next DOMwindow takes the layout
properties of the first. How do i kill the proerties of the first
instance?
$(".mapDOMWindow").openDOMWindow({
height:220,
width:600,
eventType:"click",
overlay:1,
borderColor:"#cccccc"
});
$(".mapcloseDOMWindow").closeDOMWindow({eventType:"click"});
$(".sMessage").openDOMWindow({
height:80,
width:350,
eventType:"click",
overlay:0,
borderSize:2,
windowBGColor:"#B2FA77"
});
$(".sMessage").closeDOMWindow({eventType:"blur"});
$(".eMessage").openDOMWindow({
height:80,
width:350,
eventType:"click",
overlay:0,
borderSize:2,
windowBGColor:"#FBA058"
});
$(".eMessage").closeDOMWindow({eventType:"blur"});