var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4060768&docid=71275728&x=857',
		'title': '',
		'imageId': '71275728',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4060768&docid=71275732&x=857',
		'title': '',
		'imageId': '71275732',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4060768&docid=71275729&x=857',
		'title': '',
		'imageId': '71275729',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4060768&docid=71275737&x=857',
		'title': '',
		'imageId': '71275737',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4060768&docid=71275731&x=857',
		'title': '',
		'imageId': '71275731',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4060768&docid=71275727&x=857',
		'title': '',
		'imageId': '71275727',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4060768&docid=71275730&x=857',
		'title': '',
		'imageId': '71275730',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4060768';

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