var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3952618&docid=68892622&x=713',
		'title': '',
		'imageId': '68892622',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952618&docid=68892620&x=713',
		'title': '',
		'imageId': '68892620',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952618&docid=68892621&x=713',
		'title': '',
		'imageId': '68892621',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952618&docid=68892623&x=713',
		'title': '',
		'imageId': '68892623',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952618&docid=68892619&x=713',
		'title': '',
		'imageId': '68892619',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952618&docid=68867111&x=713',
		'title': '',
		'imageId': '68867111',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952618&docid=68642839&x=713',
		'title': '',
		'imageId': '68642839',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952618&docid=68642838&x=713',
		'title': '',
		'imageId': '68642838',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952618&docid=68642834&x=713',
		'title': '',
		'imageId': '68642834',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952618&docid=68862501&x=713',
		'title': '',
		'imageId': '68862501',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952618&docid=68862500&x=713',
		'title': '',
		'imageId': '68862500',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3952618';

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