var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3951161&docid=68613254&x=5125',
		'title': '',
		'imageId': '68613254',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951161&docid=68613256&x=5125',
		'title': '',
		'imageId': '68613256',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951161&docid=68613257&x=5125',
		'title': '',
		'imageId': '68613257',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951161&docid=68613258&x=5125',
		'title': '',
		'imageId': '68613258',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951161&docid=68613259&x=5125',
		'title': '',
		'imageId': '68613259',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951161&docid=68613263&x=5125',
		'title': '',
		'imageId': '68613263',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951161&docid=68613277&x=5125',
		'title': '',
		'imageId': '68613277',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951161&docid=68613280&x=5125',
		'title': '',
		'imageId': '68613280',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951161&docid=68613283&x=5125',
		'title': '',
		'imageId': '68613283',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951161&docid=68613284&x=5125',
		'title': '',
		'imageId': '68613284',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951161&docid=68613285&x=5125',
		'title': '',
		'imageId': '68613285',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3951161';

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