var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4016655&docid=70140338&x=3952',
		'title': '',
		'imageId': '70140338',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016655&docid=70140334&x=3952',
		'title': '',
		'imageId': '70140334',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016655&docid=70140335&x=3952',
		'title': '',
		'imageId': '70140335',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016655&docid=70140340&x=3952',
		'title': '',
		'imageId': '70140340',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016655&docid=70140343&x=3952',
		'title': '',
		'imageId': '70140343',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016655&docid=70140333&x=3952',
		'title': '',
		'imageId': '70140333',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016655&docid=70140336&x=3952',
		'title': '',
		'imageId': '70140336',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016655&docid=70140337&x=3952',
		'title': '',
		'imageId': '70140337',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016655&docid=70140339&x=3952',
		'title': '',
		'imageId': '70140339',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016655&docid=70140342&x=3952',
		'title': '',
		'imageId': '70140342',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016655&docid=70140341&x=3952',
		'title': '',
		'imageId': '70140341',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4016655';

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