var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4012930&docid=70026358&x=2126',
		'title': '',
		'imageId': '70026358',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012930&docid=70026360&x=2126',
		'title': '',
		'imageId': '70026360',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012930&docid=70026361&x=2126',
		'title': '',
		'imageId': '70026361',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012930&docid=70026362&x=2126',
		'title': '',
		'imageId': '70026362',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012930&docid=70026363&x=2126',
		'title': '',
		'imageId': '70026363',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012930&docid=70026364&x=2126',
		'title': '',
		'imageId': '70026364',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012930&docid=70026365&x=2126',
		'title': '',
		'imageId': '70026365',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012930&docid=70026366&x=2126',
		'title': '',
		'imageId': '70026366',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012930&docid=70026367&x=2126',
		'title': '',
		'imageId': '70026367',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012930&docid=70026368&x=2126',
		'title': '',
		'imageId': '70026368',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4012930';

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