var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3967847&docid=60231520&x=1340',
		'title': 'AG-26-44',
		'imageId': '60231520',
		'alt' : 'AG-26-44',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967847&docid=60231521&x=1340',
		'title': '',
		'imageId': '60231521',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967847&docid=60231522&x=1340',
		'title': '',
		'imageId': '60231522',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967847&docid=60231523&x=1340',
		'title': '',
		'imageId': '60231523',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967847&docid=60231524&x=1340',
		'title': '',
		'imageId': '60231524',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967847&docid=60231525&x=1340',
		'title': '',
		'imageId': '60231525',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967847&docid=60231526&x=1340',
		'title': '',
		'imageId': '60231526',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967847&docid=60231527&x=1340',
		'title': '',
		'imageId': '60231527',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967847&docid=60231528&x=1340',
		'title': '',
		'imageId': '60231528',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967847&docid=60231529&x=1340',
		'title': '',
		'imageId': '60231529',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967847&docid=60231530&x=1340',
		'title': '',
		'imageId': '60231530',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967847&docid=60231531&x=1340',
		'title': '',
		'imageId': '60231531',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967847&docid=60231533&x=1340',
		'title': '',
		'imageId': '60231533',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967847&docid=60231534&x=1340',
		'title': '',
		'imageId': '60231534',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967847&docid=60231535&x=1340',
		'title': '',
		'imageId': '60231535',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967847&docid=60231536&x=1340',
		'title': '',
		'imageId': '60231536',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967847&docid=60231537&x=1340',
		'title': '',
		'imageId': '60231537',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967847&docid=60231538&x=1340',
		'title': '',
		'imageId': '60231538',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967847&docid=60231539&x=1340',
		'title': '',
		'imageId': '60231539',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967847&docid=60231540&x=1340',
		'title': '',
		'imageId': '60231540',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967847&docid=60231541&x=1340',
		'title': '',
		'imageId': '60231541',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967847&docid=60231542&x=1340',
		'title': '',
		'imageId': '60231542',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3967847';

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