var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3965559&docid=68938265&x=4420',
		'title': '',
		'imageId': '68938265',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965559&docid=68938264&x=4420',
		'title': '',
		'imageId': '68938264',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965559&docid=68938268&x=4420',
		'title': '',
		'imageId': '68938268',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965559&docid=68938267&x=4420',
		'title': '',
		'imageId': '68938267',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965559&docid=68938266&x=4420',
		'title': '',
		'imageId': '68938266',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965559&docid=68938271&x=4420',
		'title': '',
		'imageId': '68938271',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965559&docid=68938276&x=4420',
		'title': '',
		'imageId': '68938276',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965559&docid=68938282&x=4420',
		'title': '',
		'imageId': '68938282',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965559&docid=68938281&x=4420',
		'title': '',
		'imageId': '68938281',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965559&docid=68938283&x=4420',
		'title': '',
		'imageId': '68938283',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965559&docid=68938286&x=4420',
		'title': '',
		'imageId': '68938286',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965559&docid=68938263&x=4420',
		'title': '',
		'imageId': '68938263',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3965559';

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