var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3939535&docid=68220836&x=116',
		'title': '',
		'imageId': '68220836',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939535&docid=68220835&x=116',
		'title': '',
		'imageId': '68220835',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939535&docid=68220837&x=116',
		'title': '',
		'imageId': '68220837',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939535&docid=68220827&x=116',
		'title': '',
		'imageId': '68220827',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939535&docid=68220826&x=116',
		'title': '',
		'imageId': '68220826',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939535&docid=68220829&x=116',
		'title': '',
		'imageId': '68220829',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939535&docid=68220828&x=116',
		'title': '',
		'imageId': '68220828',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939535&docid=68220830&x=116',
		'title': '',
		'imageId': '68220830',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939535&docid=68220831&x=116',
		'title': '',
		'imageId': '68220831',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939535&docid=68220832&x=116',
		'title': '',
		'imageId': '68220832',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939535&docid=68220833&x=116',
		'title': '',
		'imageId': '68220833',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939535&docid=68220834&x=116',
		'title': '',
		'imageId': '68220834',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3939535';

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