var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3961633&docid=68844269&x=4655',
		'title': '',
		'imageId': '68844269',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961633&docid=68844271&x=4655',
		'title': '',
		'imageId': '68844271',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961633&docid=68844272&x=4655',
		'title': '',
		'imageId': '68844272',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961633&docid=68844274&x=4655',
		'title': '',
		'imageId': '68844274',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961633&docid=68844270&x=4655',
		'title': '',
		'imageId': '68844270',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961633&docid=68844276&x=4655',
		'title': '',
		'imageId': '68844276',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961633&docid=68844275&x=4655',
		'title': '',
		'imageId': '68844275',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961633&docid=68844277&x=4655',
		'title': '',
		'imageId': '68844277',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961633&docid=68844273&x=4655',
		'title': '',
		'imageId': '68844273',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961633&docid=68844278&x=4655',
		'title': '',
		'imageId': '68844278',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961633&docid=68924204&x=4655',
		'title': '',
		'imageId': '68924204',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961633&docid=68924203&x=4655',
		'title': '',
		'imageId': '68924203',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3961633';

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