
// JavaScript Document
<!-- 
function show(idLayer) {document.getElementById(idLayer).style.display='block';}
function hide(idLayer) {document.getElementById(idLayer).style.display='none';}

function change(id, newClass) {
identity=document.getElementById(id);
identity.className=newClass;
}

function nav1(){show('terms_drop');change('nav1','n1h');}
function nav1h(){hide('terms_drop');change('nav1','n1');}

var intPlode = 0;

function divPlode(objDv,strType,strOn,strOff)
{
	var childDiv = objDv.getElementsByTagName("div");
	var strImg = "";
	//explosion
	if(intPlode==1)
	{
		for(var i=0;i<childDiv.length;i++)
		{
			if(childDiv[i].getAttribute("name")=="divX")
			{
				if(childDiv[i].style.display=='none')
				{
					childDiv[i].style.display = 'block';
					intPlode = 11;
				}
				else
				{
					childDiv[i].style.display = 'none';
					intPlode = 12;
				}
				i = childDiv.length;
			}
		}
	}
	else if(intPlode==2)
	{
		for(var i=0;i<childDiv.length;i++)
		{
			if(childDiv[i].name=="divX")
			{
				childDiv[i].style.display = 'block';
				i = childDiv.length;
			}
		}
		intPlode = 11;
	}
	else if(intPlode==3)
	{
		for(var i=0;i<childDiv.length;i++)
		{
			if(childDiv[i].name=="divX")
			{
				childDiv[i].style.display = 'none';
				i = childDiv.length;
			}
		}
		intPlode = 12;
	}
	//displaying
	if(strType!=undefined)
	{
		if(strOn!=undefined&&strOff!=undefined)
		{
			if(intPlode==11)
			{
				strImg = strOff;
			}
			else if(intPlode==12)
			{
				strImg = strOn;
			}
		}
		if(strType=="img")
		{
			var childImg = objDv.getElementsByTagName("img");
			for(var i=0;i<childImg.length;i++)
			{
				if(childImg[i].getAttribute("name")=="imgX")
				{
					childImg[i].src = strImg;
					i = childImg.length;
				}
			}
		}
	}
}




//-->
