8
after digging into it a bit further, you have the same problem in the javascript function
com_stewartspeak_replacement()Change this:
replaceSelector("h1","heading.php",true);
var testURL = "test.png" ;
var doNotPrintImages = false;
var printerCSS = "replacement-print.css";
var hideFlicker = false;
var hideFlickerCSS = "replacement-screen.css";
var hideFlickerTimeout = 1000;
to:
replaceSelector("h1","/heading.php",true);
var testURL = "/test.png" ;
var doNotPrintImages = false;
var printerCSS = "/replacement-print.css";
var hideFlicker = false;
var hideFlickerCSS = "/replacement-screen.css";
var hideFlickerTimeout = 1000;
and see if you get better results.