I have a technical question... Not about tidy

I have scoured the web and cannot find out how to do what I want to do... I am hoping someone can help me with your group.

I have written a small web page which runs from my hard-drive.
It allows me to put in several(6) websites which I want to check if they exist. 
If the web site exists, I want it to open.
If it doesn't exist, I do not want it to open. 

It is running Java Script to do the opens and currently it simply opens all 6.. Those pages which get an ERROR, I just manually close.

The W3.ORG Validator does this kind of thing against one web page and it simply replies that the web page does not exist.

The code I have is as follows (on the 5th dataset) : 

        if (fnam05 != '')
        {
          thedsn = theurl+fnam05+"("+mnam+")'";
          window.open(thedsn);
        }

Is there a way to do what I want in Java Script? 


Jeffrey Ranney
Information Specialist Senior
MCS MAC Support
Medicare Part B Shared Systems Claims Processing Maintenance Contract
EDS, an HP company
 
Phone: 1-717-285-7533
Mountville, PA 
Beeper: 1-877-220-2912
jeffrey.ranney@eds.com
"Yes We Can"
Please consider the environment before printing anything... 

CONFIDENTIALITY NOTICE:  This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain EDS Internal or EDS Confidential information.  Any unauthorized review, use, disclosure or distribution is prohibited.  If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.

Received on Tuesday, 21 July 2009 17:17:20 UTC