var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3986272&docid=65086292&x=2420',
		'title': '',
		'imageId': '65086292',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986272&docid=65086302&x=2420',
		'title': '',
		'imageId': '65086302',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986272&docid=65086295&x=2420',
		'title': '',
		'imageId': '65086295',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986272&docid=65086296&x=2420',
		'title': '',
		'imageId': '65086296',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986272&docid=65086298&x=2420',
		'title': '',
		'imageId': '65086298',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986272&docid=65086294&x=2420',
		'title': '',
		'imageId': '65086294',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986272&docid=65086293&x=2420',
		'title': '',
		'imageId': '65086293',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986272&docid=65086299&x=2420',
		'title': '',
		'imageId': '65086299',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986272&docid=65086300&x=2420',
		'title': '',
		'imageId': '65086300',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986272&docid=65086301&x=2420',
		'title': '',
		'imageId': '65086301',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986272&docid=65086297&x=2420',
		'title': '',
		'imageId': '65086297',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3986272';

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