var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4016909&docid=70151041&x=2729',
		'title': '',
		'imageId': '70151041',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016909&docid=70151040&x=2729',
		'title': '',
		'imageId': '70151040',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016909&docid=70151043&x=2729',
		'title': '',
		'imageId': '70151043',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016909&docid=70151048&x=2729',
		'title': '',
		'imageId': '70151048',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016909&docid=70151056&x=2729',
		'title': '',
		'imageId': '70151056',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016909&docid=70151049&x=2729',
		'title': '',
		'imageId': '70151049',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016909&docid=70151057&x=2729',
		'title': '',
		'imageId': '70151057',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016909&docid=70151060&x=2729',
		'title': '',
		'imageId': '70151060',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016909&docid=70151065&x=2729',
		'title': '',
		'imageId': '70151065',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016909&docid=70150975&x=2729',
		'title': '',
		'imageId': '70150975',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016909&docid=70150974&x=2729',
		'title': '',
		'imageId': '70150974',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016909&docid=70150978&x=2729',
		'title': '',
		'imageId': '70150978',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016909&docid=70150979&x=2729',
		'title': '',
		'imageId': '70150979',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016909&docid=70150996&x=2729',
		'title': '',
		'imageId': '70150996',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016909&docid=70150977&x=2729',
		'title': '',
		'imageId': '70150977',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016909&docid=70150976&x=2729',
		'title': '',
		'imageId': '70150976',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016909&docid=70150985&x=2729',
		'title': '',
		'imageId': '70150985',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016909&docid=70150989&x=2729',
		'title': '',
		'imageId': '70150989',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016909&docid=70150990&x=2729',
		'title': '',
		'imageId': '70150990',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016909&docid=70150998&x=2729',
		'title': '',
		'imageId': '70150998',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016909&docid=70150999&x=2729',
		'title': '',
		'imageId': '70150999',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016909&docid=70151004&x=2729',
		'title': '',
		'imageId': '70151004',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016909&docid=70151005&x=2729',
		'title': '',
		'imageId': '70151005',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016909&docid=70151013&x=2729',
		'title': '',
		'imageId': '70151013',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016909&docid=70151010&x=2729',
		'title': '',
		'imageId': '70151010',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016909&docid=70151014&x=2729',
		'title': '',
		'imageId': '70151014',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016909&docid=70151018&x=2729',
		'title': '',
		'imageId': '70151018',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016909&docid=70151030&x=2729',
		'title': '',
		'imageId': '70151030',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016909&docid=70151023&x=2729',
		'title': '',
		'imageId': '70151023',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016909&docid=70151022&x=2729',
		'title': '',
		'imageId': '70151022',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016909&docid=70151031&x=2729',
		'title': '',
		'imageId': '70151031',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016909&docid=70151038&x=2729',
		'title': '',
		'imageId': '70151038',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4016909';

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