

// Fade up of image for item list cell. 
var shwID = ""; opc = 0; isList = 0;

function lrgView(shw) {
if (document.getElementById(shwID)) {document.getElementById(shwID).style.display="none"}
shwID = "larg" + shw;
var div = document.getElementById(shwID).style;
setOpacity('100',div);
setTimeout("blockDiv()",100);
} // end fun

function blockDiv() {
document.getElementById(shwID).style.display="block"
opc = 0; 
showDiv()}

function showDiv() {
//alert(opc)
var div = document.getElementById(shwID).style;
if (opc <= 100) {setOpacity(opc,div); opc += 10; setTimeout("showDiv()",40);} 
}

function closDiv() {
var div = document.getElementById(shwID).style;
if (opc > 0) {setOpacity(opc,div); opc -= 20; setTimeout("closDiv()",20);}
else {document.getElementById(shwID).style.display="none"; setOpacity('100',div); opc=0;}}

function setOpacity(opacity,ele){
ele.filter = "alpha(opacity=" + opacity +")"; 
ele.opacity = (opacity/100);
return;} 


function itmAdded(itmm) {
	var itmAddd = "crtBtn" + itmm;
	//alert(itmAddd)
	document.getElementById(itmAddd).getElementsByTagName("img")[0].style.backgroundPosition="right bottom";
	return
} // end fun

function SW_cattbl() {}
