var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3981865&docid=69301530&x=3444',
		'title': '',
		'imageId': '69301530',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981865&docid=69301553&x=3444',
		'title': '',
		'imageId': '69301553',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981865&docid=69301550&x=3444',
		'title': '',
		'imageId': '69301550',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981865&docid=69301531&x=3444',
		'title': '',
		'imageId': '69301531',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981865&docid=69301532&x=3444',
		'title': '',
		'imageId': '69301532',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981865&docid=69301535&x=3444',
		'title': '',
		'imageId': '69301535',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981865&docid=69301541&x=3444',
		'title': '',
		'imageId': '69301541',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981865&docid=69301540&x=3444',
		'title': '',
		'imageId': '69301540',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981865&docid=69301547&x=3444',
		'title': '',
		'imageId': '69301547',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981865&docid=69301549&x=3444',
		'title': '',
		'imageId': '69301549',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3981865&docid=69301529&x=3444',
		'title': '',
		'imageId': '69301529',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3981865';

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