Hi all,

I am looking through javascript functions in a .js file for site here -- basically, to learn and understand the javascript written by veteran developers. While I basically understand the script below, I am lost at what the "d" variable stands for since it is undefined using "var" or "d = something". It's like it came out of nowhere, but "a" knows what it is. ?

How does the script know what the "d" variable is in order to assign it's value to "a" if "d" appears to be (to me) undefined?

Code:
function fixSlidingboard(){
	var a;
	if(a = d('boardad')){
		var b = a.getElementsByTagName('embed');
		for(i=0;i<b.length;i++){
			if(b[i].getAttribute('height')==1){
				b[i].setAttribute("height","0");
			}
		}
	}
}