var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4076273&docid=71615766&x=759',
		'title': '',
		'imageId': '71615766',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076273&docid=71615767&x=759',
		'title': '',
		'imageId': '71615767',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076273&docid=71615768&x=759',
		'title': '',
		'imageId': '71615768',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076273&docid=71615769&x=759',
		'title': '',
		'imageId': '71615769',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076273&docid=71615770&x=759',
		'title': '',
		'imageId': '71615770',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076273&docid=71615771&x=759',
		'title': '',
		'imageId': '71615771',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076273&docid=71615772&x=759',
		'title': '',
		'imageId': '71615772',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076273&docid=71615773&x=759',
		'title': '',
		'imageId': '71615773',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076273&docid=71615765&x=759',
		'title': '',
		'imageId': '71615765',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076273&docid=71615764&x=759',
		'title': '',
		'imageId': '71615764',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076273&docid=71615774&x=759',
		'title': '',
		'imageId': '71615774',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076273&docid=71615775&x=759',
		'title': '',
		'imageId': '71615775',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076273&docid=71615776&x=759',
		'title': '',
		'imageId': '71615776',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076273&docid=71615777&x=759',
		'title': '',
		'imageId': '71615777',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076273&docid=71615778&x=759',
		'title': '',
		'imageId': '71615778',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076273&docid=71615779&x=759',
		'title': '',
		'imageId': '71615779',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076273&docid=71615780&x=759',
		'title': '',
		'imageId': '71615780',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076273&docid=71615781&x=759',
		'title': '',
		'imageId': '71615781',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076273&docid=71615782&x=759',
		'title': '',
		'imageId': '71615782',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076273&docid=71615783&x=759',
		'title': '',
		'imageId': '71615783',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4076273';

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