var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4019709&docid=70222759&x=3325',
		'title': '',
		'imageId': '70222759',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019709&docid=70222761&x=3325',
		'title': '',
		'imageId': '70222761',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019709&docid=70222762&x=3325',
		'title': '',
		'imageId': '70222762',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019709&docid=70222763&x=3325',
		'title': '',
		'imageId': '70222763',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019709&docid=70222764&x=3325',
		'title': '',
		'imageId': '70222764',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019709&docid=70222765&x=3325',
		'title': '',
		'imageId': '70222765',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019709&docid=70222766&x=3325',
		'title': '',
		'imageId': '70222766',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019709&docid=70222767&x=3325',
		'title': '',
		'imageId': '70222767',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019709&docid=70222768&x=3325',
		'title': '',
		'imageId': '70222768',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019709&docid=70222769&x=3325',
		'title': '',
		'imageId': '70222769',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019709&docid=70222770&x=3325',
		'title': '',
		'imageId': '70222770',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019709&docid=70222771&x=3325',
		'title': '',
		'imageId': '70222771',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019709&docid=70222772&x=3325',
		'title': '',
		'imageId': '70222772',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019709&docid=70222773&x=3325',
		'title': '',
		'imageId': '70222773',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019709&docid=70222774&x=3325',
		'title': '',
		'imageId': '70222774',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019709&docid=70222775&x=3325',
		'title': '',
		'imageId': '70222775',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019709&docid=70222776&x=3325',
		'title': '',
		'imageId': '70222776',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4019709';

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