var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3962259&docid=68860111&x=1613',
		'title': '',
		'imageId': '68860111',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962259&docid=68858666&x=1613',
		'title': '',
		'imageId': '68858666',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962259&docid=68858665&x=1613',
		'title': '',
		'imageId': '68858665',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962259&docid=68858670&x=1613',
		'title': '',
		'imageId': '68858670',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962259&docid=68860125&x=1613',
		'title': '',
		'imageId': '68860125',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962259&docid=68858667&x=1613',
		'title': '',
		'imageId': '68858667',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962259&docid=68858669&x=1613',
		'title': '',
		'imageId': '68858669',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962259&docid=68858677&x=1613',
		'title': '',
		'imageId': '68858677',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962259&docid=68858678&x=1613',
		'title': '',
		'imageId': '68858678',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962259&docid=68858680&x=1613',
		'title': '',
		'imageId': '68858680',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962259&docid=68858685&x=1613',
		'title': '',
		'imageId': '68858685',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962259&docid=68858684&x=1613',
		'title': '',
		'imageId': '68858684',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962259&docid=68858688&x=1613',
		'title': '',
		'imageId': '68858688',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962259&docid=68858691&x=1613',
		'title': '',
		'imageId': '68858691',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962259&docid=68858694&x=1613',
		'title': '',
		'imageId': '68858694',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962259&docid=68858697&x=1613',
		'title': '',
		'imageId': '68858697',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962259&docid=68858702&x=1613',
		'title': '',
		'imageId': '68858702',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962259&docid=68858703&x=1613',
		'title': '',
		'imageId': '68858703',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962259&docid=68858706&x=1613',
		'title': '',
		'imageId': '68858706',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962259&docid=68858709&x=1613',
		'title': '',
		'imageId': '68858709',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962259&docid=68860129&x=1613',
		'title': '',
		'imageId': '68860129',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962259&docid=68858712&x=1613',
		'title': '',
		'imageId': '68858712',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3962259';

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