var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3929265&docid=68114242&x=4029',
		'title': '',
		'imageId': '68114242',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929265&docid=68114243&x=4029',
		'title': '',
		'imageId': '68114243',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929265&docid=68114244&x=4029',
		'title': '',
		'imageId': '68114244',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929265&docid=68114245&x=4029',
		'title': '',
		'imageId': '68114245',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929265&docid=68114246&x=4029',
		'title': '',
		'imageId': '68114246',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929265&docid=68114247&x=4029',
		'title': '',
		'imageId': '68114247',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929265&docid=68114248&x=4029',
		'title': '',
		'imageId': '68114248',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929265&docid=68114249&x=4029',
		'title': '',
		'imageId': '68114249',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929265&docid=68114250&x=4029',
		'title': '',
		'imageId': '68114250',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929265&docid=68114251&x=4029',
		'title': '',
		'imageId': '68114251',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929265&docid=68114252&x=4029',
		'title': '',
		'imageId': '68114252',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929265&docid=68114253&x=4029',
		'title': '',
		'imageId': '68114253',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3929265';

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