// IE Hover

startList = function() {
if (document.all && document.getElementById) {
navRoot = document.getElementById("nav");
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", "");
   }
   }
  }
 }
}
window.onload=startList;


// Launch links in a new window 

function popup(url)
{
	newwindow=window.open(url,'name','height=500,width=1024,menubar=1,status=1,toolbar=1,scrollbars=1,resizable=1,location=1');
	if (window.focus) {newwindow.focus()}
	return false;
}


// Flickr badge

zg_insert_badge = function() {
	var zg_bg_color = '900';
	var zgi_url = 'http://www.flickr.com/apps/badge/badge_iframe.gne?zg_bg_color='+zg_bg_color+'&zg_person_id=7802585%40N04';
	document.write('<iframe style="background-color:#'+zg_bg_color+'; border-color:#'+zg_bg_color+'; border:none;" width="113" height="151" frameborder="0" scrolling="no" src="'+zgi_url+'" title="Flickr Badge"><\/iframe>');
}

