<?xml version="1.0" encoding="utf-8"?>
			
			<rss version="2.0">
			<channel>
			<title>Trond Ulseth&apos;s Blog</title>
			<link>http://trond.ulseth.no/index.cfm</link>
			<description>Trond Ulseth</description>
			<language>en-us</language>
			<pubDate>Wed, 02 Jan 2008 08:42:10 -0600</pubDate>
			<lastBuildDate>Mon, 26 Nov 2007 09:22:00 -0600</lastBuildDate>
			<generator>BlogCFC</generator>
			<docs>http://blogs.law.harvard.edu/tech/rss</docs>
			<managingEditor>trond@ulseth.no</managingEditor>
			<webMaster>trond@ulseth.no</webMaster>
			
			
			
			
			
			<item>
				<title>Alternate row colors with jQuery</title>
				<link>http://trond.ulseth.no/index.cfm/2007/11/26/Alternate-row-colors-with-JQuery</link>
				<description>
				
				I was in the need of a script for alternating row colors in a table on a web site I&apos;m doing. I&apos;ve done this before, but since I&apos;m getting into jQuery these days I thought I&apos;d try to find a way of doing it using this.

Well, a little Googling and I came upon &lt;a href=&quot;http://www.packtpub.com/article/jquery-table-manipulation-part2&quot; target=&quot;_blank&quot;&gt;this website&lt;/a&gt;.

This is an excerpt from the book Learning jQuery. Need to try and get my boss to buy that one.
				
				</description>
				
				<category>jQuery</category>
				
				<category>DHTML / Javascript</category>
				
				<category>CSS</category>
				
				<pubDate>Mon, 26 Nov 2007 09:22:00 -0600</pubDate>
				<guid>http://trond.ulseth.no/index.cfm/2007/11/26/Alternate-row-colors-with-JQuery</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>The IE6 Peekaboo bug - solution</title>
				<link>http://trond.ulseth.no/index.cfm/2007/11/19/The-IE6-Peekaboo-bug--solution</link>
				<description>
				
				I was doing the closing check on a clients web site before posting it live, and so I was testing to see that the site looks and works ok in all major browsers. This of course includes the dreaded monstrosity of a web browser IE6.

For some unclear reason some parts of the content did not show. It was just gone.

After some googling around I found that this is a pretty well known phenomena, and is named the Peekaboo bug.

Now if you google &quot;Peekaboo bug&quot; you&apos;ll find plenty of help. The first solution that I stumbled across that helped me was to add a line-height attribute to the element surrounding all the content that was disappearing.

To give propper credit, I found the solution &lt;a href=&quot;http://www.webmasterworld.com/forum83/2090.htm&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;.
				
				</description>
				
				<category>CSS</category>
				
				<pubDate>Mon, 19 Nov 2007 06:29:00 -0600</pubDate>
				<guid>http://trond.ulseth.no/index.cfm/2007/11/19/The-IE6-Peekaboo-bug--solution</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Dealing with IE6 and png&apos;s - part 3</title>
				<link>http://trond.ulseth.no/index.cfm/2007/10/18/Dealing-with-IE6-and-pngs--part-3</link>
				<description>
				
				This entry will look at a couple of problems that might arise when using the methods outlined in part 1.

Let&apos;s look at what we did. We had this part of css...

&lt;code&gt;
#banner {
height: 114px;
background-image: url(/images/header_bg.png)
}
&lt;/code&gt;

...where the transparent background png would not work in IE6.

What we did was change it to this:

&lt;code&gt;
#banner {
height: 114px;
background-image: url(/images/header_bg.png)
}

/* IE hack */
* html #banner {
background-image: none;
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale src=&apos;/images/header_bg.png&apos;);
}
&lt;/code&gt;

Here we use a IE hack to set background to none, and uses the IE only AlphaImageLoader filter to provide the png background.

So far, so good.

&lt;h2&gt;Problem 1&lt;/h2&gt;

The #banner element has a set height in our example here. But if you try this on an element which have no set heigth, the background will not show. What usually makes the trick here is to add height: 100%; to the fix like so:

&lt;code&gt;
/* IE hack */
* html #banner {
background-image: none;
height: 100%;
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale src=&apos;/images/header_bg.png&apos;);
}
&lt;/code&gt;

&lt;h2&gt;Problem 2&lt;/h2&gt;

When using this fix you will often experience that url&apos;s  will not be clickable, and form elements and text is not selectable.

What I have found to work is to first create a inner element. So if your html code was so:

&lt;code&gt;
&lt;div id=&quot;banner&quot;&gt;
Some text and/or images here.
&lt;/div&gt;
&lt;/code&gt;

This needs to be changed to:

&lt;code&gt;
&lt;div id=&quot;banner&quot;&gt;
&lt;div id=&quot;innerbanner&quot;&gt;
Some text and/or images here.
&lt;/div&gt;
&lt;/div&gt;
&lt;/code&gt;

Then change your css to something like this:

&lt;code&gt;
/* IE hack */
* html #banner {
background-image: none;
height: 100%;
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale src=&apos;/images/header_bg.png&apos;);
}

* html #innerbanner {
position: relative;
height: 100%;
width: 100%;
z-index: 10;
}
&lt;/code&gt;

The most important thin here as I understand is the relative positioning of the innerbanner element, but the other attributes might help as well, so I always leave them in there.

&lt;h2&gt;Problem 3&lt;/h2&gt;

The code css code above is ugly, messy and it will not validate. I suggest you make a separate css file called something like ie6_or_less.css and put the IE hack css into it.

Then in your html template call it like this:

&lt;code&gt;
&lt;!--[if lte IE 6]&gt;
&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;/css/ie6_or_less.css&quot; /&gt;
&lt;![endif]--&gt;
&lt;/code&gt;

This conditional statement within html comments makes sure that only IE browsers version 6 or less will load and use the ugly code.

That wrapps it up for this round.
				
				</description>
				
				<category>CSS</category>
				
				<pubDate>Thu, 18 Oct 2007 08:37:00 -0600</pubDate>
				<guid>http://trond.ulseth.no/index.cfm/2007/10/18/Dealing-with-IE6-and-pngs--part-3</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Comments &amp; Captchas a little &quot;bananas&quot; on my blog</title>
				<link>http://trond.ulseth.no/index.cfm/2007/9/25/Comments--Captchas-a-little-bananas-on-my-blog</link>
				<description>
				
				Some time ago the captcha image would not show when you wanted to comment a post on my blog. When I found out I just disabeled captchas.

Today I found the same problem had occured again - so in to the admin I went, and captchas were enabeled - &quot;Darn, how did that happen&quot; I thought. So I disabeled them again. Then I went to check. Now the captcha image was there and working, but I just disabeled it???

Not sure what is going on here. I&apos;m in the process of moving to another host (yet again) - I&apos;ll probably put a new version of BlogCFC on the new server, and just see what happens then.
				
				</description>
				
				<category>Misc.</category>
				
				<category>Rant</category>
				
				<pubDate>Tue, 25 Sep 2007 10:26:00 -0600</pubDate>
				<guid>http://trond.ulseth.no/index.cfm/2007/9/25/Comments--Captchas-a-little-bananas-on-my-blog</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Learn a new language today - for free</title>
				<link>http://trond.ulseth.no/index.cfm/2007/9/25/Learn-a-new-language-today--for-free</link>
				<description>
				
				Ok - I&apos;m not talking about a programing language, but an actual spoken language. Mango is a free language course application (in Flash), now open for public beta. Being married to a Lithuanian with Russian as mother tounge - and kids who also talk Russian I&apos;ve long time had as a goal to improve my Russian skills - but always put it of until &quot;tomorrow&quot;. Maybe this time I&apos;ll manage :)

You can register and take one or more of the following courses:

Spanish&lt;br /&gt;
Russian&lt;br /&gt;
French&lt;br /&gt;
Italian&lt;br /&gt;
Mandarin Chinese&lt;br /&gt;
German&lt;br /&gt;
Japanese&lt;br /&gt;
Brazilian Portuguese&lt;br /&gt;
Greek&lt;br /&gt;
English for Spanish Speakers&lt;br /&gt;
English for Polish Speakers

The url is &lt;a href=&quot;http://www.trymango.com&quot; target=&quot;_blank&quot;&gt;http://www.trymango.com&lt;/a&gt;.
				
				</description>
				
				<category>Misc.</category>
				
				<pubDate>Tue, 25 Sep 2007 03:32:00 -0600</pubDate>
				<guid>http://trond.ulseth.no/index.cfm/2007/9/25/Learn-a-new-language-today--for-free</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>I&apos;m a Cool Non-Nerd</title>
				<link>http://trond.ulseth.no/index.cfm/2007/9/10/Im-a-Cool-NonNerd</link>
				<description>
				
				&lt;a href=&quot;http://www.nerdtests.com/nt2ref.html&quot;&gt;
&lt;img src=&quot;http://www.nerdtests.com/images/badge/nt2/78363348254bc189.png&quot; alt=&quot;NerdTests.com says I&apos;m a Cool Non-Nerd.  What are you?  Click here!&quot;&gt;
&lt;/a&gt;
				
				</description>
				
				<category>Misc.</category>
				
				<pubDate>Mon, 10 Sep 2007 05:16:00 -0600</pubDate>
				<guid>http://trond.ulseth.no/index.cfm/2007/9/10/Im-a-Cool-NonNerd</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>File Explorer issues in CFEclipse soon history?</title>
				<link>http://trond.ulseth.no/index.cfm/2007/8/27/File-Explorer-issues-in-CFEclipse-soon-history</link>
				<description>
				
				I have the Trac page with the File Explorer issue in CFEclipse automatically opening in one of the tabs when I open my browser. Until recently nothing was there except the bug report itself. But now it seems something is happening. Someone with the username burnsra has posted a fix, so now I guess we&apos;ll just have to wait for the fix to make it into a upgrade.

Have a look at the Trac page &lt;a href=&quot;http://trac.cfeclipse.org/cfeclipse/ticket/332&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;.
				
				</description>
				
				<category>ColdFusion</category>
				
				<category>Eclipse</category>
				
				<pubDate>Mon, 27 Aug 2007 09:25:00 -0600</pubDate>
				<guid>http://trond.ulseth.no/index.cfm/2007/8/27/File-Explorer-issues-in-CFEclipse-soon-history</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Jump on the OO bandwagon now!</title>
				<link>http://trond.ulseth.no/index.cfm/2007/8/24/Jump-on-the-OO-bandwagon-now</link>
				<description>
				
				During the last years there&apos;s been very many really good blog posts on all levels on programing CF OO style.

I even had my own &quot;Object Oriented Blog Process&quot; series - which turned out not to be so good :)

But at the time there are two series of blog post that aims at teaching you how to get on with OO.

The first one is Charlie Griefers (aka CJ) &quot;going OO&quot; series, documenting a OO noobs journy into OO territory. It can be found &lt;a href=&quot;http://cfblog.griefer.com/index.cfm?catID=94&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;.

The other series take another approach as it is clearly written by someone who knows his stuff; &quot;Object Oriented Coldfusion&quot; by Adrian J. Moreno. I don&apos;t know who Adrian is from before, but he writes great stuff. Find it &lt;a href=&quot;http://www.iknowkungfoo.com/blog/index.cfm/OOP&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;.
				
				</description>
				
				<category>ColdFusion</category>
				
				<pubDate>Fri, 24 Aug 2007 08:51:00 -0600</pubDate>
				<guid>http://trond.ulseth.no/index.cfm/2007/8/24/Jump-on-the-OO-bandwagon-now</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>While waiting for the File Explorer to be fixed in CFEclipse</title>
				<link>http://trond.ulseth.no/index.cfm/2007/8/24/While-waiting-for-the-File-Explorer-to-be-fixed-in-CFEclipse</link>
				<description>
				
				It&apos;s been a while since I made the transition to CFEclipse as my full-time CF coding tool.

However, even after Mark&apos;s heroic efforts after me bugging him the FTP functionality in the File Explorer left a little to be desired. This I could live with though. But now that the File Explorer itself has stopped working, so I can no longer open any local files that are not part of a project, that is worse. We have a &quot;zillion&quot; clients in work and to create a project to fix or update small things is not something I want to do.

But I came up with a temporary work-around: 

Created a project called &quot;temp&quot; and pointet it to wherever. For each location on your computer or (as in my case) the local network, right click on the project and choose &quot;New &gt; Folder&quot;. Name the folder something like &quot;Our smaller clients&quot; or whatever suits the location you are interested in. Then click the &quot;Advanced&quot; button on the bottom and check the &quot;Link to folder in the file system&quot; check box, and browse to the directory you need.

This way you can still have access to all the local files you need without opening a new project each time.

- - - 

ps - you can keep an eye at the situation with the File Explorer at &lt;a href=&quot;http://trac.cfeclipse.org/cfeclipse/ticket/332&quot; target=&quot;_blank&quot;&gt;http://trac.cfeclipse.org/cfeclipse/ticket/332&lt;/a&gt;

pss - Mark you&apos;re still my hero, and well deserve the break you&apos;ve taken of from CFEclipse. However, when you get back to it, and wonder where to start of, you know where my vote is ;)
				
				</description>
				
				<category>ColdFusion</category>
				
				<category>Eclipse</category>
				
				<pubDate>Fri, 24 Aug 2007 08:10:00 -0600</pubDate>
				<guid>http://trond.ulseth.no/index.cfm/2007/8/24/While-waiting-for-the-File-Explorer-to-be-fixed-in-CFEclipse</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>What&apos;s happening with newBee? (Kind of a Roadmap)</title>
				<link>http://trond.ulseth.no/index.cfm/2007/8/16/Whats-happening-with-newBee-Kind-of-a-Roadmap</link>
				<description>
				
				&lt;p&gt;
According to riaForge the newBee page has been seen more than 3600 times, and the framework itself downloaded 60 times. That is much more than I would have thought. I&apos;ve not heard from anyone who has downloaded and tried it though, so as far as I know I&apos;m the only one who have developed applications/sites using this framework. However I still plan on developing the framework further, and also promote it a bit more once it reaches a 1.0 release.
&lt;/p&gt;
&lt;p&gt;
Here are the things I would like to do before calling it a 1.0 release:
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Whitespace controll&lt;/strong&gt; Look into how much whitespace controll I can do within the framework without affecting how you would code a newBee application.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Assigning results to scopes&lt;/strong&gt; This would make it easier to make multiple step forms, save login information etc.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Save named views&lt;/strong&gt; A little &quot;rip-of&quot; of how Model-Glue does it.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;More and better documentation&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;General code cleaning and commenting the code better&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
I&apos;m sure there was at least one more thing I had on my mind..... Well, well - that&apos;s the list for now&lt;/p&gt;
&lt;p&gt;
I&apos;m also planing a website for the framework.
&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;EDIT:&lt;/strong&gt; Now I remember the last thing I wanted to do: &lt;strong&gt;Error catching.&lt;/strong&gt; And maybe some debugging output as well.&lt;/p&gt;
				
				</description>
				
				<category>newBee</category>
				
				<category>ColdFusion</category>
				
				<pubDate>Thu, 16 Aug 2007 06:14:00 -0600</pubDate>
				<guid>http://trond.ulseth.no/index.cfm/2007/8/16/Whats-happening-with-newBee-Kind-of-a-Roadmap</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>I&apos;m on YouTube</title>
				<link>http://trond.ulseth.no/index.cfm/2007/8/6/Im-on-YouTube</link>
				<description>
				
				Recently I picked up the guitar after a 8 year break in playing. The 13th of July was the first time playing live with my band Cephire. We gathered 6 bands ourselves included and arranged what we called &quot;Metal Night&quot; which we plan to make a recurring event - next one planned for November. But I&apos;m going away from the topic. What I wanted to say is that a clip from our first consert has found it&apos;s way to YouTube (thanks to our bass player). You can check it out &lt;a href=&quot;http://www.youtube.com/watch?v=C-f_N5xbh_Y&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;. If you wonder - I&apos;m the one to the left with the blue guitar.
				
				</description>
				
				<category>Misc.</category>
				
				<pubDate>Mon, 06 Aug 2007 17:00:00 -0600</pubDate>
				<guid>http://trond.ulseth.no/index.cfm/2007/8/6/Im-on-YouTube</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>A couple of &quot;advanced&quot; ANT (in Eclipse) questions</title>
				<link>http://trond.ulseth.no/index.cfm/2007/8/2/A-couple-of-advanced-ANT-in-Eclipse-questions</link>
				<description>
				
				I started with ANT today. I see a huge potential in it. However I have now used the whole day trying to get two tings to work - and simply can&apos;t find the answer. I hope some ANT experts will take the time to answer the following questions:

1. Can I create a new Eclipse project with a ANT build? If so, how?

2. I get an error trying to create a database for my project with the following code:

&lt;code&gt;
&lt;target name=&quot;sql.runAll&quot; depends=&quot;sql.getLogin&quot;&gt;
&lt;sql driver=&quot;${sql.jdbcClasspath}&quot; url=&quot;${sql.jdbcURL}&quot; userid=&quot;uid&quot; password=&quot;pw&quot;&gt;
&lt;classpath&gt;
&lt;pathelement path=&quot;${sql.jdbcPath}&quot; /&gt;
&lt;/classpath&gt;		
CREATE DATABASE idlmedia02_${var.port}
&lt;/sql&gt;
&lt;/target&gt;
&lt;/code&gt;
The error: &lt;strong style=&quot;color:red;&quot;&gt;CREATE DATABASE statement not allowed within multi-statement transaction.&lt;/strong&gt;

Is there a way to use CREATE DATABASE statements from within ANT?

As always when I ask for help - I would be really thankful to anybody who can shed light on these subjects.
				
				</description>
				
				<category>SQL</category>
				
				<category>Eclipse</category>
				
				<pubDate>Thu, 02 Aug 2007 08:35:00 -0600</pubDate>
				<guid>http://trond.ulseth.no/index.cfm/2007/8/2/A-couple-of-advanced-ANT-in-Eclipse-questions</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Eclipse: I need help with the File Explorer View</title>
				<link>http://trond.ulseth.no/index.cfm/2007/8/1/Eclipse-I-need-help-with-the-File-Explorer-View</link>
				<description>
				
				I have no clue why, but all of a sudden browsing the Local Filesystem in the File Explorer View stopped working. I had hoped this would be corrected when I upgraded to Eclipse 3.3 today, but the problem is the same, even though I made a clean new install of Eclipse.

See bellow to see how it looks when I try to browse my c: directory. If someone has any idea on how I can fix this I would be most grateful.

&lt;img src=&quot;/images/eclipse_fileexplorer.gif&quot; alt=&quot;File Explorer Problem illustrated&quot; /&gt;
				
				</description>
				
				<category>Eclipse</category>
				
				<pubDate>Wed, 01 Aug 2007 06:53:00 -0600</pubDate>
				<guid>http://trond.ulseth.no/index.cfm/2007/8/1/Eclipse-I-need-help-with-the-File-Explorer-View</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Aptana with AIR support</title>
				<link>http://trond.ulseth.no/index.cfm/2007/8/1/Aptana-with-AIR-support</link>
				<description>
				
				I decided to upgrade to version 3.3 of Eclipse today. I went for a clean install, and then add the plugins I use. So after installing CFEclipse first (of course), I went on over to the Aptana website to get the Aptana plugin (which I mainly use for CSS), and there on the front page they announce that Aptana now supports AIR.

I&apos;ve not checked it out my self yet. Actually I took the time to write this post even before downloading the Aptana plugin. So go check it out your self at: &lt;a href=&quot;http://www.aptana.org/air/&quot; target=&quot;_blank&quot;&gt;http://www.aptana.org/air/&lt;/a&gt;.
				
				</description>
				
				<category>Apollo</category>
				
				<category>Eclipse</category>
				
				<category>Tool tips</category>
				
				<pubDate>Wed, 01 Aug 2007 06:10:00 -0600</pubDate>
				<guid>http://trond.ulseth.no/index.cfm/2007/8/1/Aptana-with-AIR-support</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>New FarCry form builder plugin released</title>
				<link>http://trond.ulseth.no/index.cfm/2007/7/31/New-FarCry-form-builder-plugin-released</link>
				<description>
				
				With this plugin you can let users of FarCry add custom forms to their websites. Each form submission will be emailed to an address that is defined for each form, as well as being logged and available from the FarCry administration.

This is the full version of the plugin that was started in my FarCry plugin tutorial.

A pdf file with documentation is enclosed in the download.

This plugin is open-source under the &lt;a href=&quot;http://www.apache.org/licenses/LICENSE-2.0&quot; target=&quot;_blank&quot;&gt;Apache License, Version 2.0&lt;/a&gt;

If you have questions or would like to contribute in further enhancing the plugin, please contact me.

Also if you use the plugin in your FarCry projects I&apos;d love to hear about it.

&lt;h2&gt;&lt;a href=&quot;http://trond.ulseth.no/enclosures/idlform.zip&quot; target=&quot;_blank&quot;&gt;DOWNLOAD&lt;/a&gt;&lt;/h2&gt;

This plugin is released by &lt;a href=&quot;http://www.idl.no&quot; target=&quot;_blank&quot;&gt;IDLmedia AS&lt;/a&gt;
				
				</description>
				
				<category>FarCry</category>
				
				<pubDate>Tue, 31 Jul 2007 02:47:00 -0600</pubDate>
				<guid>http://trond.ulseth.no/index.cfm/2007/7/31/New-FarCry-form-builder-plugin-released</guid>
				
				<enclosure url="http://trond.ulseth.no/enclosures/idlform.zip" length="394878" type="application/zip"/>
				
			</item>
			
		 	
			</channel></rss>
<SCRIPT language="Javascript">
<!--

// FILE ARCHIVED ON 20080102153308 AND RETRIEVED FROM THE
// INTERNET ARCHIVE ON 20100801043604.
// JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE.
// ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C.
// SECTION 108(a)(3)).

   var sWayBackCGI = "http://web.archive.org/web/20080102153308/";

   function xResolveUrl(url) {
      var image = new Image();
      image.src = url;
      return image.src;
   }
   function xLateUrl(aCollection, sProp) {
      var i = 0;
      for(i = 0; i < aCollection.length; i++) {
         var url = aCollection[i][sProp];         if (typeof(url) == "string") { 
          if (url.indexOf("mailto:") == -1 &&
             url.indexOf("javascript:") == -1
             && url.length > 0) {
            if(url.indexOf("http") != 0) {
                url = xResolveUrl(url);
            }
            url = url.replace('.wstub.archive.org','');
            aCollection[i][sProp] = sWayBackCGI + url;
         }
         }
      }
   }

   xLateUrl(document.getElementsByTagName("IMG"),"src");
   xLateUrl(document.getElementsByTagName("A"),"href");
   xLateUrl(document.getElementsByTagName("AREA"),"href");
   xLateUrl(document.getElementsByTagName("OBJECT"),"codebase");
   xLateUrl(document.getElementsByTagName("OBJECT"),"data");
   xLateUrl(document.getElementsByTagName("APPLET"),"codebase");
   xLateUrl(document.getElementsByTagName("APPLET"),"archive");
   xLateUrl(document.getElementsByTagName("EMBED"),"src");
   xLateUrl(document.getElementsByTagName("BODY"),"background");
   xLateUrl(document.getElementsByTagName("TD"),"background");
   xLateUrl(document.getElementsByTagName("INPUT"),"src");
   var forms = document.getElementsByTagName("FORM");
   if (forms) {
       var j = 0;
       for (j = 0; j < forms.length; j++) {
              f = forms[j];
              if (typeof(f.action)  == "string") {
                 if(typeof(f.method)  == "string") {
                     if(typeof(f.method) != "post") {
                        f.action = sWayBackCGI + f.action;
                     }
                  }
              }
        }
    }


//-->
</SCRIPT>

