var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4012836&docid=70024865&x=2859',
		'title': '',
		'imageId': '70024865',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012836&docid=70024866&x=2859',
		'title': '',
		'imageId': '70024866',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012836&docid=70024864&x=2859',
		'title': '',
		'imageId': '70024864',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012836&docid=70024977&x=2859',
		'title': '',
		'imageId': '70024977',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012836&docid=70024863&x=2859',
		'title': '',
		'imageId': '70024863',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012836&docid=64864238&x=2859',
		'title': '',
		'imageId': '64864238',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012836&docid=64864244&x=2859',
		'title': '',
		'imageId': '64864244',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012836&docid=70024816&x=2859',
		'title': '',
		'imageId': '70024816',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012836&docid=64864239&x=2859',
		'title': '',
		'imageId': '64864239',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012836&docid=64864250&x=2859',
		'title': '',
		'imageId': '64864250',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012836&docid=64864245&x=2859',
		'title': '',
		'imageId': '64864245',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012836&docid=64864249&x=2859',
		'title': '',
		'imageId': '64864249',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4012836';

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