var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3933007&docid=68204056&x=1552',
		'title': '',
		'imageId': '68204056',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933007&docid=68204071&x=1552',
		'title': '',
		'imageId': '68204071',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933007&docid=68204070&x=1552',
		'title': '',
		'imageId': '68204070',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933007&docid=68204063&x=1552',
		'title': '',
		'imageId': '68204063',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933007&docid=68204067&x=1552',
		'title': '',
		'imageId': '68204067',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933007&docid=68204068&x=1552',
		'title': '',
		'imageId': '68204068',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933007&docid=68204066&x=1552',
		'title': '',
		'imageId': '68204066',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933007&docid=68204064&x=1552',
		'title': '',
		'imageId': '68204064',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933007&docid=68204059&x=1552',
		'title': '',
		'imageId': '68204059',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933007&docid=68204069&x=1552',
		'title': '',
		'imageId': '68204069',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933007&docid=68204061&x=1552',
		'title': '',
		'imageId': '68204061',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933007&docid=68204072&x=1552',
		'title': '',
		'imageId': '68204072',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3933007';

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