var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3917649&docid=67845640&x=4114',
		'title': '',
		'imageId': '67845640',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917649&docid=67845641&x=4114',
		'title': '',
		'imageId': '67845641',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917649&docid=67845639&x=4114',
		'title': '',
		'imageId': '67845639',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917649&docid=67845649&x=4114',
		'title': '',
		'imageId': '67845649',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917649&docid=67845646&x=4114',
		'title': '',
		'imageId': '67845646',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917649&docid=67845643&x=4114',
		'title': '',
		'imageId': '67845643',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917649&docid=67845642&x=4114',
		'title': '',
		'imageId': '67845642',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917649&docid=67845644&x=4114',
		'title': '',
		'imageId': '67845644',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917649&docid=67845645&x=4114',
		'title': '',
		'imageId': '67845645',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917649&docid=67845648&x=4114',
		'title': '',
		'imageId': '67845648',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917649&docid=67845647&x=4114',
		'title': '',
		'imageId': '67845647',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3917649';

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