var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3931039&docid=68146087&x=1334',
		'title': '',
		'imageId': '68146087',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931039&docid=68146094&x=1334',
		'title': '',
		'imageId': '68146094',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931039&docid=68146104&x=1334',
		'title': '',
		'imageId': '68146104',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931039&docid=68146090&x=1334',
		'title': '',
		'imageId': '68146090',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931039&docid=68146088&x=1334',
		'title': '',
		'imageId': '68146088',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931039&docid=68146101&x=1334',
		'title': '',
		'imageId': '68146101',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931039&docid=68146106&x=1334',
		'title': '',
		'imageId': '68146106',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931039&docid=68146102&x=1334',
		'title': '',
		'imageId': '68146102',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931039&docid=68146097&x=1334',
		'title': '',
		'imageId': '68146097',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931039&docid=68146098&x=1334',
		'title': '',
		'imageId': '68146098',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931039&docid=68146091&x=1334',
		'title': '',
		'imageId': '68146091',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931039&docid=68146099&x=1334',
		'title': '',
		'imageId': '68146099',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931039&docid=68146093&x=1334',
		'title': '',
		'imageId': '68146093',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931039&docid=68146096&x=1334',
		'title': '',
		'imageId': '68146096',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931039&docid=68146092&x=1334',
		'title': '',
		'imageId': '68146092',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931039&docid=68146089&x=1334',
		'title': '',
		'imageId': '68146089',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931039&docid=68146095&x=1334',
		'title': '',
		'imageId': '68146095',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931039&docid=68146103&x=1334',
		'title': '',
		'imageId': '68146103',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931039&docid=68146105&x=1334',
		'title': '',
		'imageId': '68146105',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931039&docid=68146100&x=1334',
		'title': '',
		'imageId': '68146100',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3931039';

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