function emailPop(num){
  if (document.getElementById){
    if(num ==1 ){
	  var emailpane = "emailpane";
	  }else{
	    var emailpane = "emailpane2";
	}
  var todo = document.getElementById(emailpane);
  if (todo.style.left=="auto"){
  todo.style.left="-999em";
  todo.style.right="auto";
  }else{
    todo.style.left="auto";
    todo.style.right="250px";
}
}

}


function showHide(menuitem){
 if (document.getElementById){
  todo = document.getElementById(menuitem);
    plus = document.getElementById("2" + menuitem);
    last = document.getElementById("555");
	if (todo.style.display=="block"){
  todo.style.display="none";
	plus.innerHTML ="+";
  }else{
   if(last.innerHTML !="+"){
	    thistodo = document.getElementById(last.innerHTML);
    thisplus = document.getElementById("2" + last.innerHTML);
      thistodo.style.display="none";
	thisplus.innerHTML ="+";
	}
	last.innerHTML = menuitem;
    todo.style.display="block";
    plus.innerHTML = "-";

}

}
}


var arVersion = navigator.appVersion.split("MSIE")
var version = parseFloat(arVersion[1])

function fixPNG(myImage) 
{
    if ((version >= 5.5) && (version < 7) && (document.body.filters)) 
    {
       var imgID = (myImage.id) ? "id='" + myImage.id + "' " : ""
	   var imgClass = (myImage.className) ? "class='" + myImage.className + "' " : ""
	   var imgTitle = (myImage.title) ? 
		             "title='" + myImage.title  + "' " : "title='" + myImage.alt + "' "
	   var imgStyle = "display:inline-block;" + myImage.style.cssText
	   var strNewHTML = "<span " + imgID + imgClass + imgTitle
                  + " style=\"" + "width:" + myImage.width 
                  + "px; height:" + myImage.height 
                  + "px;" + imgStyle + ";"
                  + "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader"
                  + "(src=\'" + myImage.src + "\', sizingMethod='scale');\"></span>"
	   myImage.outerHTML = strNewHTML	  
    }
}