var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4013256&docid=70034095&x=1838',
		'title': '',
		'imageId': '70034095',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013256&docid=70034087&x=1838',
		'title': '',
		'imageId': '70034087',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013256&docid=70034094&x=1838',
		'title': '',
		'imageId': '70034094',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013256&docid=70034089&x=1838',
		'title': '',
		'imageId': '70034089',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013256&docid=70034088&x=1838',
		'title': '',
		'imageId': '70034088',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013256&docid=70034092&x=1838',
		'title': '',
		'imageId': '70034092',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013256&docid=70034090&x=1838',
		'title': '',
		'imageId': '70034090',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013256&docid=70034091&x=1838',
		'title': '',
		'imageId': '70034091',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013256&docid=70034086&x=1838',
		'title': '',
		'imageId': '70034086',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013256&docid=70034093&x=1838',
		'title': '',
		'imageId': '70034093',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013256&docid=70034085&x=1838',
		'title': '',
		'imageId': '70034085',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013256&docid=70062163&x=1838',
		'title': '',
		'imageId': '70062163',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4013256';

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