function addLoadEvent(func) {
  var oldonload = window.onload;
  if (typeof window.onload != 'function') {
    window.onload = func;
  } else {
    window.onload = function() {
      oldonload();
      func();
    }
  }
}

startList = function() {
	if (document.all&&document.getElementById) {
		navRoot = document.getElementById("nav_ie");
		for (i=0; i<navRoot.childNodes.length; i++) {
			node = navRoot.childNodes[i];
			if (node.nodeName=="LI") {
				node.onmouseover=function() {
					this.className+=" over";
				}
				node.onmouseout=function() {
					this.className=this.className.replace(" over", "");
				}
			}
		}
	}
}
addLoadEvent(startList);

function init(){
	if(document.getElementById){
		var slide = document.getElementById('wgme_slide');
		if(slide){
			slide.onclick = function(){
				var href = this.getAttribute('href');
				window.open(href,"_blank","toolbar=no, location=no, directories=no, status=no, menubar=yes, scrollbars=yes, resizable=yes, copyhistory=yes, width=700, height=600")
				return false;	
			}	
		}
	}
}

addLoadEvent(init);