/**
*	rel="external" hivatkozásokat új ablakban nyitja meg.
*/

function createLinks(){
  // Külső hivatkozások
	linksArray = document.getElementsByTagName('a');
	for(var i = 0; i < linksArray.length; i++){
		if(linksArray[i].getAttribute('rel') == 'external'){
			linksArray[i].onclick = new Function("window.open('" + linksArray[i].href + "'); return false;");
		}
	}
}

Event.observe(window, 'load', function() {
		createLinks();
	}
);


/**
*	Status letiltása
*/
/*
document.onmouseover = function ( e ) {   
if ( !e ) e = window.event;   
var el = e.target ? e.target : e.srcElement;   
while ( el != null && el.tagName != "A" ) el = el.parentNode;   
if ( el == null ) return;   
if ( e.preventDefault ) e.preventDefault();   
else e.returnValue = true;};
*/
/**
*	Jobb gomb tiltása
*/
/*
function clickIE4(){
	if (event.button==2){
		return false;
	}
}

function clickNS4(e){
	if (document.layers||document.getElementById&&!document.all){
		if (e.which==2||e.which==3){
			return false;
		}
	}
}

if (document.layers){
	document.captureEvents(Event.MOUSEDOWN);
	document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
	document.onmousedown=clickIE4;
}

document.oncontextmenu=new Function("return false;");
*/