var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3932868&docid=68228332&x=5031',
		'title': '',
		'imageId': '68228332',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932868&docid=68228333&x=5031',
		'title': '',
		'imageId': '68228333',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932868&docid=68228334&x=5031',
		'title': '',
		'imageId': '68228334',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932868&docid=68228335&x=5031',
		'title': '',
		'imageId': '68228335',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932868&docid=68228336&x=5031',
		'title': '',
		'imageId': '68228336',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932868&docid=68228337&x=5031',
		'title': '',
		'imageId': '68228337',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932868&docid=68228339&x=5031',
		'title': '',
		'imageId': '68228339',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932868&docid=68228338&x=5031',
		'title': '',
		'imageId': '68228338',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932868&docid=68228340&x=5031',
		'title': '',
		'imageId': '68228340',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932868&docid=68228331&x=5031',
		'title': '',
		'imageId': '68228331',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3932868';

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