var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4017515&docid=70173191&x=1426',
		'title': '',
		'imageId': '70173191',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017515&docid=70173192&x=1426',
		'title': '',
		'imageId': '70173192',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017515&docid=70173194&x=1426',
		'title': '',
		'imageId': '70173194',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017515&docid=70173195&x=1426',
		'title': '',
		'imageId': '70173195',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017515&docid=70173193&x=1426',
		'title': '',
		'imageId': '70173193',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017515&docid=70173225&x=1426',
		'title': '',
		'imageId': '70173225',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017515&docid=70173223&x=1426',
		'title': '',
		'imageId': '70173223',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017515&docid=70173222&x=1426',
		'title': '',
		'imageId': '70173222',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017515&docid=70173227&x=1426',
		'title': '',
		'imageId': '70173227',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017515&docid=70173224&x=1426',
		'title': '',
		'imageId': '70173224',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017515&docid=70173226&x=1426',
		'title': '',
		'imageId': '70173226',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4017515';

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