function replaceWithFlash(id, flash,width,height, flashVersion) { // Flash Embed Code with thanks to http://blog.deconcept.com/flashobject/ try { var fo = new FlashObject("/flash/" + flash + ".swf", id, width.toString(), height.toString(), flashVersion.toString(), "#FFFFFF"); fo.addParam("wmode", "transparent"); fo.write(id); } catch(ex) { } } tooltip_show = function(url,parent){ el = $('ajax_tooltipObj'); el.hide(); imageTag = parent.getElementsByTagName("img")[0]; pos = Position.cumulativeOffset(imageTag); el.setStyle({top:''+(pos[1]-50)+'px', left:''+(pos[0]+60)+'px'}); el.show(); $('ajax_tooltip_content').innerHTML = $(url).innerHTML; }; tooltip_hide = function(){ $('ajax_tooltipObj').hide(); }; function submitShowSearch(a1) { Form.submit('show_search_form'); }