var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3946241&docid=68488644&x=5448',
		'title': '',
		'imageId': '68488644',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946241&docid=68488646&x=5448',
		'title': '',
		'imageId': '68488646',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946241&docid=68488647&x=5448',
		'title': '',
		'imageId': '68488647',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946241&docid=68488648&x=5448',
		'title': '',
		'imageId': '68488648',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946241&docid=68488649&x=5448',
		'title': '',
		'imageId': '68488649',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946241&docid=68488651&x=5448',
		'title': '',
		'imageId': '68488651',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946241&docid=68488650&x=5448',
		'title': '',
		'imageId': '68488650',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946241&docid=68488652&x=5448',
		'title': '',
		'imageId': '68488652',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946241&docid=68488655&x=5448',
		'title': '',
		'imageId': '68488655',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946241&docid=68488653&x=5448',
		'title': '',
		'imageId': '68488653',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946241&docid=68488654&x=5448',
		'title': '',
		'imageId': '68488654',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3946241';

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