var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4036370&docid=70631458&x=457',
		'title': '',
		'imageId': '70631458',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036370&docid=70631453&x=457',
		'title': '',
		'imageId': '70631453',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036370&docid=70631456&x=457',
		'title': '',
		'imageId': '70631456',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036370&docid=70631457&x=457',
		'title': '',
		'imageId': '70631457',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036370&docid=70631455&x=457',
		'title': '',
		'imageId': '70631455',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036370&docid=70631471&x=457',
		'title': '',
		'imageId': '70631471',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036370&docid=70631473&x=457',
		'title': '',
		'imageId': '70631473',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036370&docid=70631474&x=457',
		'title': '',
		'imageId': '70631474',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036370&docid=70631475&x=457',
		'title': '',
		'imageId': '70631475',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036370&docid=70631472&x=457',
		'title': '',
		'imageId': '70631472',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036370&docid=70631454&x=457',
		'title': '',
		'imageId': '70631454',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4036370';

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