var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4062242&docid=71306251&x=539',
		'title': '',
		'imageId': '71306251',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062242&docid=71306248&x=539',
		'title': '',
		'imageId': '71306248',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062242&docid=71306249&x=539',
		'title': '',
		'imageId': '71306249',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062242&docid=71306247&x=539',
		'title': '',
		'imageId': '71306247',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062242&docid=71306250&x=539',
		'title': '',
		'imageId': '71306250',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062242&docid=71306246&x=539',
		'title': '',
		'imageId': '71306246',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062242&docid=71306245&x=539',
		'title': '',
		'imageId': '71306245',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4062242';

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