var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3929813&docid=68125233&x=1619',
		'title': '',
		'imageId': '68125233',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929813&docid=68125236&x=1619',
		'title': '',
		'imageId': '68125236',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929813&docid=68125239&x=1619',
		'title': '',
		'imageId': '68125239',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929813&docid=68125242&x=1619',
		'title': '',
		'imageId': '68125242',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929813&docid=68125245&x=1619',
		'title': '',
		'imageId': '68125245',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929813&docid=68125248&x=1619',
		'title': '',
		'imageId': '68125248',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929813&docid=68125251&x=1619',
		'title': '',
		'imageId': '68125251',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929813&docid=68125254&x=1619',
		'title': '',
		'imageId': '68125254',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929813&docid=68125261&x=1619',
		'title': '',
		'imageId': '68125261',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929813&docid=68125272&x=1619',
		'title': '',
		'imageId': '68125272',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929813&docid=68125230&x=1619',
		'title': '',
		'imageId': '68125230',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3929813';

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