var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3909348&docid=67625834&x=5728',
		'title': '',
		'imageId': '67625834',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909348&docid=67625852&x=5728',
		'title': '',
		'imageId': '67625852',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909348&docid=67625835&x=5728',
		'title': '',
		'imageId': '67625835',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909348&docid=67625845&x=5728',
		'title': '',
		'imageId': '67625845',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909348&docid=67625846&x=5728',
		'title': '',
		'imageId': '67625846',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909348&docid=67625844&x=5728',
		'title': '',
		'imageId': '67625844',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909348&docid=67625841&x=5728',
		'title': '',
		'imageId': '67625841',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909348&docid=67625851&x=5728',
		'title': '',
		'imageId': '67625851',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909348&docid=67625849&x=5728',
		'title': '',
		'imageId': '67625849',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909348&docid=67625848&x=5728',
		'title': '',
		'imageId': '67625848',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909348&docid=67625847&x=5728',
		'title': '',
		'imageId': '67625847',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909348&docid=67625853&x=5728',
		'title': '',
		'imageId': '67625853',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909348&docid=67625837&x=5728',
		'title': '',
		'imageId': '67625837',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909348&docid=67625850&x=5728',
		'title': '',
		'imageId': '67625850',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909348&docid=67625838&x=5728',
		'title': '',
		'imageId': '67625838',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909348&docid=67625836&x=5728',
		'title': '',
		'imageId': '67625836',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909348&docid=67625842&x=5728',
		'title': '',
		'imageId': '67625842',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909348&docid=67625843&x=5728',
		'title': '',
		'imageId': '67625843',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909348&docid=67625840&x=5728',
		'title': '',
		'imageId': '67625840',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909348&docid=67625839&x=5728',
		'title': '',
		'imageId': '67625839',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3909348';

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