var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3929650&docid=68122074&x=4644',
		'title': '',
		'imageId': '68122074',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929650&docid=68122072&x=4644',
		'title': '',
		'imageId': '68122072',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929650&docid=68122071&x=4644',
		'title': '',
		'imageId': '68122071',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929650&docid=68122077&x=4644',
		'title': '',
		'imageId': '68122077',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929650&docid=68122080&x=4644',
		'title': '',
		'imageId': '68122080',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929650&docid=68122084&x=4644',
		'title': '',
		'imageId': '68122084',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929650&docid=68122086&x=4644',
		'title': '',
		'imageId': '68122086',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929650&docid=68122093&x=4644',
		'title': '',
		'imageId': '68122093',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929650&docid=68122094&x=4644',
		'title': '',
		'imageId': '68122094',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929650&docid=68122073&x=4644',
		'title': '',
		'imageId': '68122073',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3929650';

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