detect the plugin var alternateContent = 'This photo gallery requires the Adobe Flash Player.' + 'Get the free Flash Player here'; document.write(alternateContent); // insert non-flash content } // -->