var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3934744&docid=67890467&x=53',
		'title': '',
		'imageId': '67890467',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934744&docid=67890468&x=53',
		'title': '',
		'imageId': '67890468',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934744&docid=67890471&x=53',
		'title': '',
		'imageId': '67890471',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934744&docid=67890476&x=53',
		'title': '',
		'imageId': '67890476',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934744&docid=67890479&x=53',
		'title': '',
		'imageId': '67890479',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934744&docid=67890480&x=53',
		'title': '',
		'imageId': '67890480',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934744&docid=67890485&x=53',
		'title': '',
		'imageId': '67890485',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934744&docid=67890488&x=53',
		'title': '',
		'imageId': '67890488',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934744&docid=67890490&x=53',
		'title': '',
		'imageId': '67890490',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934744&docid=67890509&x=53',
		'title': '',
		'imageId': '67890509',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934744&docid=67890510&x=53',
		'title': '',
		'imageId': '67890510',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934744&docid=67890515&x=53',
		'title': '',
		'imageId': '67890515',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934744&docid=67890521&x=53',
		'title': '',
		'imageId': '67890521',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934744&docid=67890524&x=53',
		'title': '',
		'imageId': '67890524',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934744&docid=67890525&x=53',
		'title': '',
		'imageId': '67890525',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934744&docid=67890531&x=53',
		'title': '',
		'imageId': '67890531',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934744&docid=67890534&x=53',
		'title': '',
		'imageId': '67890534',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934744&docid=67890537&x=53',
		'title': '',
		'imageId': '67890537',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934744&docid=67890540&x=53',
		'title': '',
		'imageId': '67890540',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934744&docid=67890541&x=53',
		'title': '',
		'imageId': '67890541',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934744&docid=67890548&x=53',
		'title': '',
		'imageId': '67890548',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934744&docid=67890551&x=53',
		'title': '',
		'imageId': '67890551',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934744&docid=67890554&x=53',
		'title': '',
		'imageId': '67890554',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934744&docid=67890555&x=53',
		'title': '',
		'imageId': '67890555',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3934744';

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