function linkToNewWindow()	{

	/* check the browser is capable of recognising the DOM objects
	   we need to implement the script - otherwise return false and allow the normal link to be executed */
	   
	if(!document.getElementsByTagName) return false;
	if(!document.getElementById) return false;
	if(!document.getElementById("otherLinks")) return false;
	

	
	/* 
	
	get the reference to the defined object and then create an array of all the <a> tags found in the array.  
	   
	We need to determine if the link has an href attribute, anchor points don't have one.
	
	If the link does have an href attribute, then test to see if it contains a # character.
	
	If it does, then it's an anchor point on this screen, so we set the target to be the same window,
	otherwise assume it's an external link and set the target to open in a new browser window  
	   
	*/
	
	
	var links = document.getElementById("otherLinks").getElementsByTagName("a"); 
						
			
	if (links.length > 0) {
	
	


			for(i = 0; i < links.length; i++) {
				
				
						if (links[i].getAttribute('href')) {
							
						
							
							if (links[i].getAttribute('href').indexOf("#") == -1) {
							
												
									links[i].setAttribute("target", "_blank");
						

									/* extract only the main website address - we don't want to display all the variables in the title tip */
									var titleString = links[i].getAttribute('href').substring((links[i].getAttribute('href').indexOf("//")+2),links[i].getAttribute('href').length)
									
									titleString = titleString.substring(0,titleString.indexOf("/"))
			
									
									
										if (titleString != "") {
									
									
											links[i].setAttribute("title", " link to website at : " + titleString);
											
										}
					
							}
						
							else	{
							
								links[i].setAttribute("target", "_top");
								links[i].setAttribute("title", "link to topic on this screen");
							
							}
						
						}
						
						
									
																									
			}
			
	}	   
	
}
