var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4036118&docid=70619339&x=1923',
		'title': '',
		'imageId': '70619339',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036118&docid=70619334&x=1923',
		'title': '',
		'imageId': '70619334',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036118&docid=70619335&x=1923',
		'title': '',
		'imageId': '70619335',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036118&docid=70619336&x=1923',
		'title': '',
		'imageId': '70619336',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036118&docid=70619337&x=1923',
		'title': '',
		'imageId': '70619337',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036118&docid=70619338&x=1923',
		'title': '',
		'imageId': '70619338',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036118&docid=70619340&x=1923',
		'title': '',
		'imageId': '70619340',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036118&docid=70619341&x=1923',
		'title': '',
		'imageId': '70619341',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036118&docid=70619342&x=1923',
		'title': '',
		'imageId': '70619342',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4036118';

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