/**
 * swf postload
 * avoid "click here" IE behaviour
 * load swf movie data when desired
 *
 * jaco_at_pixeldump
 * feel free to use code as you want
 * WHITOUT stripping this header
 *
 * release under license, gpl:
 * http://www.fsf.org/licensing/licenses/gpl.html
 */
function swf_postload(id,sh,swfDir){sfPath=sh["swfFileName"];if(swfDir) sfPath=swfDir+sfPath;if(!sh["align"]) sh["align"]="";if(!sh["quality"]) sh["quality"]="best";if(!sh["bgcolor"]) sh["bgcolor"]="#fff";shtml="\n<object type=\"application/x-shockwave-flash\"";shtml+="\ndata=\"";shtml+=sfPath;shtml+="\"";shtml+="\nwidth=\"";shtml+=sh["width"];shtml+="\"\nheight=\"";shtml+=sh["height"];shtml+="\"\nid=\"";shtml+=sh["id"];shtml+="\"\nalign=\"";shtml+=sh["align"];shtml+="\">";shtml+="\n\t<param name=\"movie\" value=\"";shtml+=sfPath;shtml+="\"/>\n\t<param name=\"quality\" value=\"";shtml+=sh["quality"];shtml+="\"/>\n\t<param name=\"bgcolor\" value=\"";shtml+=sh["bgcolor"];shtml+="\"/>";if(sh["FlashVars"]){var fv=sh["FlashVars"].split(":");shtml+="\n\t<param name=\"flashVars\" value=\"";shtml+=fv[0]+"="+fv[1];shtml+="\"/>";}if(sh["wmode"]){shtml+="\n\t<param name=\"wmode\" value=\"";shtml+=sh["wmode"];shtml+="\"/>";}shtml+="\n</object>";var md=document;md.getElementById(id).innerHTML=shtml;}
