var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3963773&docid=68897554&x=1828',
		'title': '',
		'imageId': '68897554',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963773&docid=68897553&x=1828',
		'title': '',
		'imageId': '68897553',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963773&docid=68897572&x=1828',
		'title': '',
		'imageId': '68897572',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963773&docid=68897552&x=1828',
		'title': '',
		'imageId': '68897552',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963773&docid=68897556&x=1828',
		'title': '',
		'imageId': '68897556',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963773&docid=68897558&x=1828',
		'title': '',
		'imageId': '68897558',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963773&docid=68897555&x=1828',
		'title': '',
		'imageId': '68897555',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963773&docid=68897566&x=1828',
		'title': '',
		'imageId': '68897566',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963773&docid=68897560&x=1828',
		'title': '',
		'imageId': '68897560',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963773&docid=68897557&x=1828',
		'title': '',
		'imageId': '68897557',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963773&docid=68897562&x=1828',
		'title': '',
		'imageId': '68897562',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963773&docid=68897563&x=1828',
		'title': '',
		'imageId': '68897563',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963773&docid=68897559&x=1828',
		'title': '',
		'imageId': '68897559',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963773&docid=68897565&x=1828',
		'title': '',
		'imageId': '68897565',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963773&docid=68897568&x=1828',
		'title': '',
		'imageId': '68897568',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963773&docid=68897561&x=1828',
		'title': '',
		'imageId': '68897561',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963773&docid=68897571&x=1828',
		'title': '',
		'imageId': '68897571',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963773&docid=68897570&x=1828',
		'title': '',
		'imageId': '68897570',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963773&docid=68897564&x=1828',
		'title': '',
		'imageId': '68897564',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963773&docid=68897567&x=1828',
		'title': '',
		'imageId': '68897567',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963773&docid=68897569&x=1828',
		'title': '',
		'imageId': '68897569',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963773&docid=68899328&x=1828',
		'title': '',
		'imageId': '68899328',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3963773';

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