var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4016090&docid=70116291&x=1317',
		'title': '',
		'imageId': '70116291',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016090&docid=70116292&x=1317',
		'title': '',
		'imageId': '70116292',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016090&docid=70116296&x=1317',
		'title': '',
		'imageId': '70116296',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016090&docid=70116298&x=1317',
		'title': '',
		'imageId': '70116298',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016090&docid=70116297&x=1317',
		'title': '',
		'imageId': '70116297',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016090&docid=70116294&x=1317',
		'title': '',
		'imageId': '70116294',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016090&docid=70116295&x=1317',
		'title': '',
		'imageId': '70116295',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016090&docid=70116293&x=1317',
		'title': '',
		'imageId': '70116293',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016090&docid=70116299&x=1317',
		'title': '',
		'imageId': '70116299',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016090&docid=70116300&x=1317',
		'title': '',
		'imageId': '70116300',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4016090';

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