var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3950195&docid=68620844&x=5132',
		'title': '',
		'imageId': '68620844',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950195&docid=68620853&x=5132',
		'title': '',
		'imageId': '68620853',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950195&docid=68620842&x=5132',
		'title': '',
		'imageId': '68620842',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950195&docid=68620843&x=5132',
		'title': '',
		'imageId': '68620843',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950195&docid=68620851&x=5132',
		'title': '',
		'imageId': '68620851',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950195&docid=68620845&x=5132',
		'title': '',
		'imageId': '68620845',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950195&docid=68620852&x=5132',
		'title': '',
		'imageId': '68620852',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950195&docid=68620848&x=5132',
		'title': '',
		'imageId': '68620848',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950195&docid=68620847&x=5132',
		'title': '',
		'imageId': '68620847',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950195&docid=68620846&x=5132',
		'title': '',
		'imageId': '68620846',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950195&docid=68620849&x=5132',
		'title': '',
		'imageId': '68620849',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950195&docid=68620850&x=5132',
		'title': '',
		'imageId': '68620850',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3950195';

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