var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3974427&docid=69134067&x=3849',
		'title': '',
		'imageId': '69134067',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974427&docid=69134064&x=3849',
		'title': '',
		'imageId': '69134064',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974427&docid=69134071&x=3849',
		'title': '',
		'imageId': '69134071',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974427&docid=69134073&x=3849',
		'title': '',
		'imageId': '69134073',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974427&docid=69134066&x=3849',
		'title': '',
		'imageId': '69134066',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974427&docid=69134069&x=3849',
		'title': '',
		'imageId': '69134069',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974427&docid=69134063&x=3849',
		'title': '',
		'imageId': '69134063',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974427&docid=69134068&x=3849',
		'title': '',
		'imageId': '69134068',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974427&docid=69134074&x=3849',
		'title': '',
		'imageId': '69134074',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974427&docid=69134072&x=3849',
		'title': '',
		'imageId': '69134072',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974427&docid=69134065&x=3849',
		'title': '',
		'imageId': '69134065',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974427&docid=69134070&x=3849',
		'title': '',
		'imageId': '69134070',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3974427';

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