var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3963384&docid=68889075&x=3957',
		'title': '',
		'imageId': '68889075',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963384&docid=68889085&x=3957',
		'title': '',
		'imageId': '68889085',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963384&docid=68889092&x=3957',
		'title': '',
		'imageId': '68889092',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963384&docid=68889076&x=3957',
		'title': '',
		'imageId': '68889076',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963384&docid=68889082&x=3957',
		'title': '',
		'imageId': '68889082',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963384&docid=68889077&x=3957',
		'title': '',
		'imageId': '68889077',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963384&docid=68889083&x=3957',
		'title': '',
		'imageId': '68889083',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963384&docid=68889081&x=3957',
		'title': '',
		'imageId': '68889081',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963384&docid=68889086&x=3957',
		'title': '',
		'imageId': '68889086',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963384&docid=68889084&x=3957',
		'title': '',
		'imageId': '68889084',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963384&docid=68889079&x=3957',
		'title': '',
		'imageId': '68889079',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963384&docid=68889088&x=3957',
		'title': '',
		'imageId': '68889088',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963384&docid=68889087&x=3957',
		'title': '',
		'imageId': '68889087',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963384&docid=68889091&x=3957',
		'title': '',
		'imageId': '68889091',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963384&docid=68889090&x=3957',
		'title': '',
		'imageId': '68889090',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963384&docid=68889089&x=3957',
		'title': '',
		'imageId': '68889089',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3963384';

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