Thank you very much in advance for any help you can provide. I have carefully searched this and many other forums to find an answer.

oddz
—
2011-04-05T18:12:23Z —
#2

missing { after else.

AllanP
—
2011-04-14T07:38:55Z —
#3

You need to look at the document's location.href to determine if it is source1 or source2. The following script displays one of two divs with the words Source1 or Source2, depending on the location.href value.