var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4000502&docid=69730722&x=3138',
		'title': '',
		'imageId': '69730722',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000502&docid=69730725&x=3138',
		'title': '',
		'imageId': '69730725',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000502&docid=69730724&x=3138',
		'title': '',
		'imageId': '69730724',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000502&docid=69730726&x=3138',
		'title': '',
		'imageId': '69730726',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000502&docid=69730723&x=3138',
		'title': '',
		'imageId': '69730723',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000502&docid=69730728&x=3138',
		'title': '',
		'imageId': '69730728',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4000502&docid=69730727&x=3138',
		'title': '',
		'imageId': '69730727',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4000502';

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