var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3950176&docid=68607966&x=5130',
		'title': '',
		'imageId': '68607966',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950176&docid=68607965&x=5130',
		'title': '',
		'imageId': '68607965',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950176&docid=68607961&x=5130',
		'title': '',
		'imageId': '68607961',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950176&docid=68607962&x=5130',
		'title': '',
		'imageId': '68607962',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950176&docid=68607968&x=5130',
		'title': '',
		'imageId': '68607968',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950176&docid=68607959&x=5130',
		'title': '',
		'imageId': '68607959',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950176&docid=68607963&x=5130',
		'title': '',
		'imageId': '68607963',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950176&docid=68607964&x=5130',
		'title': '',
		'imageId': '68607964',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950176&docid=68607960&x=5130',
		'title': '',
		'imageId': '68607960',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950176&docid=68607967&x=5130',
		'title': '',
		'imageId': '68607967',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3950176';

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