var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3953291&docid=68656451&x=551',
		'title': '',
		'imageId': '68656451',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953291&docid=68656452&x=551',
		'title': '',
		'imageId': '68656452',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953291&docid=68656453&x=551',
		'title': '',
		'imageId': '68656453',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953291&docid=68656454&x=551',
		'title': '',
		'imageId': '68656454',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953291&docid=68656455&x=551',
		'title': '',
		'imageId': '68656455',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953291&docid=68656456&x=551',
		'title': '',
		'imageId': '68656456',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953291&docid=68656458&x=551',
		'title': '',
		'imageId': '68656458',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953291&docid=68656459&x=551',
		'title': '',
		'imageId': '68656459',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953291&docid=68656460&x=551',
		'title': '',
		'imageId': '68656460',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953291&docid=68656461&x=551',
		'title': '',
		'imageId': '68656461',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3953291';

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