/* sixb.js: javascript for 6b web pages */

	// Prevent ugly IE Windows focus on <A> links	
	function fixIE()
	{
	   for (a in document.links)
	  {
	       document.links[a].onfocus = document.links[a].blur;
	  }
	}
	document.onmousedown = fixIE;

	
	// Prevent being framed
	if (top.frames.length!=0)
	{
		top.location=self.document.location;
	}
	

	function openForm(url, w, h) 
	{ 
	   var args = 'width=' + w + ','
	   + 'height=' + h + ','
	   + 'toolbar=1,'
	   + 'location=0,'
	   + 'directories=0,'
	   + 'status=yes,'
	   + 'menubar=0,'
	   + 'scrollbars=0,'
	   + 'resizable=yes';
	 
	   if (parseInt(navigator.appVersion) >= 4)
	   {
	      xposition = (screen.width - w)/2;
	      yposition = (screen.height - h)/2;
	  
	     args += ','
	              + 'screenx=' + xposition + ',' //NN
	              +  'screeny=' + yposition + ',' //NN
	              +  'left=' + xposition + ',' //IE
	              +  'top=' + yposition; //IE
	    }
	
	   window.open(url,"Help", args);
	}
