var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4028370&docid=70409359&x=4950',
		'title': '',
		'imageId': '70409359',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028370&docid=70409358&x=4950',
		'title': '',
		'imageId': '70409358',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028370&docid=70409357&x=4950',
		'title': '',
		'imageId': '70409357',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028370&docid=70409360&x=4950',
		'title': '',
		'imageId': '70409360',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028370&docid=70409364&x=4950',
		'title': '',
		'imageId': '70409364',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028370&docid=70409371&x=4950',
		'title': '',
		'imageId': '70409371',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028370&docid=70409375&x=4950',
		'title': '',
		'imageId': '70409375',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028370&docid=70409380&x=4950',
		'title': '',
		'imageId': '70409380',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028370&docid=70409381&x=4950',
		'title': '',
		'imageId': '70409381',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028370&docid=70409388&x=4950',
		'title': '',
		'imageId': '70409388',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028370&docid=70409389&x=4950',
		'title': '',
		'imageId': '70409389',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028370&docid=70409390&x=4950',
		'title': '',
		'imageId': '70409390',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028370&docid=70409395&x=4950',
		'title': '',
		'imageId': '70409395',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028370&docid=70409396&x=4950',
		'title': '',
		'imageId': '70409396',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028370&docid=70409401&x=4950',
		'title': '',
		'imageId': '70409401',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028370&docid=70409402&x=4950',
		'title': '',
		'imageId': '70409402',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028370&docid=70409406&x=4950',
		'title': '',
		'imageId': '70409406',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028370&docid=70409409&x=4950',
		'title': '',
		'imageId': '70409409',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028370&docid=70409356&x=4950',
		'title': '',
		'imageId': '70409356',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028370&docid=70409355&x=4950',
		'title': '',
		'imageId': '70409355',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4028370';

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