var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3927841&docid=68087162&x=5842',
		'title': '',
		'imageId': '68087162',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927841&docid=68087165&x=5842',
		'title': '',
		'imageId': '68087165',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927841&docid=68087193&x=5842',
		'title': '',
		'imageId': '68087193',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927841&docid=68087198&x=5842',
		'title': '',
		'imageId': '68087198',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927841&docid=68087208&x=5842',
		'title': '',
		'imageId': '68087208',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927841&docid=68087163&x=5842',
		'title': '',
		'imageId': '68087163',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927841&docid=68087164&x=5842',
		'title': '',
		'imageId': '68087164',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927841&docid=68087166&x=5842',
		'title': '',
		'imageId': '68087166',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927841&docid=68087169&x=5842',
		'title': '',
		'imageId': '68087169',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927841&docid=68087176&x=5842',
		'title': '',
		'imageId': '68087176',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927841&docid=68087177&x=5842',
		'title': '',
		'imageId': '68087177',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927841&docid=68087178&x=5842',
		'title': '',
		'imageId': '68087178',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927841&docid=68087183&x=5842',
		'title': '',
		'imageId': '68087183',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927841&docid=68087184&x=5842',
		'title': '',
		'imageId': '68087184',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927841&docid=68087187&x=5842',
		'title': '',
		'imageId': '68087187',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927841&docid=68087190&x=5842',
		'title': '',
		'imageId': '68087190',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927841&docid=68087199&x=5842',
		'title': '',
		'imageId': '68087199',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927841&docid=68087202&x=5842',
		'title': '',
		'imageId': '68087202',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927841&docid=68087205&x=5842',
		'title': '',
		'imageId': '68087205',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927841&docid=68087211&x=5842',
		'title': '',
		'imageId': '68087211',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3927841';

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