/**********************This script is an updated smart.php script. It supports html5 avatar*****************************/ addEvent(window, 'load', smart_load_funcs, false); function smart_load_funcs() { //detect if the current browser supports html5 video var support_html5_video = supports_video(); var disable_flash = 0; var support_flash = supports_flash(); //Check the page that this script has been embedded in to find all 'smartobject' tags in the HTML smart_tags=document.getElementsByTagName("smartobject"); //Create an array to hold references to the 'smartobject' tags s_objs=new Array(); smart_tools = new Array(); //Loop through all the 'smartobject' tags that were found on the page for(i=0;i - auto_open is an attribute) for(j=0;j