var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3952896&docid=68648991&x=329',
		'title': '',
		'imageId': '68648991',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952896&docid=68648998&x=329',
		'title': '',
		'imageId': '68648998',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952896&docid=68648988&x=329',
		'title': '',
		'imageId': '68648988',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952896&docid=68648994&x=329',
		'title': '',
		'imageId': '68648994',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952896&docid=68648990&x=329',
		'title': '',
		'imageId': '68648990',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952896&docid=68648993&x=329',
		'title': '',
		'imageId': '68648993',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952896&docid=68648992&x=329',
		'title': '',
		'imageId': '68648992',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952896&docid=68648995&x=329',
		'title': '',
		'imageId': '68648995',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952896&docid=68648996&x=329',
		'title': '',
		'imageId': '68648996',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952896&docid=68648997&x=329',
		'title': '',
		'imageId': '68648997',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952896&docid=68648989&x=329',
		'title': '',
		'imageId': '68648989',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3952896';

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