var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3957818&docid=68462901&x=5413',
		'title': '',
		'imageId': '68462901',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957818&docid=68462907&x=5413',
		'title': '',
		'imageId': '68462907',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957818&docid=68463264&x=5413',
		'title': '',
		'imageId': '68463264',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957818&docid=68463266&x=5413',
		'title': '',
		'imageId': '68463266',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957818&docid=68462902&x=5413',
		'title': '',
		'imageId': '68462902',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957818&docid=68463267&x=5413',
		'title': '',
		'imageId': '68463267',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957818&docid=68463268&x=5413',
		'title': '',
		'imageId': '68463268',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957818&docid=68463272&x=5413',
		'title': '',
		'imageId': '68463272',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957818&docid=68463273&x=5413',
		'title': '',
		'imageId': '68463273',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957818&docid=68463274&x=5413',
		'title': '',
		'imageId': '68463274',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957818&docid=68463275&x=5413',
		'title': '',
		'imageId': '68463275',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957818&docid=68463276&x=5413',
		'title': '',
		'imageId': '68463276',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3957818';

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