Javascript-function build url
<p>I'm working on a project, and if I can get this to work it would save me a lot of time.
I want to build a url in my javascript function, with the variable as part of the url. (I'm not good at javascript so I can't explain it properly... but I can show what I've got so far). It's more complicated, but it looks something like this:</p>

<p>I have this function (I know it doesn't work :-) ):</p>

<pre><code>function art1(range) {
top.frames['infoframe'].location.href = 'http://url_part_1' + range + 'url_part_2.html';
}
</code></pre>

<p>And this in the body of my page:</p>

<pre><code>&lt;a href='some_other_url' onclick='some_other_functions();art1(C15)'   &gt;
</code></pre>

<p>So the result should be this url:</p>

<pre><code>http://url_part_1_C15_url_part_2
</code></pre>

<p>EDIT: Ok, additional problem: C15 is in another function, namely here:</p>

<pre><code>function changeText(){
var newHTML = "&lt;td class='tas'&gt;&lt;a href='_some_link_' target='changer' 
onclick='setVisibility2();art1(C15)'   (...)
</code></pre>
