var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3949082&docid=68451886&x=5828',
		'title': '',
		'imageId': '68451886',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949082&docid=68451884&x=5828',
		'title': '',
		'imageId': '68451884',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949082&docid=68451885&x=5828',
		'title': '',
		'imageId': '68451885',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949082&docid=68451893&x=5828',
		'title': '',
		'imageId': '68451893',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949082&docid=68564122&x=5828',
		'title': '',
		'imageId': '68564122',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949082&docid=68564123&x=5828',
		'title': '',
		'imageId': '68564123',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949082&docid=68564124&x=5828',
		'title': '',
		'imageId': '68564124',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949082&docid=68564164&x=5828',
		'title': '',
		'imageId': '68564164',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949082&docid=68564151&x=5828',
		'title': '',
		'imageId': '68564151',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949082&docid=68564153&x=5828',
		'title': '',
		'imageId': '68564153',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949082&docid=68564152&x=5828',
		'title': '',
		'imageId': '68564152',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3949082';

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