var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4037479&docid=70661244&x=1159',
		'title': '',
		'imageId': '70661244',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037479&docid=70661241&x=1159',
		'title': '',
		'imageId': '70661241',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037479&docid=70661245&x=1159',
		'title': '',
		'imageId': '70661245',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037479&docid=70661243&x=1159',
		'title': '',
		'imageId': '70661243',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037479&docid=70661237&x=1159',
		'title': '',
		'imageId': '70661237',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037479&docid=70661242&x=1159',
		'title': '',
		'imageId': '70661242',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037479&docid=70661239&x=1159',
		'title': '',
		'imageId': '70661239',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037479&docid=70677254&x=1159',
		'title': '',
		'imageId': '70677254',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037479&docid=70677257&x=1159',
		'title': '',
		'imageId': '70677257',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037479&docid=70677260&x=1159',
		'title': '',
		'imageId': '70677260',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037479&docid=70709887&x=1159',
		'title': '',
		'imageId': '70709887',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4037479';

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