		function changeLinks()		{			var as,i,islink;// grab all links, loop over them;			as=document.getElementsByTagName('a');			for(i=0;i<as.length;i++)			{// check which link has a target attribute, and send this one to popup				if(as[i].getAttribute('target')!='')				{					as[i].onclick=function(){return(popup(this));};					//as[i].onkeypress=function(){return(popup(this));};				}			}			if(top!=self){// Remove the header tablevar l = document.getElementById('tutorial-logo');if(l){l.style.display = 'none';}var h = document.getElementById('tutorial-heading');if(h){h.style.display = 'none';}			}		}					function popup(o)		{// open a new window with the location of the link's hrefwidth=820;height=700; if (screen) {	  topPos = (screen.height / 2) - (height/2)	 if(top==self){		 //open in middle		  leftPos = (screen.width/2)- (width/2)		 	 }else{		 //open off to the right leftPos = screen.width-width	 } }			window.open(o.href,'tuteholder','height='+height+',width='+width+',left='+leftPos+',top='+topPos);			return false;		}// if the browser can deal with DOM, call the function onload				if(document.getElementById && document.createTextNode)		{			window.onload=changeLinks;		}function closeWindow(){	window.close();			}