var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3958896&docid=68798367&x=632',
		'title': '',
		'imageId': '68798367',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958896&docid=68798368&x=632',
		'title': '',
		'imageId': '68798368',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958896&docid=68798371&x=632',
		'title': '',
		'imageId': '68798371',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958896&docid=68798370&x=632',
		'title': '',
		'imageId': '68798370',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958896&docid=68798355&x=632',
		'title': '',
		'imageId': '68798355',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958896&docid=68798369&x=632',
		'title': '',
		'imageId': '68798369',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958896&docid=68798362&x=632',
		'title': '',
		'imageId': '68798362',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958896&docid=68798359&x=632',
		'title': '',
		'imageId': '68798359',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958896&docid=68798365&x=632',
		'title': '',
		'imageId': '68798365',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958896&docid=68798357&x=632',
		'title': '',
		'imageId': '68798357',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958896&docid=68798358&x=632',
		'title': '',
		'imageId': '68798358',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958896&docid=68798374&x=632',
		'title': '',
		'imageId': '68798374',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958896&docid=68798361&x=632',
		'title': '',
		'imageId': '68798361',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958896&docid=68798360&x=632',
		'title': '',
		'imageId': '68798360',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958896&docid=68798363&x=632',
		'title': '',
		'imageId': '68798363',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958896&docid=68798373&x=632',
		'title': '',
		'imageId': '68798373',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958896&docid=68798366&x=632',
		'title': '',
		'imageId': '68798366',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958896&docid=68798364&x=632',
		'title': '',
		'imageId': '68798364',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958896&docid=68798919&x=632',
		'title': '',
		'imageId': '68798919',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958896&docid=68798918&x=632',
		'title': '',
		'imageId': '68798918',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958896&docid=68893203&x=632',
		'title': '',
		'imageId': '68893203',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958896&docid=68893204&x=632',
		'title': '',
		'imageId': '68893204',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958896&docid=68893205&x=632',
		'title': '',
		'imageId': '68893205',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958896&docid=68893202&x=632',
		'title': '',
		'imageId': '68893202',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3958896';

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