Concatenate or Connect two scripts js redirect external URL inside iFrame navBar Top Frameset
<p>I have this 3 Files the First File : "Links.html" has links to externals Domains URL </p>

<pre><code>&lt;html&gt;
&lt;title&gt;Directory of Links of Externals Domains_URL - Links.html&lt;title&gt;
&lt;body&gt;
&lt;div&gt;
Visit this Web Encyclopedia to expand your knowledge:
 &lt;a href="free.org/good-bye.html?link=en.wikipedia.org"&gt;wikipedia&lt;/a&gt; 
&lt;br&gt;
Visit the &lt;a href=
"free.org/good-bye.html?link=http:/www.WebMasters.StackExChange.com"&gt;
 StackExChange&lt;/a&gt;to get right people for right answers !
&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>The file: "good-bye.html" is a "Goodbye page Come Back Soon" has two 2 JavaScripts</p>

<p>The First script ask the user to click a created external-URL-link as an option or wait to be re-directed . . . to the final window.location externalURL OutBound Domain</p>

<pre><code>&lt;html&gt;
&lt;title&gt;Open and External URL link - good-bye.html&lt;/title&gt;
&lt;body&gt;
&lt;div&gt;Good Bye ! - ComeBack Soon !&lt;/div&gt;

&lt;script language="Javascript"&gt;
&lt;!--
  var loc=document.location.toString();
  if (loc) {
    var pos=loc.indexOf('link=');
    if (pos&gt;0) {
      document.write('Click the link to visit the External URL location! &lt;a href="'+loc.substring(pos+5)+'" &gt;  '+loc.substring(pos+5)+' &lt;/a&gt; ');
    } else
      document.write('(no location defined)');
  }
// --&gt;
&lt;/script&gt;


&lt;div style="display:none;"&gt;
~~ The Second Script is a timmed 15-25secs. Automated Re-direction by JS Re-Director ~~~
&lt;/div&gt;

&lt;script language="Javascript"&gt;   
&lt;!--
var targetURL=" @@ This TEXT has to be Replaced with VariableURL window.location.href @@ "

var currentsecond=15; // waiting time to help visitor to decide to comeback to free.org
function countredirect(){
if (currentsecond!=1){
currentsecond-=1
document.getElementById('timer').value=currentsecond;
}
else{
window.location=targetURL;
return
}
setTimeout("countredirect()",1000)
}

countredirect();
  }


//--&gt;
&lt;/script&gt;

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

<ul>
<li>1 * (?) What is the VariableURL that is mentioned in the firs script that is going to "feed" the targetURL=  </li>
<li>2 * (?) Can your please insert the vaiableURL inside iFrame ~~ When the 25 secs time runs out a new page "come-back-Top-navBar.html" opens and I want an iFrame on that page show the external link to external Domain, en.wikipedia.org, stackexchange.com, an others URLs.</li>
</ul>

<p><code><pre></p>

<pre>&lt;html&gt;
&lt;body&gt;
&lt;tile&gt;This is the Third File named - comeback-Top-navBar.html&lt;/title&gt;
&lt;div&gt;Come Back to our &lt;a href=http://www.Free.org&gt;click here&lt;/a&gt;&lt;/div&gt;

        &lt;iframe id="external-url-iframed" width="100%" scrolling="no" 
    frameborder="0" class="external-url-iframedt_iframe" height="80%"&gt; @@ this TEXT 
has to be Replaced with a JavaScript or variableURL-links 
~~ so the user can enjoy my recommended external domains sites under 
an small  TopnavBar Banner @@ &lt;/iframe&gt;

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

<p></pre></p>

<ul>
<li>3 * (?) Can your show me other solutions ? Links to Forums or Tutorials ? Thank You a Lot !</li>
<li>4 * (?) What is the variableString-Windows-Location-ExternalURL that pass from file-1 to file-3 ? </li>
</ul>
