var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3922494&docid=67961792&x=2911',
		'title': '',
		'imageId': '67961792',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922494&docid=67961782&x=2911',
		'title': '',
		'imageId': '67961782',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922494&docid=67961784&x=2911',
		'title': '',
		'imageId': '67961784',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922494&docid=67961793&x=2911',
		'title': '',
		'imageId': '67961793',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922494&docid=67961791&x=2911',
		'title': '',
		'imageId': '67961791',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922494&docid=67961797&x=2911',
		'title': '',
		'imageId': '67961797',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922494&docid=67961788&x=2911',
		'title': '',
		'imageId': '67961788',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922494&docid=67961787&x=2911',
		'title': '',
		'imageId': '67961787',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922494&docid=67961794&x=2911',
		'title': '',
		'imageId': '67961794',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922494&docid=67961789&x=2911',
		'title': '',
		'imageId': '67961789',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922494&docid=67961785&x=2911',
		'title': '',
		'imageId': '67961785',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922494&docid=67961803&x=2911',
		'title': '',
		'imageId': '67961803',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922494&docid=67961802&x=2911',
		'title': '',
		'imageId': '67961802',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922494&docid=67961804&x=2911',
		'title': '',
		'imageId': '67961804',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922494&docid=67961796&x=2911',
		'title': '',
		'imageId': '67961796',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922494&docid=67961801&x=2911',
		'title': '',
		'imageId': '67961801',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922494&docid=67961795&x=2911',
		'title': '',
		'imageId': '67961795',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922494&docid=67961800&x=2911',
		'title': '',
		'imageId': '67961800',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922494&docid=67961805&x=2911',
		'title': '',
		'imageId': '67961805',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3922494';

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