var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4052620&docid=71051627&x=2258',
		'title': '',
		'imageId': '71051627',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052620&docid=71216723&x=2258',
		'title': '',
		'imageId': '71216723',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052620&docid=71051631&x=2258',
		'title': '',
		'imageId': '71051631',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052620&docid=71216724&x=2258',
		'title': '',
		'imageId': '71216724',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052620&docid=71051632&x=2258',
		'title': '',
		'imageId': '71051632',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052620&docid=71216726&x=2258',
		'title': '',
		'imageId': '71216726',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052620&docid=71051625&x=2258',
		'title': '',
		'imageId': '71051625',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052620&docid=71051628&x=2258',
		'title': '',
		'imageId': '71051628',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052620&docid=71051626&x=2258',
		'title': '',
		'imageId': '71051626',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052620&docid=71051629&x=2258',
		'title': '',
		'imageId': '71051629',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052620&docid=71051630&x=2258',
		'title': '',
		'imageId': '71051630',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4052620';

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