var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4037238&docid=70724001&x=2538',
		'title': '',
		'imageId': '70724001',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037238&docid=70724023&x=2538',
		'title': '',
		'imageId': '70724023',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037238&docid=70724030&x=2538',
		'title': '',
		'imageId': '70724030',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037238&docid=70724033&x=2538',
		'title': '',
		'imageId': '70724033',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037238&docid=70724036&x=2538',
		'title': '',
		'imageId': '70724036',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037238&docid=70724052&x=2538',
		'title': '',
		'imageId': '70724052',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037238&docid=70724073&x=2538',
		'title': '',
		'imageId': '70724073',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037238&docid=70724093&x=2538',
		'title': '',
		'imageId': '70724093',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037238&docid=70724128&x=2538',
		'title': '',
		'imageId': '70724128',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037238&docid=70724132&x=2538',
		'title': '',
		'imageId': '70724132',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037238&docid=70724139&x=2538',
		'title': '',
		'imageId': '70724139',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4037238';

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";
	})
}
