var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4015217&docid=68570018&x=5543',
		'title': '',
		'imageId': '68570018',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015217&docid=68570013&x=5543',
		'title': '',
		'imageId': '68570013',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015217&docid=68570012&x=5543',
		'title': '',
		'imageId': '68570012',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015217&docid=68570019&x=5543',
		'title': '',
		'imageId': '68570019',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015217&docid=68570011&x=5543',
		'title': '',
		'imageId': '68570011',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015217&docid=68570001&x=5543',
		'title': '',
		'imageId': '68570001',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015217&docid=68570010&x=5543',
		'title': '',
		'imageId': '68570010',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015217&docid=68570005&x=5543',
		'title': '',
		'imageId': '68570005',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015217&docid=68569999&x=5543',
		'title': '',
		'imageId': '68569999',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015217&docid=68570002&x=5543',
		'title': '',
		'imageId': '68570002',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015217&docid=68570009&x=5543',
		'title': '',
		'imageId': '68570009',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015217&docid=68570006&x=5543',
		'title': '',
		'imageId': '68570006',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015217&docid=68570020&x=5543',
		'title': '',
		'imageId': '68570020',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015217&docid=68570003&x=5543',
		'title': '',
		'imageId': '68570003',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015217&docid=68570000&x=5543',
		'title': '',
		'imageId': '68570000',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015217&docid=68570004&x=5543',
		'title': '',
		'imageId': '68570004',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015217&docid=68570007&x=5543',
		'title': '',
		'imageId': '68570007',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015217&docid=68570008&x=5543',
		'title': '',
		'imageId': '68570008',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015217&docid=68570017&x=5543',
		'title': '',
		'imageId': '68570017',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015217&docid=68570016&x=5543',
		'title': '',
		'imageId': '68570016',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015217&docid=68570015&x=5543',
		'title': '',
		'imageId': '68570015',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015217&docid=68570014&x=5543',
		'title': '',
		'imageId': '68570014',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4015217';

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