var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3949166&docid=68566314&x=5921',
		'title': '',
		'imageId': '68566314',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949166&docid=68566308&x=5921',
		'title': '',
		'imageId': '68566308',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949166&docid=68566309&x=5921',
		'title': '',
		'imageId': '68566309',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949166&docid=68566315&x=5921',
		'title': '',
		'imageId': '68566315',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949166&docid=68566318&x=5921',
		'title': '',
		'imageId': '68566318',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949166&docid=68566319&x=5921',
		'title': '',
		'imageId': '68566319',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949166&docid=68566325&x=5921',
		'title': '',
		'imageId': '68566325',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949166&docid=68566313&x=5921',
		'title': '',
		'imageId': '68566313',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949166&docid=68566321&x=5921',
		'title': '',
		'imageId': '68566321',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949166&docid=68566328&x=5921',
		'title': '',
		'imageId': '68566328',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949166&docid=68566324&x=5921',
		'title': '',
		'imageId': '68566324',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949166&docid=68566329&x=5921',
		'title': '',
		'imageId': '68566329',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949166&docid=68566323&x=5921',
		'title': '',
		'imageId': '68566323',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949166&docid=68566326&x=5921',
		'title': '',
		'imageId': '68566326',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949166&docid=68566317&x=5921',
		'title': '',
		'imageId': '68566317',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949166&docid=68566310&x=5921',
		'title': '',
		'imageId': '68566310',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949166&docid=68566320&x=5921',
		'title': '',
		'imageId': '68566320',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949166&docid=68566316&x=5921',
		'title': '',
		'imageId': '68566316',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949166&docid=68566327&x=5921',
		'title': '',
		'imageId': '68566327',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949166&docid=68566312&x=5921',
		'title': '',
		'imageId': '68566312',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3949166';

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