function prepZooms() {
	if (! document.getElementsByTagName) {
		return;
	}
	var links = document.getElementsByTagName("a");
	for (i = 0; i < links.length; i++) {
		if (links[i].getAttribute("href")) {
			if (links[i].getAttribute("href").search(/(.*)\.(jpg|jpeg|gif|png|bmp|tif|tiff)/gi) != -1) {
				if (links[i].getAttribute("rel") != "nozoom") {
					links[i].onclick = function (event) { return zoomClick(this, event); };
					links[i].onmouseover = function () { zoomPreload(this); };
				}
			}
		}
	}
}
// This is done at page load time via an onLoad() handler.
This is done at page load time via an onLoad() handler.
This is done at page load time via an onLoad () handler .
function prepZooms() {
	if (! document.getElementsByTagName) {
		return;
	}
	var links = document.getElementsByTagName("a");
	for (i = 0; i < links.length; i++) {
		if (links[i].getAttribute("href")) {
			if (links[i].getAttribute("href").search(/(.*)\.(jpg|jpeg|gif|png|bmp|tif|tiff)/gi) != -1) {
				if (links[i].getAttribute("rel") != "nozoom") {
					links[i].onclick = function (event) { return zoomClick(this, event); };
					links[i].onmouseover = function () { zoomPreload(this); };
				}
			}
		}
	}
}
function prepZooms ( ) { if ( ! document . getElementsByTagName ) { return ; } var links = document . getElementsByTagName ( "a" ) ; for ( i = 0 ; i < links . length ; i ++ ) { if ( links [ i ] . getAttribute ( "href" ) ) { if ( links [ i ] . getAttribute ( "href" ) . search ( / (.*)\.(jpg|jpeg|gif|png|bmp|tif|tiff) / gi ) != - 1 ) { if ( links [ i ] . getAttribute ( "rel" ) != "nozoom" ) { links [ i ] . onclick = function ( event ) { return zoomClick ( this , event ) ; } ; links [ i ] . onmouseover = function ( ) { zoomPreload ( this ) ; } ; } } } } }
This is done at page load time via an onLoad() handler.
This is done at page load time via an onLoad () handler .