var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4004646&docid=69826949&x=4415',
		'title': '',
		'imageId': '69826949',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004646&docid=69826950&x=4415',
		'title': '',
		'imageId': '69826950',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004646&docid=69826951&x=4415',
		'title': '',
		'imageId': '69826951',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004646&docid=69826952&x=4415',
		'title': '',
		'imageId': '69826952',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004646&docid=69826953&x=4415',
		'title': '',
		'imageId': '69826953',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004646&docid=69826954&x=4415',
		'title': '',
		'imageId': '69826954',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004646&docid=69826956&x=4415',
		'title': '',
		'imageId': '69826956',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004646&docid=69826955&x=4415',
		'title': '',
		'imageId': '69826955',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004646&docid=69826957&x=4415',
		'title': '',
		'imageId': '69826957',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004646&docid=69826958&x=4415',
		'title': '',
		'imageId': '69826958',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004646&docid=69826959&x=4415',
		'title': '',
		'imageId': '69826959',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4004646';

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