var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3929825&docid=68294917&x=1136',
		'title': '',
		'imageId': '68294917',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929825&docid=68294696&x=1136',
		'title': '',
		'imageId': '68294696',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929825&docid=68294832&x=1136',
		'title': '',
		'imageId': '68294832',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929825&docid=68294837&x=1136',
		'title': '',
		'imageId': '68294837',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929825&docid=68294842&x=1136',
		'title': '',
		'imageId': '68294842',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929825&docid=68294845&x=1136',
		'title': '',
		'imageId': '68294845',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929825&docid=68294844&x=1136',
		'title': '',
		'imageId': '68294844',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929825&docid=68294869&x=1136',
		'title': '',
		'imageId': '68294869',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929825&docid=68294843&x=1136',
		'title': '',
		'imageId': '68294843',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929825&docid=68294694&x=1136',
		'title': '',
		'imageId': '68294694',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3929825';

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