var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4014338&docid=70061994&x=439',
		'title': '',
		'imageId': '70061994',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014338&docid=70061997&x=439',
		'title': '',
		'imageId': '70061997',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014338&docid=70062000&x=439',
		'title': '',
		'imageId': '70062000',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014338&docid=70062003&x=439',
		'title': '',
		'imageId': '70062003',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014338&docid=70062006&x=439',
		'title': '',
		'imageId': '70062006',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014338&docid=70062009&x=439',
		'title': '',
		'imageId': '70062009',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014338&docid=70062012&x=439',
		'title': '',
		'imageId': '70062012',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014338&docid=70062015&x=439',
		'title': '',
		'imageId': '70062015',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014338&docid=70062018&x=439',
		'title': '',
		'imageId': '70062018',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014338&docid=70062034&x=439',
		'title': '',
		'imageId': '70062034',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4014338';

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