var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4017323&docid=70340664&x=1259',
		'title': '',
		'imageId': '70340664',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017323&docid=70340659&x=1259',
		'title': '',
		'imageId': '70340659',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017323&docid=70340657&x=1259',
		'title': '',
		'imageId': '70340657',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017323&docid=70340645&x=1259',
		'title': '',
		'imageId': '70340645',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017323&docid=70340660&x=1259',
		'title': '',
		'imageId': '70340660',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017323&docid=70340651&x=1259',
		'title': '',
		'imageId': '70340651',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017323&docid=70340653&x=1259',
		'title': '',
		'imageId': '70340653',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017323&docid=70340649&x=1259',
		'title': '',
		'imageId': '70340649',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017323&docid=70340652&x=1259',
		'title': '',
		'imageId': '70340652',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017323&docid=70340656&x=1259',
		'title': '',
		'imageId': '70340656',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017323&docid=70340654&x=1259',
		'title': '',
		'imageId': '70340654',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017323&docid=70340663&x=1259',
		'title': '',
		'imageId': '70340663',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017323&docid=70340646&x=1259',
		'title': '',
		'imageId': '70340646',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017323&docid=70340647&x=1259',
		'title': '',
		'imageId': '70340647',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017323&docid=70340658&x=1259',
		'title': '',
		'imageId': '70340658',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017323&docid=70340666&x=1259',
		'title': '',
		'imageId': '70340666',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017323&docid=70340648&x=1259',
		'title': '',
		'imageId': '70340648',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017323&docid=70340665&x=1259',
		'title': '',
		'imageId': '70340665',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017323&docid=70340655&x=1259',
		'title': '',
		'imageId': '70340655',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017323&docid=70340662&x=1259',
		'title': '',
		'imageId': '70340662',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4017323';

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