var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4052134&docid=71043191&x=3511',
		'title': '',
		'imageId': '71043191',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052134&docid=71043192&x=3511',
		'title': '',
		'imageId': '71043192',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052134&docid=71043195&x=3511',
		'title': '',
		'imageId': '71043195',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052134&docid=71043196&x=3511',
		'title': '',
		'imageId': '71043196',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052134&docid=71043193&x=3511',
		'title': '',
		'imageId': '71043193',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052134&docid=71043197&x=3511',
		'title': '',
		'imageId': '71043197',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052134&docid=71043194&x=3511',
		'title': '',
		'imageId': '71043194',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4052134';

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