var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3929545&docid=68237441&x=1950',
		'title': '',
		'imageId': '68237441',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929545&docid=68237430&x=1950',
		'title': '',
		'imageId': '68237430',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929545&docid=68237432&x=1950',
		'title': '',
		'imageId': '68237432',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929545&docid=68237448&x=1950',
		'title': '',
		'imageId': '68237448',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929545&docid=68237431&x=1950',
		'title': '',
		'imageId': '68237431',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929545&docid=68237433&x=1950',
		'title': '',
		'imageId': '68237433',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929545&docid=68237443&x=1950',
		'title': '',
		'imageId': '68237443',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929545&docid=68237444&x=1950',
		'title': '',
		'imageId': '68237444',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929545&docid=68237445&x=1950',
		'title': '',
		'imageId': '68237445',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929545&docid=68237438&x=1950',
		'title': '',
		'imageId': '68237438',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929545&docid=68237435&x=1950',
		'title': '',
		'imageId': '68237435',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929545&docid=68237436&x=1950',
		'title': '',
		'imageId': '68237436',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929545&docid=68237439&x=1950',
		'title': '',
		'imageId': '68237439',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929545&docid=68237447&x=1950',
		'title': '',
		'imageId': '68237447',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929545&docid=68237437&x=1950',
		'title': '',
		'imageId': '68237437',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929545&docid=68237449&x=1950',
		'title': '',
		'imageId': '68237449',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929545&docid=68237446&x=1950',
		'title': '',
		'imageId': '68237446',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929545&docid=68237452&x=1950',
		'title': '',
		'imageId': '68237452',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929545&docid=68237451&x=1950',
		'title': '',
		'imageId': '68237451',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929545&docid=68237434&x=1950',
		'title': '',
		'imageId': '68237434',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929545&docid=68237440&x=1950',
		'title': '',
		'imageId': '68237440',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929545&docid=68237450&x=1950',
		'title': '',
		'imageId': '68237450',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929545&docid=68237442&x=1950',
		'title': '',
		'imageId': '68237442',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3929545';

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