var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4016506&docid=68899848&x=2414',
		'title': '',
		'imageId': '68899848',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016506&docid=68899850&x=2414',
		'title': '',
		'imageId': '68899850',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016506&docid=68899851&x=2414',
		'title': '',
		'imageId': '68899851',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016506&docid=68899852&x=2414',
		'title': '',
		'imageId': '68899852',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016506&docid=68899853&x=2414',
		'title': '',
		'imageId': '68899853',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016506&docid=68899854&x=2414',
		'title': '',
		'imageId': '68899854',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016506&docid=68899855&x=2414',
		'title': '',
		'imageId': '68899855',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016506&docid=68899856&x=2414',
		'title': '',
		'imageId': '68899856',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016506&docid=68899857&x=2414',
		'title': '',
		'imageId': '68899857',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016506&docid=68899858&x=2414',
		'title': '',
		'imageId': '68899858',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016506&docid=68899859&x=2414',
		'title': '',
		'imageId': '68899859',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016506&docid=68899860&x=2414',
		'title': '',
		'imageId': '68899860',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016506&docid=68899861&x=2414',
		'title': '',
		'imageId': '68899861',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016506&docid=68899862&x=2414',
		'title': '',
		'imageId': '68899862',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016506&docid=68899863&x=2414',
		'title': '',
		'imageId': '68899863',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016506&docid=68899864&x=2414',
		'title': '',
		'imageId': '68899864',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016506&docid=68899865&x=2414',
		'title': '',
		'imageId': '68899865',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016506&docid=68899866&x=2414',
		'title': '',
		'imageId': '68899866',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016506&docid=68899867&x=2414',
		'title': '',
		'imageId': '68899867',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016506&docid=68899868&x=2414',
		'title': '',
		'imageId': '68899868',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016506&docid=68899869&x=2414',
		'title': '',
		'imageId': '68899869',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016506&docid=68899870&x=2414',
		'title': '',
		'imageId': '68899870',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4016506';

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