A
Aaron Gray
Regarding 'self' :-
if (self)
document.write( "self<br>");
if (self === window)
document.write( "self === window<br>");
else if (self == window)
document.write( "self == window<br>");
if (self === document)
document.write( "self === document<br>");
else if (self == document)
document.write( "self == document<br>");
if (window === document)
document.write( "window === document<br>");
else if (window == document)
document.write( "window == document<br>");
IE :-
self
self == window
self == document
window == document
FF, Opera, Safari :-
self
self === window
Aaron
if (self)
document.write( "self<br>");
if (self === window)
document.write( "self === window<br>");
else if (self == window)
document.write( "self == window<br>");
if (self === document)
document.write( "self === document<br>");
else if (self == document)
document.write( "self == document<br>");
if (window === document)
document.write( "window === document<br>");
else if (window == document)
document.write( "window == document<br>");
IE :-
self
self == window
self == document
window == document
FF, Opera, Safari :-
self
self === window
Aaron