var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3932329&docid=68183951&x=3930',
		'title': '',
		'imageId': '68183951',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932329&docid=68183892&x=3930',
		'title': '',
		'imageId': '68183892',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932329&docid=68183904&x=3930',
		'title': '',
		'imageId': '68183904',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932329&docid=68183907&x=3930',
		'title': '',
		'imageId': '68183907',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932329&docid=68183910&x=3930',
		'title': '',
		'imageId': '68183910',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932329&docid=68183916&x=3930',
		'title': '',
		'imageId': '68183916',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932329&docid=68183919&x=3930',
		'title': '',
		'imageId': '68183919',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932329&docid=68183928&x=3930',
		'title': '',
		'imageId': '68183928',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932329&docid=68183934&x=3930',
		'title': '',
		'imageId': '68183934',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932329&docid=68183937&x=3930',
		'title': '',
		'imageId': '68183937',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932329&docid=68183940&x=3930',
		'title': '',
		'imageId': '68183940',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3932329';

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