var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3971851&docid=68599902&x=3135',
		'title': '',
		'imageId': '68599902',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971851&docid=68599907&x=3135',
		'title': '',
		'imageId': '68599907',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971851&docid=68599905&x=3135',
		'title': '',
		'imageId': '68599905',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971851&docid=68599899&x=3135',
		'title': '',
		'imageId': '68599899',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971851&docid=68599906&x=3135',
		'title': '',
		'imageId': '68599906',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971851&docid=68599903&x=3135',
		'title': '',
		'imageId': '68599903',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971851&docid=68599901&x=3135',
		'title': '',
		'imageId': '68599901',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971851&docid=68599904&x=3135',
		'title': '',
		'imageId': '68599904',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3971851';

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