var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4028040&docid=70584409&x=3826',
		'title': '',
		'imageId': '70584409',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028040&docid=70584416&x=3826',
		'title': '',
		'imageId': '70584416',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028040&docid=70584419&x=3826',
		'title': '',
		'imageId': '70584419',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028040&docid=70584423&x=3826',
		'title': '',
		'imageId': '70584423',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028040&docid=70584424&x=3826',
		'title': '',
		'imageId': '70584424',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028040&docid=70584413&x=3826',
		'title': '',
		'imageId': '70584413',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028040&docid=70584412&x=3826',
		'title': '',
		'imageId': '70584412',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028040&docid=70584408&x=3826',
		'title': '',
		'imageId': '70584408',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028040&docid=70584421&x=3826',
		'title': '',
		'imageId': '70584421',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028040&docid=70584415&x=3826',
		'title': '',
		'imageId': '70584415',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028040&docid=70584418&x=3826',
		'title': '',
		'imageId': '70584418',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028040&docid=70584414&x=3826',
		'title': '',
		'imageId': '70584414',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028040&docid=70584410&x=3826',
		'title': '',
		'imageId': '70584410',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028040&docid=70584417&x=3826',
		'title': '',
		'imageId': '70584417',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028040&docid=70584422&x=3826',
		'title': '',
		'imageId': '70584422',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028040&docid=70584420&x=3826',
		'title': '',
		'imageId': '70584420',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028040&docid=70584411&x=3826',
		'title': '',
		'imageId': '70584411',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028040&docid=59270515&x=3826',
		'title': ' ',
		'imageId': '59270515',
		'alt' : ' ',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028040&docid=59270516&x=3826',
		'title': '',
		'imageId': '59270516',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4028040';

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