var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3974462&docid=69134783&x=3849',
		'title': '',
		'imageId': '69134783',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974462&docid=69134789&x=3849',
		'title': '',
		'imageId': '69134789',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974462&docid=69134790&x=3849',
		'title': '',
		'imageId': '69134790',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974462&docid=69134791&x=3849',
		'title': '',
		'imageId': '69134791',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974462&docid=69134784&x=3849',
		'title': '',
		'imageId': '69134784',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974462&docid=69134792&x=3849',
		'title': '',
		'imageId': '69134792',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974462&docid=69134793&x=3849',
		'title': '',
		'imageId': '69134793',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974462&docid=69134800&x=3849',
		'title': '',
		'imageId': '69134800',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974462&docid=69134807&x=3849',
		'title': '',
		'imageId': '69134807',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974462&docid=69134803&x=3849',
		'title': '',
		'imageId': '69134803',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974462&docid=69134804&x=3849',
		'title': '',
		'imageId': '69134804',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974462&docid=69134814&x=3849',
		'title': '',
		'imageId': '69134814',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974462&docid=69134820&x=3849',
		'title': '',
		'imageId': '69134820',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974462&docid=69134821&x=3849',
		'title': '',
		'imageId': '69134821',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974462&docid=69134782&x=3849',
		'title': '',
		'imageId': '69134782',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974462&docid=69134816&x=3849',
		'title': '',
		'imageId': '69134816',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974462&docid=69134837&x=3849',
		'title': '',
		'imageId': '69134837',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974462&docid=69134823&x=3849',
		'title': '',
		'imageId': '69134823',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974462&docid=69134829&x=3849',
		'title': '',
		'imageId': '69134829',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974462&docid=69134831&x=3849',
		'title': '',
		'imageId': '69134831',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974462&docid=69134836&x=3849',
		'title': '',
		'imageId': '69134836',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974462&docid=69134822&x=3849',
		'title': '',
		'imageId': '69134822',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3974462';

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