//--------------------------------------------------------------------------------------- //This script looks for all 'smartobject' tags in the HTML page in which it is embedded, then dynamically adds a script //tag to the HEAD section of the HTML page that references master_embed.php. Master_embed.php does the actual work of //creating the smart objects //--------------------------------------------------------------------------------------- function smart_load_func() { //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(); //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