var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3652705&docid=59438297&x=5020',
		'title': '',
		'imageId': '59438297',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652705&docid=59438298&x=5020',
		'title': '',
		'imageId': '59438298',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652705&docid=59438299&x=5020',
		'title': '',
		'imageId': '59438299',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652705&docid=59438300&x=5020',
		'title': '',
		'imageId': '59438300',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652705&docid=59438301&x=5020',
		'title': '',
		'imageId': '59438301',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652705&docid=59438302&x=5020',
		'title': '',
		'imageId': '59438302',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652705&docid=59438303&x=5020',
		'title': '',
		'imageId': '59438303',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652705&docid=59438304&x=5020',
		'title': '',
		'imageId': '59438304',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652705&docid=59438305&x=5020',
		'title': '',
		'imageId': '59438305',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652705&docid=59438306&x=5020',
		'title': '',
		'imageId': '59438306',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652705&docid=59438307&x=5020',
		'title': '',
		'imageId': '59438307',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652705&docid=59438308&x=5020',
		'title': '',
		'imageId': '59438308',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652705&docid=59438309&x=5020',
		'title': '',
		'imageId': '59438309',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652705&docid=59438310&x=5020',
		'title': '',
		'imageId': '59438310',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652705&docid=59438311&x=5020',
		'title': '',
		'imageId': '59438311',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652705&docid=59438312&x=5020',
		'title': '',
		'imageId': '59438312',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652705&docid=59438313&x=5020',
		'title': '',
		'imageId': '59438313',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652705&docid=59438314&x=5020',
		'title': '',
		'imageId': '59438314',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652705&docid=59438315&x=5020',
		'title': '',
		'imageId': '59438315',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652705&docid=59438316&x=5020',
		'title': '',
		'imageId': '59438316',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652705&docid=59438317&x=5020',
		'title': '',
		'imageId': '59438317',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652705&docid=59438318&x=5020',
		'title': '',
		'imageId': '59438318',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3652705&docid=59438296&x=5020',
		'title': '',
		'imageId': '59438296',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3652705';

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