var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3977256&docid=68886401&x=4028',
		'title': '',
		'imageId': '68886401',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977256&docid=68886397&x=4028',
		'title': '',
		'imageId': '68886397',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977256&docid=68886398&x=4028',
		'title': '',
		'imageId': '68886398',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977256&docid=68886396&x=4028',
		'title': '',
		'imageId': '68886396',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977256&docid=68886406&x=4028',
		'title': '',
		'imageId': '68886406',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977256&docid=68886407&x=4028',
		'title': '',
		'imageId': '68886407',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977256&docid=68886405&x=4028',
		'title': '',
		'imageId': '68886405',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977256&docid=68886404&x=4028',
		'title': '',
		'imageId': '68886404',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977256&docid=68886403&x=4028',
		'title': '',
		'imageId': '68886403',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977256&docid=68886402&x=4028',
		'title': '',
		'imageId': '68886402',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977256&docid=68886399&x=4028',
		'title': '',
		'imageId': '68886399',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977256&docid=68886400&x=4028',
		'title': '',
		'imageId': '68886400',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3977256';

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