function writeflashhtml( arg ) { var parm = [] var _default_version = "8,0,24,0"; var _default_quality = "high"; var _default_align = "middle"; var _default_menu = "false"; var _bgcolor = "#ffffff"; for(i = 0; i < arguments.length; i ++) { parm[i] = arguments[i].split( ).join().split(=) for (var j = parm[i].length-1; j > 1; j --){ parm[i][j-1]+="="+parm[i].pop(); } switch (parm[i][0]) { case _version : var _version = parm[i][1] ; break ; case _swf : var _swf = parm[i][1] ; break ; case _base : var _base = parm[i][1] ; break ; case _quality : var _quality = parm[i][1] ; break ; case _loop : var _loop = parm[i][1] ; break ; case _bgcolor : var _bgcolor = parm[i][1] ; break ; case _wmode : var _wmode = parm[i][1] ; break ; case _play : var _play = parm[i][1] ; break ; case _menu : var _menu = parm[i][1] ; break ; case _scale : var _scale = parm[i][1] ; break ; case _salign : var _salign = parm[i][1] ; break ; case _height : var _height = parm[i][1] ; break ; case _width : var _width = parm[i][1] ; break ; case _hspace : var _hspace = parm[i][1] ; break ; case _vspace : var _vspace = parm[i][1] ; break ; case _align : var _align = parm[i][1] ; break ; case _class : var _class = parm[i][1] ; break ; case _id : var _id = parm[i][1] ; break ; case _name : var _name = parm[i][1] ; break ; case _style : var _style = parm[i][1] ; break ; case _declare : var _declare = parm[i][1] ; break ; case _flashvars : var _flashvars = parm[i][1] ; break ; default :; } } var thtml = "" thtml += "" if(_quality) thtml += "" else thtml += "" if(_loop) thtml += "" if(_bgcolor) thtml += "" if(_play) thtml += "" if(_menu) thtml += "" else thtml += "" if(_scale) thtml += "" if(_salign) thtml += "" if(_wmode) thtml += "" if(_base) thtml += "" if(_flashvars) thtml += "" thtml += "