running embedded javascript - a small test file
<p>I've updated the code to reflect input. </p>

<pre><code>&lt;!doctype html&gt;
&lt;html lang="en"&gt;
  &lt;head&gt;
    &lt;meta http-equiv="Content-type" content="text/html; charset=utf-8"&gt;
    &lt;!-- &lt;script type="text/javascript" src="../archelib.js"&gt;&lt;/script&gt; --&gt;
    &lt;title&gt;Test - Bookmark List&lt;/title&gt;    
    &lt;style&gt;
  &lt;/style&gt;
  &lt;/head&gt;
  &lt;body&gt; 
  &lt;span id="f0e"&gt;&lt;/span&gt;
    &lt;script type="text/javascript"&gt;


var arr1=['','a','b','c']
document.write(check_empty(arr1,'f0e','fail'));
function check_empty(text,id,res)
  {
  for(var d=0;d&lt;text.length;d++)
    {
    if(text[d].value=='')
      {
      o2(id,res);
      return 0;
      }
    }
  return 1;
  }

function o2(a,b)
  {
  return document.getElementById(a).innerHTML=b;
  }

    &lt;/script&gt;    
  &lt;/body&gt;
&lt;/html&gt;
</code></pre>
