var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4071078&docid=71481694&x=1354',
		'title': '',
		'imageId': '71481694',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071078&docid=71481697&x=1354',
		'title': '',
		'imageId': '71481697',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071078&docid=71481701&x=1354',
		'title': '',
		'imageId': '71481701',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071078&docid=71481695&x=1354',
		'title': '',
		'imageId': '71481695',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071078&docid=71481692&x=1354',
		'title': '',
		'imageId': '71481692',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071078&docid=71481696&x=1354',
		'title': '',
		'imageId': '71481696',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071078&docid=71481698&x=1354',
		'title': '',
		'imageId': '71481698',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071078&docid=71481693&x=1354',
		'title': '',
		'imageId': '71481693',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071078&docid=71481700&x=1354',
		'title': '',
		'imageId': '71481700',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071078&docid=71481699&x=1354',
		'title': '',
		'imageId': '71481699',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071078&docid=71481691&x=1354',
		'title': '',
		'imageId': '71481691',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4071078';

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