var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3929332&docid=68117940&x=225',
		'title': '',
		'imageId': '68117940',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929332&docid=68117942&x=225',
		'title': '',
		'imageId': '68117942',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929332&docid=68117945&x=225',
		'title': '',
		'imageId': '68117945',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929332&docid=68117943&x=225',
		'title': '',
		'imageId': '68117943',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929332&docid=68117941&x=225',
		'title': '',
		'imageId': '68117941',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929332&docid=68117944&x=225',
		'title': '',
		'imageId': '68117944',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929332&docid=68117958&x=225',
		'title': '',
		'imageId': '68117958',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929332&docid=68117959&x=225',
		'title': '',
		'imageId': '68117959',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929332&docid=68117963&x=225',
		'title': '',
		'imageId': '68117963',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929332&docid=68117960&x=225',
		'title': '',
		'imageId': '68117960',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929332&docid=68117961&x=225',
		'title': '',
		'imageId': '68117961',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3929332';

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