var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3916962&docid=67826174&x=409',
		'title': '',
		'imageId': '67826174',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916962&docid=67826175&x=409',
		'title': '',
		'imageId': '67826175',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916962&docid=67826181&x=409',
		'title': '',
		'imageId': '67826181',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916962&docid=67826176&x=409',
		'title': '',
		'imageId': '67826176',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916962&docid=67826180&x=409',
		'title': '',
		'imageId': '67826180',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916962&docid=67826178&x=409',
		'title': '',
		'imageId': '67826178',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916962&docid=67826179&x=409',
		'title': '',
		'imageId': '67826179',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916962&docid=67826177&x=409',
		'title': '',
		'imageId': '67826177',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916962&docid=67826184&x=409',
		'title': '',
		'imageId': '67826184',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916962&docid=67826182&x=409',
		'title': '',
		'imageId': '67826182',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916962&docid=67826183&x=409',
		'title': '',
		'imageId': '67826183',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3916962';

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