var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4082286&docid=71754293&x=1522',
		'title': '',
		'imageId': '71754293',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4082286&docid=71754294&x=1522',
		'title': '',
		'imageId': '71754294',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4082286&docid=71754298&x=1522',
		'title': '',
		'imageId': '71754298',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4082286&docid=71754299&x=1522',
		'title': '',
		'imageId': '71754299',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4082286&docid=71754300&x=1522',
		'title': '',
		'imageId': '71754300',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4082286&docid=71754296&x=1522',
		'title': '',
		'imageId': '71754296',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4082286&docid=71754295&x=1522',
		'title': '',
		'imageId': '71754295',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4082286&docid=71754302&x=1522',
		'title': '',
		'imageId': '71754302',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4082286&docid=71754301&x=1522',
		'title': '',
		'imageId': '71754301',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4082286&docid=71754297&x=1522',
		'title': '',
		'imageId': '71754297',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4082286&docid=71754250&x=1522',
		'title': '',
		'imageId': '71754250',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4082286';

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