var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4015466&docid=70095050&x=3157',
		'title': '',
		'imageId': '70095050',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015466&docid=70095051&x=3157',
		'title': '',
		'imageId': '70095051',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015466&docid=70095054&x=3157',
		'title': '',
		'imageId': '70095054',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015466&docid=70095052&x=3157',
		'title': '',
		'imageId': '70095052',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015466&docid=70095055&x=3157',
		'title': '',
		'imageId': '70095055',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015466&docid=70095056&x=3157',
		'title': '',
		'imageId': '70095056',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015466&docid=70095053&x=3157',
		'title': '',
		'imageId': '70095053',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015466&docid=70095057&x=3157',
		'title': '',
		'imageId': '70095057',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4015466';

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