var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3931564&docid=68158881&x=1533',
		'title': '',
		'imageId': '68158881',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931564&docid=68158879&x=1533',
		'title': '',
		'imageId': '68158879',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931564&docid=68158877&x=1533',
		'title': '',
		'imageId': '68158877',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931564&docid=68158880&x=1533',
		'title': '',
		'imageId': '68158880',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931564&docid=68158882&x=1533',
		'title': '',
		'imageId': '68158882',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931564&docid=68158876&x=1533',
		'title': '',
		'imageId': '68158876',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931564&docid=68158875&x=1533',
		'title': '',
		'imageId': '68158875',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931564&docid=68158878&x=1533',
		'title': '',
		'imageId': '68158878',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931564&docid=68158874&x=1533',
		'title': '',
		'imageId': '68158874',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931564&docid=68158884&x=1533',
		'title': '',
		'imageId': '68158884',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931564&docid=68158883&x=1533',
		'title': '',
		'imageId': '68158883',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931564&docid=68158885&x=1533',
		'title': '',
		'imageId': '68158885',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3931564';

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