var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4016251&docid=70123629&x=2710',
		'title': '',
		'imageId': '70123629',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016251&docid=70123637&x=2710',
		'title': '',
		'imageId': '70123637',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016251&docid=70123644&x=2710',
		'title': '',
		'imageId': '70123644',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016251&docid=70123640&x=2710',
		'title': '',
		'imageId': '70123640',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016251&docid=70123630&x=2710',
		'title': '',
		'imageId': '70123630',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016251&docid=70123638&x=2710',
		'title': '',
		'imageId': '70123638',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016251&docid=70123643&x=2710',
		'title': '',
		'imageId': '70123643',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016251&docid=70123636&x=2710',
		'title': '',
		'imageId': '70123636',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016251&docid=70123639&x=2710',
		'title': '',
		'imageId': '70123639',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016251&docid=70123634&x=2710',
		'title': '',
		'imageId': '70123634',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016251&docid=70123635&x=2710',
		'title': '',
		'imageId': '70123635',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016251&docid=70123631&x=2710',
		'title': '',
		'imageId': '70123631',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016251&docid=70123642&x=2710',
		'title': '',
		'imageId': '70123642',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016251&docid=70123641&x=2710',
		'title': '',
		'imageId': '70123641',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016251&docid=70123632&x=2710',
		'title': '',
		'imageId': '70123632',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016251&docid=70123633&x=2710',
		'title': '',
		'imageId': '70123633',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4016251';

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