function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function Display_LoginBox() {
	var divRef;
	divRef=document.getElementById("loginbox1");
	divRef.style.display="none";
	divRef=document.getElementById("loginbox2");
	divRef.style.display="block";
	difRef=document.getElementById("login_email");
	divRef.focus();
	return false;
}
function hidAllChannelDescriptions() {
  for (i=0;i<descObjs.length;i++)
	{
		descObjs[i].style.display='none';
	}
}
function showmenu(elmnt)
{
document.getElementById(elmnt).style.visibility="visible";
}
function hidemenu(elmnt)
{
document.getElementById(elmnt).style.visibility="hidden";
}
function showLMsg()
{
return;
//alert ("You are leaving the Ecoplum.com domain and entering an external link. The link provides additional information that may be useful or interesting and is being provided consistent with the intended purpose of EcoPlum's website. However, EcoPlum cannot attest to the accuracy of information provided by this link or any other linked site. Providing links to a non-EcoPlum website does not constitute an endorsement by EcoPlum or any of its employees of the sponsors of the site or the information or products presented on the site.");
}

function togglediv(div1_name, div2_name) {
	var div1=document.getElementById(div1_name);
	var div2=document.getElementById(div2_name);
	if (div1){
		if (div1.style.display == 'none')  div1.style.display='block';
		else div1.style.display='none';
	}

	if (div2){
		if (div2.style.display == 'none')  div2.style.display='block';
		else div2.style.display='none';
	}
}
