var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3916786&docid=67818463&x=2121',
		'title': '',
		'imageId': '67818463',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916786&docid=67818465&x=2121',
		'title': '',
		'imageId': '67818465',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916786&docid=67818466&x=2121',
		'title': '',
		'imageId': '67818466',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916786&docid=67818468&x=2121',
		'title': '',
		'imageId': '67818468',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916786&docid=67818467&x=2121',
		'title': '',
		'imageId': '67818467',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916786&docid=67818481&x=2121',
		'title': '',
		'imageId': '67818481',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916786&docid=67818486&x=2121',
		'title': '',
		'imageId': '67818486',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916786&docid=67818491&x=2121',
		'title': '',
		'imageId': '67818491',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916786&docid=67818492&x=2121',
		'title': '',
		'imageId': '67818492',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916786&docid=67818485&x=2121',
		'title': '',
		'imageId': '67818485',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916786&docid=67818464&x=2121',
		'title': '',
		'imageId': '67818464',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3916786';

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