var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4070766&docid=71177959&x=827',
		'title': '',
		'imageId': '71177959',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4070766&docid=71177954&x=827',
		'title': '',
		'imageId': '71177954',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4070766&docid=71177957&x=827',
		'title': '',
		'imageId': '71177957',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4070766&docid=71177963&x=827',
		'title': '',
		'imageId': '71177963',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4070766&docid=71177958&x=827',
		'title': '',
		'imageId': '71177958',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4070766&docid=71177962&x=827',
		'title': '',
		'imageId': '71177962',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4070766&docid=71177955&x=827',
		'title': '',
		'imageId': '71177955',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4070766&docid=71177961&x=827',
		'title': '',
		'imageId': '71177961',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4070766&docid=71177960&x=827',
		'title': '',
		'imageId': '71177960',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4070766&docid=71177956&x=827',
		'title': '',
		'imageId': '71177956',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4070766&docid=71177953&x=827',
		'title': '',
		'imageId': '71177953',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4070766';

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