var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3928590&docid=68041935&x=418',
		'title': '',
		'imageId': '68041935',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928590&docid=68041941&x=418',
		'title': '',
		'imageId': '68041941',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928590&docid=68041943&x=418',
		'title': '',
		'imageId': '68041943',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928590&docid=68041942&x=418',
		'title': '',
		'imageId': '68041942',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928590&docid=68041937&x=418',
		'title': '',
		'imageId': '68041937',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928590&docid=68041936&x=418',
		'title': '',
		'imageId': '68041936',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928590&docid=68041939&x=418',
		'title': '',
		'imageId': '68041939',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928590&docid=68041938&x=418',
		'title': '',
		'imageId': '68041938',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928590&docid=68041934&x=418',
		'title': '',
		'imageId': '68041934',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928590&docid=68041940&x=418',
		'title': '',
		'imageId': '68041940',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3928590';

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