var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3916856&docid=68030600&x=222',
		'title': '',
		'imageId': '68030600',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916856&docid=68030615&x=222',
		'title': '',
		'imageId': '68030615',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916856&docid=68030617&x=222',
		'title': '',
		'imageId': '68030617',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916856&docid=68030609&x=222',
		'title': '',
		'imageId': '68030609',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916856&docid=68030618&x=222',
		'title': '',
		'imageId': '68030618',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916856&docid=68030608&x=222',
		'title': '',
		'imageId': '68030608',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916856&docid=68030604&x=222',
		'title': '',
		'imageId': '68030604',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916856&docid=68030616&x=222',
		'title': '',
		'imageId': '68030616',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916856&docid=68030612&x=222',
		'title': '',
		'imageId': '68030612',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916856&docid=68030614&x=222',
		'title': '',
		'imageId': '68030614',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916856&docid=68030610&x=222',
		'title': '',
		'imageId': '68030610',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916856&docid=68030603&x=222',
		'title': '',
		'imageId': '68030603',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916856&docid=68030605&x=222',
		'title': '',
		'imageId': '68030605',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916856&docid=68030611&x=222',
		'title': '',
		'imageId': '68030611',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916856&docid=68030613&x=222',
		'title': '',
		'imageId': '68030613',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916856&docid=68030601&x=222',
		'title': '',
		'imageId': '68030601',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916856&docid=68030602&x=222',
		'title': '',
		'imageId': '68030602',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916856&docid=68030607&x=222',
		'title': '',
		'imageId': '68030607',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916856&docid=68030606&x=222',
		'title': '',
		'imageId': '68030606',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916856&docid=68030909&x=222',
		'title': '',
		'imageId': '68030909',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3916856';

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