var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3951510&docid=68617647&x=1119',
		'title': '',
		'imageId': '68617647',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951510&docid=68617648&x=1119',
		'title': '',
		'imageId': '68617648',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951510&docid=68617649&x=1119',
		'title': '',
		'imageId': '68617649',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951510&docid=68617650&x=1119',
		'title': '',
		'imageId': '68617650',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951510&docid=68617630&x=1119',
		'title': '',
		'imageId': '68617630',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951510&docid=68617632&x=1119',
		'title': '',
		'imageId': '68617632',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951510&docid=68617629&x=1119',
		'title': '',
		'imageId': '68617629',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951510&docid=68617633&x=1119',
		'title': '',
		'imageId': '68617633',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951510&docid=68617631&x=1119',
		'title': '',
		'imageId': '68617631',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951510&docid=68617646&x=1119',
		'title': '',
		'imageId': '68617646',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951510&docid=68617628&x=1119',
		'title': '',
		'imageId': '68617628',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3951510';

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