var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4059610&docid=71245298&x=938',
		'title': '',
		'imageId': '71245298',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4059610&docid=71245300&x=938',
		'title': '',
		'imageId': '71245300',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4059610&docid=71245299&x=938',
		'title': '',
		'imageId': '71245299',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4059610&docid=71245297&x=938',
		'title': '',
		'imageId': '71245297',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4059610&docid=71245307&x=938',
		'title': '',
		'imageId': '71245307',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4059610&docid=71245295&x=938',
		'title': '',
		'imageId': '71245295',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4059610&docid=71245296&x=938',
		'title': '',
		'imageId': '71245296',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4059610';

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