var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3979334&docid=69241132&x=4946',
		'title': '',
		'imageId': '69241132',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979334&docid=69241134&x=4946',
		'title': '',
		'imageId': '69241134',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979334&docid=69241135&x=4946',
		'title': '',
		'imageId': '69241135',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979334&docid=69241136&x=4946',
		'title': '',
		'imageId': '69241136',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979334&docid=69241140&x=4946',
		'title': '',
		'imageId': '69241140',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979334&docid=69241137&x=4946',
		'title': '',
		'imageId': '69241137',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979334&docid=69241138&x=4946',
		'title': '',
		'imageId': '69241138',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979334&docid=69241139&x=4946',
		'title': '',
		'imageId': '69241139',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979334&docid=69241141&x=4946',
		'title': '',
		'imageId': '69241141',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979334&docid=69241142&x=4946',
		'title': '',
		'imageId': '69241142',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979334&docid=69241143&x=4946',
		'title': '',
		'imageId': '69241143',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3979334';

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