var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3917658&docid=67845886&x=3940',
		'title': '',
		'imageId': '67845886',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917658&docid=67845891&x=3940',
		'title': '',
		'imageId': '67845891',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917658&docid=67845888&x=3940',
		'title': '',
		'imageId': '67845888',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917658&docid=67845892&x=3940',
		'title': '',
		'imageId': '67845892',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917658&docid=67845894&x=3940',
		'title': '',
		'imageId': '67845894',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917658&docid=67845887&x=3940',
		'title': '',
		'imageId': '67845887',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917658&docid=67845893&x=3940',
		'title': '',
		'imageId': '67845893',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917658&docid=67845889&x=3940',
		'title': '',
		'imageId': '67845889',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917658&docid=67845885&x=3940',
		'title': '',
		'imageId': '67845885',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917658&docid=67845890&x=3940',
		'title': '',
		'imageId': '67845890',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917658&docid=67845895&x=3940',
		'title': '',
		'imageId': '67845895',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917658&docid=67845896&x=3940',
		'title': '',
		'imageId': '67845896',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3917658';

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