var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3963489&docid=68890840&x=31',
		'title': '',
		'imageId': '68890840',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963489&docid=68890850&x=31',
		'title': '',
		'imageId': '68890850',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963489&docid=68890846&x=31',
		'title': '',
		'imageId': '68890846',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963489&docid=68890849&x=31',
		'title': '',
		'imageId': '68890849',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963489&docid=68890847&x=31',
		'title': '',
		'imageId': '68890847',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963489&docid=68890848&x=31',
		'title': '',
		'imageId': '68890848',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963489&docid=68890842&x=31',
		'title': '',
		'imageId': '68890842',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963489&docid=68890845&x=31',
		'title': '',
		'imageId': '68890845',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963489&docid=68890843&x=31',
		'title': '',
		'imageId': '68890843',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963489&docid=68890844&x=31',
		'title': '',
		'imageId': '68890844',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963489&docid=68890841&x=31',
		'title': '',
		'imageId': '68890841',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3963489';

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