var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4006326&docid=69865768&x=2447',
		'title': '',
		'imageId': '69865768',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006326&docid=69865826&x=2447',
		'title': '',
		'imageId': '69865826',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006326&docid=69865829&x=2447',
		'title': '',
		'imageId': '69865829',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006326&docid=69865833&x=2447',
		'title': '',
		'imageId': '69865833',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006326&docid=69865841&x=2447',
		'title': '',
		'imageId': '69865841',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006326&docid=69865858&x=2447',
		'title': '',
		'imageId': '69865858',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006326&docid=69865861&x=2447',
		'title': '',
		'imageId': '69865861',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006326&docid=69865864&x=2447',
		'title': '',
		'imageId': '69865864',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006326&docid=69865867&x=2447',
		'title': '',
		'imageId': '69865867',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006326&docid=69865875&x=2447',
		'title': '',
		'imageId': '69865875',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006326&docid=69865889&x=2447',
		'title': '',
		'imageId': '69865889',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006326&docid=69865930&x=2447',
		'title': '',
		'imageId': '69865930',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4006326';

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