var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4013341&docid=70036183&x=2625',
		'title': '',
		'imageId': '70036183',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013341&docid=70036187&x=2625',
		'title': '',
		'imageId': '70036187',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013341&docid=70036188&x=2625',
		'title': '',
		'imageId': '70036188',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013341&docid=70036190&x=2625',
		'title': '',
		'imageId': '70036190',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013341&docid=70036191&x=2625',
		'title': '',
		'imageId': '70036191',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013341&docid=70036194&x=2625',
		'title': '',
		'imageId': '70036194',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013341&docid=70036195&x=2625',
		'title': '',
		'imageId': '70036195',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013341&docid=70036196&x=2625',
		'title': '',
		'imageId': '70036196',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013341&docid=70036199&x=2625',
		'title': '',
		'imageId': '70036199',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013341&docid=70036200&x=2625',
		'title': '',
		'imageId': '70036200',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013341&docid=70036201&x=2625',
		'title': '',
		'imageId': '70036201',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013341&docid=70036202&x=2625',
		'title': '',
		'imageId': '70036202',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013341&docid=70036204&x=2625',
		'title': '',
		'imageId': '70036204',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013341&docid=70036205&x=2625',
		'title': '',
		'imageId': '70036205',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013341&docid=70036206&x=2625',
		'title': '',
		'imageId': '70036206',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013341&docid=70036207&x=2625',
		'title': '',
		'imageId': '70036207',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4013341';

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