var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3974476&docid=68867616&x=4219',
		'title': '',
		'imageId': '68867616',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974476&docid=68867611&x=4219',
		'title': '',
		'imageId': '68867611',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974476&docid=68867609&x=4219',
		'title': '',
		'imageId': '68867609',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974476&docid=68867617&x=4219',
		'title': '',
		'imageId': '68867617',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974476&docid=68867612&x=4219',
		'title': '',
		'imageId': '68867612',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974476&docid=68867608&x=4219',
		'title': '',
		'imageId': '68867608',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974476&docid=68867615&x=4219',
		'title': '',
		'imageId': '68867615',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974476&docid=68867606&x=4219',
		'title': '',
		'imageId': '68867606',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974476&docid=68867614&x=4219',
		'title': '',
		'imageId': '68867614',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974476&docid=68867613&x=4219',
		'title': '',
		'imageId': '68867613',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974476&docid=68867610&x=4219',
		'title': '',
		'imageId': '68867610',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974476&docid=68867607&x=4219',
		'title': '',
		'imageId': '68867607',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3974476';

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