var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3963679&docid=68896263&x=3512',
		'title': '',
		'imageId': '68896263',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963679&docid=68896264&x=3512',
		'title': '',
		'imageId': '68896264',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963679&docid=68896272&x=3512',
		'title': '',
		'imageId': '68896272',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963679&docid=68896269&x=3512',
		'title': '',
		'imageId': '68896269',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963679&docid=68896268&x=3512',
		'title': '',
		'imageId': '68896268',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963679&docid=68896270&x=3512',
		'title': '',
		'imageId': '68896270',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963679&docid=68896266&x=3512',
		'title': '',
		'imageId': '68896266',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963679&docid=68896265&x=3512',
		'title': '',
		'imageId': '68896265',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963679&docid=68896267&x=3512',
		'title': '',
		'imageId': '68896267',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963679&docid=68896271&x=3512',
		'title': '',
		'imageId': '68896271',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3963679';

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