var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3973024&docid=69096488&x=3328',
		'title': '',
		'imageId': '69096488',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973024&docid=69096482&x=3328',
		'title': '',
		'imageId': '69096482',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973024&docid=69096483&x=3328',
		'title': '',
		'imageId': '69096483',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973024&docid=69096481&x=3328',
		'title': '',
		'imageId': '69096481',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973024&docid=69096484&x=3328',
		'title': '',
		'imageId': '69096484',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973024&docid=69096492&x=3328',
		'title': '',
		'imageId': '69096492',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973024&docid=69096486&x=3328',
		'title': '',
		'imageId': '69096486',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973024&docid=69096487&x=3328',
		'title': '',
		'imageId': '69096487',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973024&docid=69096485&x=3328',
		'title': '',
		'imageId': '69096485',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973024&docid=69096490&x=3328',
		'title': '',
		'imageId': '69096490',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973024&docid=69096491&x=3328',
		'title': '',
		'imageId': '69096491',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3973024';

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