Annoying IE7 bug with window.opener.document.location
I hate these types of bugs.
I have just wasted an hour of my day trying to figure this out. It works in Mozilla as expected and I havent tried IE6 but IE7 threw a strange error.
I was trying to check if a certain string was in the url of the window that opened a pop-up.
The code I was using that failed was:
.gif)
I tried everything I could think of to try and test and re-check my code etc. I stripped it all back and thought maybe it was to do with string types so did the following:

Bingo...it worked. Turns out when I concatenate the str variable with an empty string, it solved the problem.
BTW, the code above is taken from the updates I am making to CF_FileManager to allow it to use CF_ProFlashUpload if you have that component in your dcCom folder.
Working pretty well right now!
The resources available in a web design directory range from free tutorials and templates to a web design directory listing organizations that can do design sites on your budget.
Comments
http://developer.mozilla.org/en/docs/DOM:window.location#Properties
You could also do location.toString(), which is what you have effectively done by concatenating an empty string on the end.
Good luck....
rich