var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3955746&docid=68721067&x=645',
		'title': '',
		'imageId': '68721067',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955746&docid=68721068&x=645',
		'title': '',
		'imageId': '68721068',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955746&docid=68721069&x=645',
		'title': '',
		'imageId': '68721069',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955746&docid=68721074&x=645',
		'title': '',
		'imageId': '68721074',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955746&docid=68721070&x=645',
		'title': '',
		'imageId': '68721070',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955746&docid=68721061&x=645',
		'title': '',
		'imageId': '68721061',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955746&docid=68721066&x=645',
		'title': '',
		'imageId': '68721066',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955746&docid=68721062&x=645',
		'title': '',
		'imageId': '68721062',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955746&docid=68721064&x=645',
		'title': '',
		'imageId': '68721064',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955746&docid=68721076&x=645',
		'title': '',
		'imageId': '68721076',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955746&docid=68721194&x=645',
		'title': '',
		'imageId': '68721194',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955746&docid=68721193&x=645',
		'title': '',
		'imageId': '68721193',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955746&docid=68721197&x=645',
		'title': '',
		'imageId': '68721197',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955746&docid=68721195&x=645',
		'title': '',
		'imageId': '68721195',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955746&docid=68721196&x=645',
		'title': '',
		'imageId': '68721196',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955746&docid=68721077&x=645',
		'title': '',
		'imageId': '68721077',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955746&docid=68721065&x=645',
		'title': '',
		'imageId': '68721065',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955746&docid=68721073&x=645',
		'title': '',
		'imageId': '68721073',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955746&docid=68721075&x=645',
		'title': '',
		'imageId': '68721075',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955746&docid=68721072&x=645',
		'title': '',
		'imageId': '68721072',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955746&docid=68721063&x=645',
		'title': '',
		'imageId': '68721063',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955746&docid=68721071&x=645',
		'title': '',
		'imageId': '68721071',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3955746';

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