var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3957086&docid=68753263&x=3828',
		'title': '',
		'imageId': '68753263',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957086&docid=68753259&x=3828',
		'title': '',
		'imageId': '68753259',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957086&docid=68753261&x=3828',
		'title': '',
		'imageId': '68753261',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957086&docid=68753255&x=3828',
		'title': '',
		'imageId': '68753255',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957086&docid=68753268&x=3828',
		'title': '',
		'imageId': '68753268',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957086&docid=68753260&x=3828',
		'title': '',
		'imageId': '68753260',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957086&docid=68753256&x=3828',
		'title': '',
		'imageId': '68753256',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957086&docid=68753264&x=3828',
		'title': '',
		'imageId': '68753264',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957086&docid=68753265&x=3828',
		'title': '',
		'imageId': '68753265',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957086&docid=68753267&x=3828',
		'title': '',
		'imageId': '68753267',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957086&docid=68753254&x=3828',
		'title': '',
		'imageId': '68753254',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957086&docid=68753266&x=3828',
		'title': '',
		'imageId': '68753266',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957086&docid=68753262&x=3828',
		'title': '',
		'imageId': '68753262',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957086&docid=68753257&x=3828',
		'title': '',
		'imageId': '68753257',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957086&docid=68753258&x=3828',
		'title': '',
		'imageId': '68753258',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957086&docid=68753300&x=3828',
		'title': '',
		'imageId': '68753300',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3957086';

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