var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4017138&docid=70160923&x=126',
		'title': '',
		'imageId': '70160923',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017138&docid=70160913&x=126',
		'title': '',
		'imageId': '70160913',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017138&docid=70160922&x=126',
		'title': '',
		'imageId': '70160922',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017138&docid=70160902&x=126',
		'title': '',
		'imageId': '70160902',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017138&docid=70160921&x=126',
		'title': '',
		'imageId': '70160921',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017138&docid=70160903&x=126',
		'title': '',
		'imageId': '70160903',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017138&docid=70160904&x=126',
		'title': '',
		'imageId': '70160904',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017138&docid=70160905&x=126',
		'title': '',
		'imageId': '70160905',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017138&docid=70160906&x=126',
		'title': '',
		'imageId': '70160906',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017138&docid=70160907&x=126',
		'title': '',
		'imageId': '70160907',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017138&docid=70160908&x=126',
		'title': '',
		'imageId': '70160908',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017138&docid=70160909&x=126',
		'title': '',
		'imageId': '70160909',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017138&docid=70160910&x=126',
		'title': '',
		'imageId': '70160910',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017138&docid=70160911&x=126',
		'title': '',
		'imageId': '70160911',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017138&docid=70160912&x=126',
		'title': '',
		'imageId': '70160912',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017138&docid=70160914&x=126',
		'title': '',
		'imageId': '70160914',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017138&docid=70160915&x=126',
		'title': '',
		'imageId': '70160915',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017138&docid=70160916&x=126',
		'title': '',
		'imageId': '70160916',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017138&docid=70160917&x=126',
		'title': '',
		'imageId': '70160917',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017138&docid=70160918&x=126',
		'title': '',
		'imageId': '70160918',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017138&docid=70160919&x=126',
		'title': '',
		'imageId': '70160919',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017138&docid=70160920&x=126',
		'title': '',
		'imageId': '70160920',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4017138';

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