var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4004402&docid=70069174&x=1022',
		'title': '',
		'imageId': '70069174',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004402&docid=70069176&x=1022',
		'title': '',
		'imageId': '70069176',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004402&docid=70069184&x=1022',
		'title': '',
		'imageId': '70069184',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004402&docid=70069187&x=1022',
		'title': '',
		'imageId': '70069187',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004402&docid=70069180&x=1022',
		'title': '',
		'imageId': '70069180',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004402&docid=70069171&x=1022',
		'title': '',
		'imageId': '70069171',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004402&docid=70069182&x=1022',
		'title': '',
		'imageId': '70069182',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004402&docid=70069190&x=1022',
		'title': '',
		'imageId': '70069190',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004402&docid=70069185&x=1022',
		'title': '',
		'imageId': '70069185',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004402&docid=70069188&x=1022',
		'title': '',
		'imageId': '70069188',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004402&docid=70069186&x=1022',
		'title': '',
		'imageId': '70069186',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004402&docid=70069179&x=1022',
		'title': '',
		'imageId': '70069179',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004402&docid=70069189&x=1022',
		'title': '',
		'imageId': '70069189',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004402&docid=70069183&x=1022',
		'title': '',
		'imageId': '70069183',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004402&docid=70069173&x=1022',
		'title': '',
		'imageId': '70069173',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004402&docid=70069172&x=1022',
		'title': '',
		'imageId': '70069172',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004402&docid=70069175&x=1022',
		'title': '',
		'imageId': '70069175',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004402&docid=70069181&x=1022',
		'title': '',
		'imageId': '70069181',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004402&docid=70069178&x=1022',
		'title': '',
		'imageId': '70069178',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004402&docid=70069177&x=1022',
		'title': '',
		'imageId': '70069177',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4004402';

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