var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3943278&docid=67942777&x=3544',
		'title': 'Example of Tile Use',
		'imageId': '67942777',
		'alt' : 'Example of Tile Use',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943278&docid=67942780&x=3544',
		'title': '',
		'imageId': '67942780',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943278&docid=67942776&x=3544',
		'title': 'Palletized tiles',
		'imageId': '67942776',
		'alt' : 'Palletized tiles',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943278&docid=67942778&x=3544',
		'title': 'Texture Detail',
		'imageId': '67942778',
		'alt' : 'Texture Detail',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943278&docid=67942779&x=3544',
		'title': 'Tile Dimensions',
		'imageId': '67942779',
		'alt' : 'Tile Dimensions',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3943278';

document.body.style.overflow = "hidden";
var closeElement = document.querySelector("#lightbox #close");
var closeLoadingElement = document.querySelector("#lightbox #closeLoading");

if (closeElement) {
	closeElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}

if (closeLoadingElement) {
	closeLoadingElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}
