var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3973965&docid=69122080&x=5055',
		'title': '',
		'imageId': '69122080',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973965&docid=69122078&x=5055',
		'title': '',
		'imageId': '69122078',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973965&docid=69122076&x=5055',
		'title': '',
		'imageId': '69122076',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973965&docid=69122074&x=5055',
		'title': '',
		'imageId': '69122074',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973965&docid=69122082&x=5055',
		'title': '',
		'imageId': '69122082',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973965&docid=69122079&x=5055',
		'title': '',
		'imageId': '69122079',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973965&docid=69122084&x=5055',
		'title': '',
		'imageId': '69122084',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973965&docid=69122085&x=5055',
		'title': '',
		'imageId': '69122085',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973965&docid=69122083&x=5055',
		'title': '',
		'imageId': '69122083',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973965&docid=69122073&x=5055',
		'title': '',
		'imageId': '69122073',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973965&docid=69122077&x=5055',
		'title': '',
		'imageId': '69122077',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3973965';

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