var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3968889&docid=68999231&x=319',
		'title': '',
		'imageId': '68999231',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968889&docid=68999241&x=319',
		'title': '',
		'imageId': '68999241',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968889&docid=68999236&x=319',
		'title': '',
		'imageId': '68999236',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968889&docid=68999233&x=319',
		'title': '',
		'imageId': '68999233',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968889&docid=68999232&x=319',
		'title': '',
		'imageId': '68999232',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968889&docid=68999240&x=319',
		'title': '',
		'imageId': '68999240',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968889&docid=68999239&x=319',
		'title': '',
		'imageId': '68999239',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968889&docid=68999238&x=319',
		'title': '',
		'imageId': '68999238',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968889&docid=68999237&x=319',
		'title': '',
		'imageId': '68999237',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968889&docid=68999235&x=319',
		'title': '',
		'imageId': '68999235',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968889&docid=68999234&x=319',
		'title': '',
		'imageId': '68999234',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3968889';

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