var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4008878&docid=69931549&x=3134',
		'title': '',
		'imageId': '69931549',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008878&docid=69931543&x=3134',
		'title': '',
		'imageId': '69931543',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008878&docid=69931538&x=3134',
		'title': '',
		'imageId': '69931538',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008878&docid=69931540&x=3134',
		'title': '',
		'imageId': '69931540',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008878&docid=69931537&x=3134',
		'title': '',
		'imageId': '69931537',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008878&docid=69931534&x=3134',
		'title': '',
		'imageId': '69931534',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008878&docid=69931547&x=3134',
		'title': '',
		'imageId': '69931547',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008878&docid=69931533&x=3134',
		'title': '',
		'imageId': '69931533',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008878&docid=69931552&x=3134',
		'title': '',
		'imageId': '69931552',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008878&docid=69931546&x=3134',
		'title': '',
		'imageId': '69931546',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008878&docid=69931550&x=3134',
		'title': '',
		'imageId': '69931550',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008878&docid=69931536&x=3134',
		'title': '',
		'imageId': '69931536',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008878&docid=69931539&x=3134',
		'title': '',
		'imageId': '69931539',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008878&docid=69931551&x=3134',
		'title': '',
		'imageId': '69931551',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008878&docid=69931544&x=3134',
		'title': '',
		'imageId': '69931544',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4008878';

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