var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3819378&docid=65377012&x=3733',
		'title': '',
		'imageId': '65377012',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3819378&docid=65377001&x=3733',
		'title': '',
		'imageId': '65377001',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3819378&docid=70105206&x=3733',
		'title': '',
		'imageId': '70105206',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3819378&docid=70105615&x=3733',
		'title': '',
		'imageId': '70105615',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3819378&docid=70105209&x=3733',
		'title': '',
		'imageId': '70105209',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3819378&docid=70105212&x=3733',
		'title': '',
		'imageId': '70105212',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3819378&docid=65377013&x=3733',
		'title': '',
		'imageId': '65377013',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3819378&docid=65377024&x=3733',
		'title': '',
		'imageId': '65377024',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3819378&docid=65377035&x=3733',
		'title': '',
		'imageId': '65377035',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3819378&docid=70105215&x=3733',
		'title': '',
		'imageId': '70105215',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3819378&docid=70105218&x=3733',
		'title': '',
		'imageId': '70105218',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3819378';

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