var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3914304&docid=67751473&x=1532',
		'title': '',
		'imageId': '67751473',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3914304&docid=67751474&x=1532',
		'title': '',
		'imageId': '67751474',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3914304&docid=67751475&x=1532',
		'title': '',
		'imageId': '67751475',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3914304&docid=67751476&x=1532',
		'title': '',
		'imageId': '67751476',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3914304&docid=67751477&x=1532',
		'title': '',
		'imageId': '67751477',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3914304&docid=67751478&x=1532',
		'title': '',
		'imageId': '67751478',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3914304&docid=67751479&x=1532',
		'title': '',
		'imageId': '67751479',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3914304&docid=67751480&x=1532',
		'title': '',
		'imageId': '67751480',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3914304&docid=67751481&x=1532',
		'title': '',
		'imageId': '67751481',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3914304&docid=67751482&x=1532',
		'title': '',
		'imageId': '67751482',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3914304&docid=67751483&x=1532',
		'title': '',
		'imageId': '67751483',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3914304';

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