var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3948703&docid=68558190&x=564',
		'title': '',
		'imageId': '68558190',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948703&docid=68558193&x=564',
		'title': '',
		'imageId': '68558193',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948703&docid=68558194&x=564',
		'title': '',
		'imageId': '68558194',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948703&docid=68558195&x=564',
		'title': '',
		'imageId': '68558195',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948703&docid=68558196&x=564',
		'title': '',
		'imageId': '68558196',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948703&docid=68558197&x=564',
		'title': '',
		'imageId': '68558197',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948703&docid=68558198&x=564',
		'title': '',
		'imageId': '68558198',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948703&docid=68558200&x=564',
		'title': '',
		'imageId': '68558200',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948703&docid=68558199&x=564',
		'title': '',
		'imageId': '68558199',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948703&docid=68558201&x=564',
		'title': '',
		'imageId': '68558201',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948703&docid=68558202&x=564',
		'title': '',
		'imageId': '68558202',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948703&docid=68558203&x=564',
		'title': '',
		'imageId': '68558203',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948703&docid=68558204&x=564',
		'title': '',
		'imageId': '68558204',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948703&docid=68558205&x=564',
		'title': '',
		'imageId': '68558205',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948703&docid=68558206&x=564',
		'title': '',
		'imageId': '68558206',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948703&docid=68558207&x=564',
		'title': '',
		'imageId': '68558207',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3948703';

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