var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3955734&docid=68400788&x=4948',
		'title': '',
		'imageId': '68400788',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955734&docid=68400790&x=4948',
		'title': '',
		'imageId': '68400790',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955734&docid=68400787&x=4948',
		'title': '',
		'imageId': '68400787',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955734&docid=68400794&x=4948',
		'title': '',
		'imageId': '68400794',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955734&docid=68400791&x=4948',
		'title': '',
		'imageId': '68400791',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955734&docid=68400793&x=4948',
		'title': '',
		'imageId': '68400793',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955734&docid=68400786&x=4948',
		'title': '',
		'imageId': '68400786',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955734&docid=68400789&x=4948',
		'title': '',
		'imageId': '68400789',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955734&docid=68400792&x=4948',
		'title': '',
		'imageId': '68400792',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955734&docid=68400795&x=4948',
		'title': '',
		'imageId': '68400795',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3955734';

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