function showdetails(divID) {
	var productID = 'product_' + divID;
	var aID = 'a_' + divID;
	var Obj = (document.getElementById) ? document.getElementById(productID) : eval("document.all['" + productID + "']");
	var aObj = (document.getElementById) ? document.getElementById(aID) : eval("document.all['" + aID + "']");
	
	if (Obj != null) {
	    if (Obj.style.display=="none") {
	      Obj.style.display="";
		  aObj.className = "open";
	    }
	    else {
	      Obj.style.display="none";
		  aObj.className = "close";
	    }		
	}

}

function showsubcategories(divID) {
	var showDiv = 'fsc_'+divID;
	var showOpen = 'fs-cat-open_'+divID;
	var showClose = 'fs-cat-closed_'+divID;
	var Obj = (document.getElementById) ? document.getElementById(showDiv) : eval("document.all['" + showDiv + "']");
	var fsCatOpenObj = (document.getElementById) ? document.getElementById(showOpen) : eval("document.all['" + showOpen + "']");
	var fsCatCloseObj = (document.getElementById) ? document.getElementById(showClose) : eval("document.all['" + showClose + "']");
	
	if (Obj != null) {
	    if (Obj.style.display=="none") {
	      Obj.style.display="";
		  fsCatOpenObj.style.display="";
		  fsCatCloseObj.style.display="none";
	    }
	    else {
	      Obj.style.display="none";
		  fsCatOpenObj.style.display="none";
		  fsCatCloseObj.style.display="";
	    }		
	}
}

function showdetailsall(divID,showAct) {
	var aOpenObj = (document.getElementById) ? document.getElementById('openall') : document.all['openall'];
	var aCloseObj = (document.getElementById) ? document.getElementById('closeall') : document.all['closeall'];
	
	if (showAct == 1) {
	 	aOpenObj.style.display = "none";
		aCloseObj.style.display = "";
	} else {
	 	aOpenObj.style.display = "";
		aCloseObj.style.display = "none";
	}
	for (i=1;i<1000;i++){
		var Obj = (document.getElementById) ? document.getElementById(divID+"_"+i) : eval("document.all['" + divID + "_"+i+"']");
		var aObj = (document.getElementById) ? document.getElementById("a_"+i) : eval("document.all['a_"+i+"']");
		
		if (Obj != null) {
		    if (showAct == 1) {
				Obj.style.display="";
				 aObj.className = "open";
			} else {
				Obj.style.display="none";
				aObj.className = "close";
			}
		} else {
			break;
		}
	}
}

