var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4087647&docid=71879293&x=2255',
		'title': '',
		'imageId': '71879293',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087647&docid=71879296&x=2255',
		'title': '',
		'imageId': '71879296',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087647&docid=71879303&x=2255',
		'title': '',
		'imageId': '71879303',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087647&docid=71879294&x=2255',
		'title': '',
		'imageId': '71879294',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087647&docid=71879298&x=2255',
		'title': '',
		'imageId': '71879298',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087647&docid=71879302&x=2255',
		'title': '',
		'imageId': '71879302',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087647&docid=71879295&x=2255',
		'title': '',
		'imageId': '71879295',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087647&docid=71879297&x=2255',
		'title': '',
		'imageId': '71879297',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087647&docid=71879301&x=2255',
		'title': '',
		'imageId': '71879301',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087647&docid=71879300&x=2255',
		'title': '',
		'imageId': '71879300',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087647&docid=71879299&x=2255',
		'title': '',
		'imageId': '71879299',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4087647';

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