var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3926572&docid=68054490&x=3159',
		'title': '',
		'imageId': '68054490',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926572&docid=68054484&x=3159',
		'title': '',
		'imageId': '68054484',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926572&docid=68054488&x=3159',
		'title': '',
		'imageId': '68054488',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926572&docid=68054500&x=3159',
		'title': '',
		'imageId': '68054500',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926572&docid=68054504&x=3159',
		'title': '',
		'imageId': '68054504',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926572&docid=68054493&x=3159',
		'title': '',
		'imageId': '68054493',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926572&docid=68054495&x=3159',
		'title': '',
		'imageId': '68054495',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926572&docid=68054489&x=3159',
		'title': '',
		'imageId': '68054489',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926572&docid=68054496&x=3159',
		'title': '',
		'imageId': '68054496',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926572&docid=68054485&x=3159',
		'title': '',
		'imageId': '68054485',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926572&docid=68054492&x=3159',
		'title': '',
		'imageId': '68054492',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926572&docid=68054487&x=3159',
		'title': '',
		'imageId': '68054487',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926572&docid=68054494&x=3159',
		'title': '',
		'imageId': '68054494',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926572&docid=68054502&x=3159',
		'title': '',
		'imageId': '68054502',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926572&docid=68054491&x=3159',
		'title': '',
		'imageId': '68054491',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926572&docid=68054498&x=3159',
		'title': '',
		'imageId': '68054498',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926572&docid=68054503&x=3159',
		'title': '',
		'imageId': '68054503',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926572&docid=68054483&x=3159',
		'title': '',
		'imageId': '68054483',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926572&docid=68054499&x=3159',
		'title': '',
		'imageId': '68054499',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926572&docid=68054501&x=3159',
		'title': '',
		'imageId': '68054501',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926572&docid=68054486&x=3159',
		'title': '',
		'imageId': '68054486',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926572&docid=68054497&x=3159',
		'title': '',
		'imageId': '68054497',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3926572';

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