var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4068938&docid=71214519&x=3633',
		'title': '',
		'imageId': '71214519',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4068938&docid=71214522&x=3633',
		'title': '',
		'imageId': '71214522',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4068938&docid=71214523&x=3633',
		'title': '',
		'imageId': '71214523',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4068938&docid=71214524&x=3633',
		'title': '',
		'imageId': '71214524',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4068938&docid=71214517&x=3633',
		'title': '',
		'imageId': '71214517',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4068938&docid=71214521&x=3633',
		'title': '',
		'imageId': '71214521',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4068938&docid=71214520&x=3633',
		'title': '',
		'imageId': '71214520',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4068938&docid=71214518&x=3633',
		'title': '',
		'imageId': '71214518',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4068938';

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