var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4052368&docid=71046583&x=4550',
		'title': '',
		'imageId': '71046583',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052368&docid=71046578&x=4550',
		'title': '',
		'imageId': '71046578',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052368&docid=71046582&x=4550',
		'title': '',
		'imageId': '71046582',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052368&docid=71046580&x=4550',
		'title': '',
		'imageId': '71046580',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052368&docid=71046581&x=4550',
		'title': '',
		'imageId': '71046581',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052368&docid=71046576&x=4550',
		'title': '',
		'imageId': '71046576',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052368&docid=71046577&x=4550',
		'title': '',
		'imageId': '71046577',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052368&docid=71046584&x=4550',
		'title': '',
		'imageId': '71046584',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052368&docid=71046579&x=4550',
		'title': '',
		'imageId': '71046579',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4052368';

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