var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3997619&docid=69652646&x=1113',
		'title': '',
		'imageId': '69652646',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997619&docid=69652653&x=1113',
		'title': '',
		'imageId': '69652653',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997619&docid=69652635&x=1113',
		'title': '',
		'imageId': '69652635',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997619&docid=69652665&x=1113',
		'title': '',
		'imageId': '69652665',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997619&docid=69652614&x=1113',
		'title': '',
		'imageId': '69652614',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997619&docid=69652612&x=1113',
		'title': '',
		'imageId': '69652612',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997619&docid=69652615&x=1113',
		'title': '',
		'imageId': '69652615',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997619&docid=69652617&x=1113',
		'title': '',
		'imageId': '69652617',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997619&docid=69652628&x=1113',
		'title': '',
		'imageId': '69652628',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997619&docid=69652631&x=1113',
		'title': '',
		'imageId': '69652631',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997619&docid=69652632&x=1113',
		'title': '',
		'imageId': '69652632',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997619&docid=69652629&x=1113',
		'title': '',
		'imageId': '69652629',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997619&docid=69652634&x=1113',
		'title': '',
		'imageId': '69652634',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997619&docid=69652648&x=1113',
		'title': '',
		'imageId': '69652648',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997619&docid=69652649&x=1113',
		'title': '',
		'imageId': '69652649',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997619&docid=69652650&x=1113',
		'title': '',
		'imageId': '69652650',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997619&docid=69652652&x=1113',
		'title': '',
		'imageId': '69652652',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997619&docid=69652664&x=1113',
		'title': '',
		'imageId': '69652664',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997619&docid=69652616&x=1113',
		'title': '',
		'imageId': '69652616',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997619&docid=69652610&x=1113',
		'title': '',
		'imageId': '69652610',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3997619';

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