var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3996679&docid=69627050&x=1536',
		'title': '',
		'imageId': '69627050',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996679&docid=69627051&x=1536',
		'title': '',
		'imageId': '69627051',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996679&docid=69627053&x=1536',
		'title': '',
		'imageId': '69627053',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996679&docid=69627052&x=1536',
		'title': '',
		'imageId': '69627052',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996679&docid=69627054&x=1536',
		'title': '',
		'imageId': '69627054',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996679&docid=69627061&x=1536',
		'title': '',
		'imageId': '69627061',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996679&docid=69627069&x=1536',
		'title': '',
		'imageId': '69627069',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996679&docid=69627070&x=1536',
		'title': '',
		'imageId': '69627070',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996679&docid=69627071&x=1536',
		'title': '',
		'imageId': '69627071',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996679&docid=69627068&x=1536',
		'title': '',
		'imageId': '69627068',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3996679&docid=69627049&x=1536',
		'title': '',
		'imageId': '69627049',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3996679';

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