var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4044213&docid=70845878&x=3556',
		'title': '',
		'imageId': '70845878',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044213&docid=70845880&x=3556',
		'title': '',
		'imageId': '70845880',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044213&docid=70845887&x=3556',
		'title': '',
		'imageId': '70845887',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044213&docid=70845889&x=3556',
		'title': '',
		'imageId': '70845889',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044213&docid=70845879&x=3556',
		'title': '',
		'imageId': '70845879',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044213&docid=70845892&x=3556',
		'title': '',
		'imageId': '70845892',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044213&docid=70845891&x=3556',
		'title': '',
		'imageId': '70845891',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044213&docid=70845897&x=3556',
		'title': '',
		'imageId': '70845897',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044213&docid=70845900&x=3556',
		'title': '',
		'imageId': '70845900',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044213&docid=70845876&x=3556',
		'title': '',
		'imageId': '70845876',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044213&docid=70845877&x=3556',
		'title': '',
		'imageId': '70845877',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4044213';

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