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;
}
//clearing input fields start
function ClearInput(value, id){
var input = document.getElementById(id);
	if(value == input.value){
		input.value = '';
	}
	else{
		input.value = input.value;
	}
}
//clearing input fields end
//popUp that div start
var amID = "blank";
function showMe(containerId,containerId2,containerId3){
	if(amID != "blank" ){
		hideMe(amID);
		changeBack(amClassId);
		removeBorder(amClassId3);
	}
	if(amID != containerId){
	    amID = containerId;
	    showContainer(containerId);
		amClassId = containerId2;
		setClass(containerId2);
		amClassId3 = containerId3;
		setBorder(containerId3);
	}else{
        amID = "blank";
		amClassId = "blank";
		amClassId3 = "blank";
    }
}
function toggleMe(containerId){
    obj = MM_findObj(containerId);
	if (!obj) return;
	if(obj.style.display == 'block')
	    obj.style.display = 'none';
	else
	    obj.style.display = 'block';
}
function showContainer(containerId){
	obj = MM_findObj(containerId);
	if (!obj) return;
	obj.style.display = 'block';
}
function hideMe(containerId){
	obj2 = MM_findObj(containerId)
	if (!obj2) return;
	obj2.style.display = 'none';
}
//popUp that div end
//change that class then back start
var amClassId = "blank";
function setClass(containerId2){
	obj = MM_findObj(containerId2);
	if (!obj) return;
	obj.className = 'faqCompLinkageActive';
}
function changeBack(containerId2){
	obj2 = MM_findObj(containerId2)
	if (!obj2) return;
	obj2.className = 'faqCompLinkage';
}
//change that class then back end
//add/remove top border start
var amClassId3 = "blank";
function setBorder(containerId3){
	obj = MM_findObj(containerId3);
	if (!obj) return;
	obj.style.borderTop = '1px solid #F6611A';
	obj.style.borderBottom = '1px solid #F6611A';
	obj.style.top = '-1px';
}
function removeBorder(containerId3){
	obj2 = MM_findObj(containerId3)
	if (!obj2) return;
	obj.style.borderTop = '0px solid #F6611A';
	obj.style.borderBottom = '1px solid #BCB6AD';
	obj.style.top = '0';
}
//add/remove top border end