var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3915890&docid=67786667&x=1236',
		'title': '',
		'imageId': '67786667',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915890&docid=67786670&x=1236',
		'title': '',
		'imageId': '67786670',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915890&docid=67786672&x=1236',
		'title': '',
		'imageId': '67786672',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915890&docid=67786674&x=1236',
		'title': '',
		'imageId': '67786674',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915890&docid=67786675&x=1236',
		'title': '',
		'imageId': '67786675',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915890&docid=67786676&x=1236',
		'title': '',
		'imageId': '67786676',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915890&docid=67786677&x=1236',
		'title': '',
		'imageId': '67786677',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915890&docid=67786678&x=1236',
		'title': '',
		'imageId': '67786678',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915890&docid=67786679&x=1236',
		'title': '',
		'imageId': '67786679',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915890&docid=67786680&x=1236',
		'title': '',
		'imageId': '67786680',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915890&docid=67786681&x=1236',
		'title': '',
		'imageId': '67786681',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915890&docid=67786682&x=1236',
		'title': '',
		'imageId': '67786682',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3915890';

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