var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4008788&docid=69929896&x=1656',
		'title': '',
		'imageId': '69929896',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008788&docid=69929895&x=1656',
		'title': '',
		'imageId': '69929895',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008788&docid=69929897&x=1656',
		'title': '',
		'imageId': '69929897',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008788&docid=69929898&x=1656',
		'title': '',
		'imageId': '69929898',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008788&docid=69929899&x=1656',
		'title': '',
		'imageId': '69929899',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008788&docid=69929904&x=1656',
		'title': '',
		'imageId': '69929904',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008788&docid=69929902&x=1656',
		'title': '',
		'imageId': '69929902',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008788&docid=69929903&x=1656',
		'title': '',
		'imageId': '69929903',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008788&docid=69929905&x=1656',
		'title': '',
		'imageId': '69929905',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008788&docid=69929901&x=1656',
		'title': '',
		'imageId': '69929901',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008788&docid=69929900&x=1656',
		'title': '',
		'imageId': '69929900',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4008788';

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