var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4051221&docid=71022259&x=1648',
		'title': '',
		'imageId': '71022259',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051221&docid=71022258&x=1648',
		'title': '',
		'imageId': '71022258',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051221&docid=71022261&x=1648',
		'title': '',
		'imageId': '71022261',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051221&docid=71022256&x=1648',
		'title': '',
		'imageId': '71022256',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051221&docid=71022257&x=1648',
		'title': '',
		'imageId': '71022257',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051221&docid=71022260&x=1648',
		'title': '',
		'imageId': '71022260',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051221&docid=71022262&x=1648',
		'title': '',
		'imageId': '71022262',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051221&docid=71022263&x=1648',
		'title': '',
		'imageId': '71022263',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051221&docid=71022264&x=1648',
		'title': '',
		'imageId': '71022264',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051221&docid=71551067&x=1648',
		'title': '',
		'imageId': '71551067',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051221&docid=71551070&x=1648',
		'title': '',
		'imageId': '71551070',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4051221';

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