
 I don't know why 
SandboxJavaScriptToggleImagesViaIncludePeterZumbruch is working, 

 but this doesn't 

 JavaScript itself is working, see 
SandboxJavaScriptSwitchImagesPeterZumbruch 

 Maybe someone else finds the reason. 
 
  Switch Images  
  
Code:
<!-- %INCLUDE{"Homepages.JavaScriptSwitchImages"}% -->
%INCLUDE{"%ATTACHURL%/onclickSwitchImage.js")%
<img     src="http://hades-wiki.gsi.de/pub/SimAna/PairsNov02/N_ep_em_gen4_ABC.gif" 
     onclick="switchToggle(this,
                          'http://hades-wiki.gsi.de/pub/SimAna/PairsNov02/N_ep_em_gen4_ABC.gif', 
                          'http://hades-wiki.gsi.de/pub/SimAna/PairsNov02/background_ABC.gif', 
                          'http://hades-wiki.gsi.de/pub/SimAna/PairsNov02/gen4_ABC.gif');">
The syntax is 
     <img src="A" onclick="switchToggle(this,'A','B','C');">
Up to 9 sources can be used.
Click on the picture below and enjoy!
--
 
-- 
PeterZumbruch - 02 Mar 2006