var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3994862&docid=69349182&x=1245',
		'title': '',
		'imageId': '69349182',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994862&docid=69349395&x=1245',
		'title': '',
		'imageId': '69349395',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994862&docid=69349215&x=1245',
		'title': '',
		'imageId': '69349215',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994862&docid=69203637&x=1245',
		'title': '',
		'imageId': '69203637',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994862&docid=69203640&x=1245',
		'title': '',
		'imageId': '69203640',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994862&docid=69203641&x=1245',
		'title': '',
		'imageId': '69203641',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994862&docid=69203647&x=1245',
		'title': '',
		'imageId': '69203647',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994862&docid=69203653&x=1245',
		'title': '',
		'imageId': '69203653',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994862&docid=69203654&x=1245',
		'title': '',
		'imageId': '69203654',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994862&docid=69203657&x=1245',
		'title': '',
		'imageId': '69203657',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994862&docid=69203662&x=1245',
		'title': '',
		'imageId': '69203662',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994862&docid=69203663&x=1245',
		'title': '',
		'imageId': '69203663',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994862&docid=69348695&x=1245',
		'title': '',
		'imageId': '69348695',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994862&docid=69203666&x=1245',
		'title': '',
		'imageId': '69203666',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994862&docid=69203646&x=1245',
		'title': '',
		'imageId': '69203646',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994862&docid=69348687&x=1245',
		'title': '',
		'imageId': '69348687',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994862&docid=69094994&x=1245',
		'title': '',
		'imageId': '69094994',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994862&docid=69348704&x=1245',
		'title': '',
		'imageId': '69348704',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994862&docid=69348707&x=1245',
		'title': '',
		'imageId': '69348707',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994862&docid=69348710&x=1245',
		'title': '',
		'imageId': '69348710',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994862&docid=68985448&x=1245',
		'title': '',
		'imageId': '68985448',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994862&docid=68985451&x=1245',
		'title': '',
		'imageId': '68985451',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3994862';

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