var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3985358&docid=69390601&x=741',
		'title': '',
		'imageId': '69390601',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985358&docid=69390610&x=741',
		'title': '',
		'imageId': '69390610',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985358&docid=69390611&x=741',
		'title': '',
		'imageId': '69390611',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985358&docid=69390603&x=741',
		'title': '',
		'imageId': '69390603',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985358&docid=69390600&x=741',
		'title': '',
		'imageId': '69390600',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985358&docid=69390605&x=741',
		'title': '',
		'imageId': '69390605',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985358&docid=69390604&x=741',
		'title': '',
		'imageId': '69390604',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985358&docid=69390602&x=741',
		'title': '',
		'imageId': '69390602',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985358&docid=69390607&x=741',
		'title': '',
		'imageId': '69390607',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985358&docid=69390608&x=741',
		'title': '',
		'imageId': '69390608',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985358&docid=69390609&x=741',
		'title': '',
		'imageId': '69390609',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985358&docid=69390606&x=741',
		'title': '',
		'imageId': '69390606',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3985358';

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