var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4048020&docid=70941940&x=3719',
		'title': '',
		'imageId': '70941940',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048020&docid=70941939&x=3719',
		'title': '',
		'imageId': '70941939',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048020&docid=70941935&x=3719',
		'title': '',
		'imageId': '70941935',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048020&docid=70941941&x=3719',
		'title': '',
		'imageId': '70941941',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048020&docid=70941937&x=3719',
		'title': '',
		'imageId': '70941937',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048020&docid=70941932&x=3719',
		'title': '',
		'imageId': '70941932',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048020&docid=70941934&x=3719',
		'title': '',
		'imageId': '70941934',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048020&docid=70941931&x=3719',
		'title': '',
		'imageId': '70941931',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048020&docid=70941936&x=3719',
		'title': '',
		'imageId': '70941936',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048020&docid=70941938&x=3719',
		'title': '',
		'imageId': '70941938',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048020&docid=70941933&x=3719',
		'title': '',
		'imageId': '70941933',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4048020';

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