var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4069987&docid=71511008&x=527',
		'title': '',
		'imageId': '71511008',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069987&docid=71511002&x=527',
		'title': '',
		'imageId': '71511002',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069987&docid=71511005&x=527',
		'title': '',
		'imageId': '71511005',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069987&docid=71511001&x=527',
		'title': '',
		'imageId': '71511001',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069987&docid=71510998&x=527',
		'title': '',
		'imageId': '71510998',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069987&docid=71511004&x=527',
		'title': '',
		'imageId': '71511004',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069987&docid=71511003&x=527',
		'title': '',
		'imageId': '71511003',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069987&docid=71510999&x=527',
		'title': '',
		'imageId': '71510999',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069987&docid=71511007&x=527',
		'title': '',
		'imageId': '71511007',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069987&docid=71511006&x=527',
		'title': '',
		'imageId': '71511006',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069987&docid=71511000&x=527',
		'title': '',
		'imageId': '71511000',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4069987';

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