window.addEvent('domready',  function()
							 {
								 // get all the anchors in the page
								 var arrAnchors = $$('a');
								 
								 // go through each one
								 for(var i = 0; i < arrAnchors.length; i++)
								 {
									 // if it has the class external, open it in a new window
									 if(arrAnchors[i].hasClass('external'))
									 	arrAnchors[i].setAttribute('target', '_blank');
								 }
							 });
