var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3951614&docid=68623002&x=1651',
		'title': '',
		'imageId': '68623002',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951614&docid=68623000&x=1651',
		'title': '',
		'imageId': '68623000',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951614&docid=68623032&x=1651',
		'title': '',
		'imageId': '68623032',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951614&docid=68623001&x=1651',
		'title': '',
		'imageId': '68623001',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951614&docid=68623157&x=1651',
		'title': '',
		'imageId': '68623157',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951614&docid=68840554&x=1651',
		'title': '',
		'imageId': '68840554',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951614&docid=68840525&x=1651',
		'title': '',
		'imageId': '68840525',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951614&docid=68623013&x=1651',
		'title': '',
		'imageId': '68623013',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951614&docid=68623012&x=1651',
		'title': '',
		'imageId': '68623012',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951614&docid=68623009&x=1651',
		'title': '',
		'imageId': '68623009',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951614&docid=68623155&x=1651',
		'title': '',
		'imageId': '68623155',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951614&docid=68623158&x=1651',
		'title': '',
		'imageId': '68623158',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951614&docid=68623156&x=1651',
		'title': '',
		'imageId': '68623156',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951614&docid=68840524&x=1651',
		'title': '',
		'imageId': '68840524',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951614&docid=68840527&x=1651',
		'title': '',
		'imageId': '68840527',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951614&docid=68623010&x=1651',
		'title': '',
		'imageId': '68623010',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951614&docid=68840528&x=1651',
		'title': '',
		'imageId': '68840528',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951614&docid=68840526&x=1651',
		'title': '',
		'imageId': '68840526',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951614&docid=68840529&x=1651',
		'title': '',
		'imageId': '68840529',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951614&docid=68911891&x=1651',
		'title': '',
		'imageId': '68911891',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951614&docid=68911900&x=1651',
		'title': '',
		'imageId': '68911900',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951614&docid=68911901&x=1651',
		'title': '',
		'imageId': '68911901',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3951614';

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