var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3979648&docid=69251604&x=295',
		'title': '',
		'imageId': '69251604',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979648&docid=69251608&x=295',
		'title': '',
		'imageId': '69251608',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979648&docid=69251610&x=295',
		'title': '',
		'imageId': '69251610',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979648&docid=69251612&x=295',
		'title': '',
		'imageId': '69251612',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979648&docid=69251607&x=295',
		'title': '',
		'imageId': '69251607',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979648&docid=69251605&x=295',
		'title': '',
		'imageId': '69251605',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979648&docid=69251609&x=295',
		'title': '',
		'imageId': '69251609',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979648&docid=69251603&x=295',
		'title': '',
		'imageId': '69251603',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979648&docid=69251606&x=295',
		'title': '',
		'imageId': '69251606',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979648&docid=69251602&x=295',
		'title': '',
		'imageId': '69251602',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979648&docid=69251611&x=295',
		'title': '',
		'imageId': '69251611',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3979648';

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