/* give anchors with attribute rel="external" a target attribute of "_blank" */
function external() {
 if (document.getElementsByTagName) {
  var i, a;
  a = document.getElementsByTagName('a');
  for (i in a) {
   if (a[i].getAttribute('href') && 
       a[i].getAttribute('rel') == 'external') a[i].target = '_blank';
  }
 }
}
/* external.js */

function opacify() {
	if (document.getElementById('ddmul1'))
	{
		var oe = document.getElementById('ddmul1');
	    oe.setAttribute("style", "opacity:0.75;");
		if (oe.style.setAttribute) 
		oe.style.setAttribute("filter", "alpha(opacity=75);")
	}
	if (document.getElementById('ddmul2'))
	{
		var oe = document.getElementById('ddmul2');
	    oe.setAttribute("style", "opacity:0.75;");
		if (oe.style.setAttribute) 
		oe.style.setAttribute("filter", "alpha(opacity=75);")
	}
	if (document.getElementById('ddmul3'))
	{
		var oe = document.getElementById('ddmul3');
	    oe.setAttribute("style", "opacity:0.75;");
		if (oe.style.setAttribute) 
		oe.style.setAttribute("filter", "alpha(opacity=75);")
	}
}

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

addLoadEvent(opacify);
addLoadEvent(external);
