var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3948676&docid=68556949&x=561',
		'title': '',
		'imageId': '68556949',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948676&docid=68556954&x=561',
		'title': '',
		'imageId': '68556954',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948676&docid=68556955&x=561',
		'title': '',
		'imageId': '68556955',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948676&docid=68556956&x=561',
		'title': '',
		'imageId': '68556956',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948676&docid=68556957&x=561',
		'title': '',
		'imageId': '68556957',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948676&docid=68556958&x=561',
		'title': '',
		'imageId': '68556958',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948676&docid=68556961&x=561',
		'title': '',
		'imageId': '68556961',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948676&docid=68556960&x=561',
		'title': '',
		'imageId': '68556960',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948676&docid=68556959&x=561',
		'title': '',
		'imageId': '68556959',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948676&docid=68556963&x=561',
		'title': '',
		'imageId': '68556963',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948676&docid=68556962&x=561',
		'title': '',
		'imageId': '68556962',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948676&docid=68556964&x=561',
		'title': '',
		'imageId': '68556964',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948676&docid=68556965&x=561',
		'title': '',
		'imageId': '68556965',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948676&docid=68556966&x=561',
		'title': '',
		'imageId': '68556966',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948676&docid=68556968&x=561',
		'title': '',
		'imageId': '68556968',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948676&docid=68556969&x=561',
		'title': '',
		'imageId': '68556969',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948676&docid=68556967&x=561',
		'title': '',
		'imageId': '68556967',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948676&docid=68556971&x=561',
		'title': '',
		'imageId': '68556971',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948676&docid=68556970&x=561',
		'title': '',
		'imageId': '68556970',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948676&docid=68556973&x=561',
		'title': '',
		'imageId': '68556973',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948676&docid=68556974&x=561',
		'title': '',
		'imageId': '68556974',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948676&docid=68556972&x=561',
		'title': '',
		'imageId': '68556972',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3948676';

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