var findsite = '3'; var citrusImages = { load : function() { if ($("mainimg")) {citrusCMS.flashRewrite('mainimg','/_img/layup/head.swf', 'title=&images=chop-house_0070.jpg,chop-house_0104.jpg,chop-house_0105.jpg,chop-house_0107.jpg,chop-house_0137.jpg', '0')} } } Event.observe(window, 'load', citrusImages.load, false);