var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3949801&docid=68580633&x=4645',
		'title': '',
		'imageId': '68580633',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949801&docid=68580632&x=4645',
		'title': '',
		'imageId': '68580632',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949801&docid=68580627&x=4645',
		'title': '',
		'imageId': '68580627',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949801&docid=68580634&x=4645',
		'title': '',
		'imageId': '68580634',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949801&docid=68580626&x=4645',
		'title': '',
		'imageId': '68580626',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949801&docid=68580631&x=4645',
		'title': '',
		'imageId': '68580631',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949801&docid=68580630&x=4645',
		'title': '',
		'imageId': '68580630',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949801&docid=68580629&x=4645',
		'title': '',
		'imageId': '68580629',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949801&docid=68580628&x=4645',
		'title': '',
		'imageId': '68580628',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949801&docid=68580625&x=4645',
		'title': '',
		'imageId': '68580625',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949801&docid=68580635&x=4645',
		'title': '',
		'imageId': '68580635',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3949801';

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