var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3949611&docid=68657857&x=819',
		'title': '',
		'imageId': '68657857',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949611&docid=68657859&x=819',
		'title': '',
		'imageId': '68657859',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949611&docid=68657874&x=819',
		'title': '',
		'imageId': '68657874',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949611&docid=68657882&x=819',
		'title': '',
		'imageId': '68657882',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949611&docid=68657883&x=819',
		'title': '',
		'imageId': '68657883',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949611&docid=68657864&x=819',
		'title': '',
		'imageId': '68657864',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949611&docid=68657862&x=819',
		'title': '',
		'imageId': '68657862',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949611&docid=68657860&x=819',
		'title': '',
		'imageId': '68657860',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949611&docid=68657863&x=819',
		'title': '',
		'imageId': '68657863',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949611&docid=68657855&x=819',
		'title': '',
		'imageId': '68657855',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949611&docid=68657875&x=819',
		'title': '',
		'imageId': '68657875',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949611&docid=68657877&x=819',
		'title': '',
		'imageId': '68657877',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949611&docid=68657878&x=819',
		'title': '',
		'imageId': '68657878',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949611&docid=68657880&x=819',
		'title': '',
		'imageId': '68657880',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949611&docid=68657881&x=819',
		'title': '',
		'imageId': '68657881',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949611&docid=68657886&x=819',
		'title': '',
		'imageId': '68657886',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949611&docid=68657861&x=819',
		'title': '',
		'imageId': '68657861',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949611&docid=68657885&x=819',
		'title': '',
		'imageId': '68657885',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949611&docid=68657856&x=819',
		'title': '',
		'imageId': '68657856',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949611&docid=68657866&x=819',
		'title': '',
		'imageId': '68657866',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949611&docid=68657870&x=819',
		'title': '',
		'imageId': '68657870',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949611&docid=68657872&x=819',
		'title': '',
		'imageId': '68657872',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949611&docid=68657871&x=819',
		'title': '',
		'imageId': '68657871',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949611&docid=68657867&x=819',
		'title': '',
		'imageId': '68657867',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949611&docid=68657869&x=819',
		'title': '',
		'imageId': '68657869',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949611&docid=68657868&x=819',
		'title': '',
		'imageId': '68657868',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949611&docid=68657879&x=819',
		'title': '',
		'imageId': '68657879',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949611&docid=68657876&x=819',
		'title': '',
		'imageId': '68657876',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949611&docid=68657873&x=819',
		'title': '',
		'imageId': '68657873',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949611&docid=68657884&x=819',
		'title': '',
		'imageId': '68657884',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949611&docid=68657858&x=819',
		'title': '',
		'imageId': '68657858',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949611&docid=68657887&x=819',
		'title': '',
		'imageId': '68657887',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949611&docid=68657865&x=819',
		'title': '',
		'imageId': '68657865',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949611&docid=59270515&x=819',
		'title': '',
		'imageId': '59270515',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949611&docid=59270516&x=819',
		'title': '',
		'imageId': '59270516',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3949611';

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