var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4007460&docid=69894064&x=2734',
		'title': '',
		'imageId': '69894064',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007460&docid=69894062&x=2734',
		'title': '',
		'imageId': '69894062',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007460&docid=69894060&x=2734',
		'title': '',
		'imageId': '69894060',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007460&docid=69894111&x=2734',
		'title': '',
		'imageId': '69894111',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007460&docid=69894077&x=2734',
		'title': '',
		'imageId': '69894077',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007460&docid=69894079&x=2734',
		'title': '',
		'imageId': '69894079',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007460&docid=69894078&x=2734',
		'title': '',
		'imageId': '69894078',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007460&docid=69894061&x=2734',
		'title': '',
		'imageId': '69894061',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007460&docid=69894081&x=2734',
		'title': '',
		'imageId': '69894081',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007460&docid=69894084&x=2734',
		'title': '',
		'imageId': '69894084',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007460&docid=69894086&x=2734',
		'title': '',
		'imageId': '69894086',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4007460';

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