var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3998191&docid=69661877&x=4438',
		'title': '',
		'imageId': '69661877',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998191&docid=69661878&x=4438',
		'title': '',
		'imageId': '69661878',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998191&docid=69661879&x=4438',
		'title': '',
		'imageId': '69661879',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998191&docid=69661880&x=4438',
		'title': '',
		'imageId': '69661880',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998191&docid=69661881&x=4438',
		'title': '',
		'imageId': '69661881',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998191&docid=69661882&x=4438',
		'title': '',
		'imageId': '69661882',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998191&docid=69661883&x=4438',
		'title': '',
		'imageId': '69661883',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998191&docid=69661884&x=4438',
		'title': '',
		'imageId': '69661884',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998191&docid=69661885&x=4438',
		'title': '',
		'imageId': '69661885',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998191&docid=69661886&x=4438',
		'title': '',
		'imageId': '69661886',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3998191';

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