var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3924450&docid=68007901&x=3235',
		'title': '',
		'imageId': '68007901',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924450&docid=68007904&x=3235',
		'title': '',
		'imageId': '68007904',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924450&docid=68007907&x=3235',
		'title': '',
		'imageId': '68007907',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924450&docid=68007910&x=3235',
		'title': '',
		'imageId': '68007910',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924450&docid=68007913&x=3235',
		'title': '',
		'imageId': '68007913',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924450&docid=68007916&x=3235',
		'title': '',
		'imageId': '68007916',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924450&docid=68007925&x=3235',
		'title': '',
		'imageId': '68007925',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924450&docid=68007928&x=3235',
		'title': '',
		'imageId': '68007928',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924450&docid=68007934&x=3235',
		'title': '',
		'imageId': '68007934',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924450&docid=68007948&x=3235',
		'title': '',
		'imageId': '68007948',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924450&docid=68007951&x=3235',
		'title': '',
		'imageId': '68007951',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924450&docid=68294110&x=3235',
		'title': '',
		'imageId': '68294110',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3924450';

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