var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3926305&docid=68046366&x=1533',
		'title': '',
		'imageId': '68046366',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926305&docid=68046367&x=1533',
		'title': '',
		'imageId': '68046367',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926305&docid=68046368&x=1533',
		'title': '',
		'imageId': '68046368',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926305&docid=68046369&x=1533',
		'title': '',
		'imageId': '68046369',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926305&docid=68046370&x=1533',
		'title': '',
		'imageId': '68046370',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926305&docid=68046371&x=1533',
		'title': '',
		'imageId': '68046371',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926305&docid=68046372&x=1533',
		'title': '',
		'imageId': '68046372',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926305&docid=68046373&x=1533',
		'title': '',
		'imageId': '68046373',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926305&docid=68046374&x=1533',
		'title': '',
		'imageId': '68046374',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926305&docid=68046375&x=1533',
		'title': '',
		'imageId': '68046375',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926305&docid=68046376&x=1533',
		'title': '',
		'imageId': '68046376',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3926305';

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