function changePicture(img, galid,myalt,mywidth,myheight,myftid) {
	document.getElementById(galid).setAttribute('src',img);
	document.getElementById(galid).setAttribute('alt',myalt);
	document.getElementById(galid).setAttribute('title',myalt);document.getElementById(galid).setAttribute('width',mywidth);
		document.getElementById(galid).setAttribute('height',myheight);bigid='b'+galid;
		document.getElementById(bigid).setAttribute('href',img);
		var footerid=galid+'ft';
		var nottransparent=true;
		try {
			var nodcontent=document.getElementById(myftid).firstChild.nodeValue;
		}
		catch(err) {
			nodcontent='.'
			document.getElementById(footerid).setAttribute('class','transparent');
			nottransparent=false;
		}
		if (nottransparent) {
			document.getElementById(footerid).setAttribute('class','nottransparent');
		}
		document.getElementById(footerid).firstChild.nodeValue=nodcontent;
}