var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4072631&docid=71596334&x=526',
		'title': '',
		'imageId': '71596334',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072631&docid=71596330&x=526',
		'title': '',
		'imageId': '71596330',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072631&docid=71596329&x=526',
		'title': '',
		'imageId': '71596329',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072631&docid=71596332&x=526',
		'title': '',
		'imageId': '71596332',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072631&docid=71596337&x=526',
		'title': '',
		'imageId': '71596337',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072631&docid=71596336&x=526',
		'title': '',
		'imageId': '71596336',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072631&docid=71596331&x=526',
		'title': '',
		'imageId': '71596331',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072631&docid=71596335&x=526',
		'title': '',
		'imageId': '71596335',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072631&docid=71596333&x=526',
		'title': '',
		'imageId': '71596333',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4072631';

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