var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4067519&docid=71422477&x=530',
		'title': '',
		'imageId': '71422477',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067519&docid=71422478&x=530',
		'title': '',
		'imageId': '71422478',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067519&docid=71422479&x=530',
		'title': '',
		'imageId': '71422479',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067519&docid=71422480&x=530',
		'title': '',
		'imageId': '71422480',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067519&docid=71422481&x=530',
		'title': '',
		'imageId': '71422481',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067519&docid=71422482&x=530',
		'title': '',
		'imageId': '71422482',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067519&docid=71422483&x=530',
		'title': '',
		'imageId': '71422483',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067519&docid=71422484&x=530',
		'title': '',
		'imageId': '71422484',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4067519';

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