var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3965203&docid=68932243&x=428',
		'title': '',
		'imageId': '68932243',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965203&docid=68932242&x=428',
		'title': '',
		'imageId': '68932242',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965203&docid=68932245&x=428',
		'title': '',
		'imageId': '68932245',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965203&docid=68932247&x=428',
		'title': '',
		'imageId': '68932247',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965203&docid=68932244&x=428',
		'title': '',
		'imageId': '68932244',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965203&docid=68932250&x=428',
		'title': '',
		'imageId': '68932250',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965203&docid=68932246&x=428',
		'title': '',
		'imageId': '68932246',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965203&docid=68932248&x=428',
		'title': '',
		'imageId': '68932248',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965203&docid=68932252&x=428',
		'title': '',
		'imageId': '68932252',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965203&docid=68932251&x=428',
		'title': '',
		'imageId': '68932251',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965203&docid=68932249&x=428',
		'title': '',
		'imageId': '68932249',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3965203';

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