var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4016565&docid=70134756&x=2936',
		'title': '',
		'imageId': '70134756',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016565&docid=70134755&x=2936',
		'title': '',
		'imageId': '70134755',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016565&docid=70134754&x=2936',
		'title': '',
		'imageId': '70134754',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016565&docid=70134757&x=2936',
		'title': '',
		'imageId': '70134757',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016565&docid=70134777&x=2936',
		'title': '',
		'imageId': '70134777',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016565&docid=70134775&x=2936',
		'title': '',
		'imageId': '70134775',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016565&docid=70134771&x=2936',
		'title': '',
		'imageId': '70134771',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016565&docid=70134773&x=2936',
		'title': '',
		'imageId': '70134773',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016565&docid=70134776&x=2936',
		'title': '',
		'imageId': '70134776',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016565&docid=70134786&x=2936',
		'title': '',
		'imageId': '70134786',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016565&docid=70134770&x=2936',
		'title': '',
		'imageId': '70134770',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016565&docid=70134768&x=2936',
		'title': '',
		'imageId': '70134768',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016565&docid=70134753&x=2936',
		'title': '',
		'imageId': '70134753',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016565&docid=70134787&x=2936',
		'title': '',
		'imageId': '70134787',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016565&docid=70134793&x=2936',
		'title': '',
		'imageId': '70134793',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016565&docid=70134792&x=2936',
		'title': '',
		'imageId': '70134792',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016565&docid=70134778&x=2936',
		'title': '',
		'imageId': '70134778',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016565&docid=70134784&x=2936',
		'title': '',
		'imageId': '70134784',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016565&docid=70134797&x=2936',
		'title': '',
		'imageId': '70134797',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016565&docid=70134780&x=2936',
		'title': '',
		'imageId': '70134780',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016565&docid=70134769&x=2936',
		'title': '',
		'imageId': '70134769',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016565&docid=70134781&x=2936',
		'title': '',
		'imageId': '70134781',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016565&docid=70134790&x=2936',
		'title': '',
		'imageId': '70134790',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016565&docid=70134779&x=2936',
		'title': '',
		'imageId': '70134779',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016565&docid=70134789&x=2936',
		'title': '',
		'imageId': '70134789',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016565&docid=70134794&x=2936',
		'title': '',
		'imageId': '70134794',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016565&docid=70134796&x=2936',
		'title': '',
		'imageId': '70134796',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016565&docid=70134791&x=2936',
		'title': '',
		'imageId': '70134791',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016565&docid=70134782&x=2936',
		'title': '',
		'imageId': '70134782',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016565&docid=70134772&x=2936',
		'title': '',
		'imageId': '70134772',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016565&docid=70134783&x=2936',
		'title': '',
		'imageId': '70134783',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016565&docid=70134774&x=2936',
		'title': '',
		'imageId': '70134774',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016565&docid=70134785&x=2936',
		'title': '',
		'imageId': '70134785',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016565&docid=70134795&x=2936',
		'title': '',
		'imageId': '70134795',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016565&docid=70134788&x=2936',
		'title': '',
		'imageId': '70134788',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4016565';

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