var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4083196&docid=71772544&x=1224',
		'title': '',
		'imageId': '71772544',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083196&docid=71772542&x=1224',
		'title': '',
		'imageId': '71772542',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083196&docid=71772547&x=1224',
		'title': '',
		'imageId': '71772547',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083196&docid=71772545&x=1224',
		'title': '',
		'imageId': '71772545',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083196&docid=71772548&x=1224',
		'title': '',
		'imageId': '71772548',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083196&docid=71772550&x=1224',
		'title': '',
		'imageId': '71772550',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083196&docid=71772546&x=1224',
		'title': '',
		'imageId': '71772546',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083196&docid=71772549&x=1224',
		'title': '',
		'imageId': '71772549',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083196&docid=71772543&x=1224',
		'title': '',
		'imageId': '71772543',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083196&docid=71772552&x=1224',
		'title': '',
		'imageId': '71772552',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083196&docid=71772551&x=1224',
		'title': '',
		'imageId': '71772551',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4083196';

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