var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4016658&docid=70137704&x=2812',
		'title': '',
		'imageId': '70137704',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016658&docid=70137720&x=2812',
		'title': '',
		'imageId': '70137720',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016658&docid=70137714&x=2812',
		'title': '',
		'imageId': '70137714',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016658&docid=70137718&x=2812',
		'title': '',
		'imageId': '70137718',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016658&docid=70137705&x=2812',
		'title': '',
		'imageId': '70137705',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016658&docid=70137717&x=2812',
		'title': '',
		'imageId': '70137717',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016658&docid=70137712&x=2812',
		'title': '',
		'imageId': '70137712',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016658&docid=70137708&x=2812',
		'title': '',
		'imageId': '70137708',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016658&docid=70137706&x=2812',
		'title': '',
		'imageId': '70137706',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016658&docid=70137723&x=2812',
		'title': '',
		'imageId': '70137723',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016658&docid=70137724&x=2812',
		'title': '',
		'imageId': '70137724',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016658&docid=70137713&x=2812',
		'title': '',
		'imageId': '70137713',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016658&docid=70137719&x=2812',
		'title': '',
		'imageId': '70137719',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016658&docid=70137715&x=2812',
		'title': '',
		'imageId': '70137715',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016658&docid=70137721&x=2812',
		'title': '',
		'imageId': '70137721',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016658&docid=70137707&x=2812',
		'title': '',
		'imageId': '70137707',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016658&docid=70137710&x=2812',
		'title': '',
		'imageId': '70137710',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016658&docid=70137703&x=2812',
		'title': '',
		'imageId': '70137703',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016658&docid=70137711&x=2812',
		'title': '',
		'imageId': '70137711',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016658&docid=70137722&x=2812',
		'title': '',
		'imageId': '70137722',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016658&docid=70137709&x=2812',
		'title': '',
		'imageId': '70137709',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016658&docid=70137716&x=2812',
		'title': '',
		'imageId': '70137716',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4016658';

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