var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4053670&docid=71091245&x=2222',
		'title': '',
		'imageId': '71091245',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053670&docid=71133067&x=2222',
		'title': '',
		'imageId': '71133067',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053670&docid=71133068&x=2222',
		'title': '',
		'imageId': '71133068',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053670&docid=71133069&x=2222',
		'title': '',
		'imageId': '71133069',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053670&docid=71133070&x=2222',
		'title': '',
		'imageId': '71133070',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053670&docid=71133071&x=2222',
		'title': '',
		'imageId': '71133071',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053670&docid=71133072&x=2222',
		'title': '',
		'imageId': '71133072',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053670&docid=71091246&x=2222',
		'title': '',
		'imageId': '71091246',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053670&docid=71091247&x=2222',
		'title': '',
		'imageId': '71091247',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053670&docid=71091243&x=2222',
		'title': '',
		'imageId': '71091243',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053670&docid=71091244&x=2222',
		'title': '',
		'imageId': '71091244',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4053670';

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