var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3940809&docid=68381181&x=5239',
		'title': '',
		'imageId': '68381181',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940809&docid=68381182&x=5239',
		'title': '',
		'imageId': '68381182',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940809&docid=68381183&x=5239',
		'title': '',
		'imageId': '68381183',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940809&docid=68381184&x=5239',
		'title': '',
		'imageId': '68381184',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940809&docid=68381185&x=5239',
		'title': '',
		'imageId': '68381185',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940809&docid=68381191&x=5239',
		'title': '',
		'imageId': '68381191',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940809&docid=68381193&x=5239',
		'title': '',
		'imageId': '68381193',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940809&docid=68381194&x=5239',
		'title': '',
		'imageId': '68381194',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940809&docid=68381201&x=5239',
		'title': '',
		'imageId': '68381201',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940809&docid=68381180&x=5239',
		'title': '',
		'imageId': '68381180',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3940809';

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