var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4016897&docid=70150590&x=3732',
		'title': '',
		'imageId': '70150590',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016897&docid=70150589&x=3732',
		'title': '',
		'imageId': '70150589',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016897&docid=70150585&x=3732',
		'title': '',
		'imageId': '70150585',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016897&docid=70150584&x=3732',
		'title': '',
		'imageId': '70150584',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016897&docid=70150588&x=3732',
		'title': '',
		'imageId': '70150588',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016897&docid=70150587&x=3732',
		'title': '',
		'imageId': '70150587',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016897&docid=70150592&x=3732',
		'title': '',
		'imageId': '70150592',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016897&docid=70150586&x=3732',
		'title': '',
		'imageId': '70150586',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016897&docid=70150600&x=3732',
		'title': '',
		'imageId': '70150600',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016897&docid=70150599&x=3732',
		'title': '',
		'imageId': '70150599',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016897&docid=70150731&x=3732',
		'title': '',
		'imageId': '70150731',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016897&docid=70150730&x=3732',
		'title': '',
		'imageId': '70150730',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016897&docid=70150729&x=3732',
		'title': '',
		'imageId': '70150729',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016897&docid=70150583&x=3732',
		'title': '',
		'imageId': '70150583',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016897&docid=70150598&x=3732',
		'title': '',
		'imageId': '70150598',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016897&docid=70150596&x=3732',
		'title': '',
		'imageId': '70150596',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016897&docid=70150593&x=3732',
		'title': '',
		'imageId': '70150593',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016897&docid=70150594&x=3732',
		'title': '',
		'imageId': '70150594',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016897&docid=70150582&x=3732',
		'title': '',
		'imageId': '70150582',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016897&docid=70150597&x=3732',
		'title': '',
		'imageId': '70150597',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4016897';

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