var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4013132&docid=70031238&x=586',
		'title': '',
		'imageId': '70031238',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013132&docid=70031242&x=586',
		'title': '',
		'imageId': '70031242',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013132&docid=70031241&x=586',
		'title': '',
		'imageId': '70031241',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013132&docid=70031239&x=586',
		'title': '',
		'imageId': '70031239',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013132&docid=70031240&x=586',
		'title': '',
		'imageId': '70031240',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013132&docid=70031244&x=586',
		'title': '',
		'imageId': '70031244',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013132&docid=70031246&x=586',
		'title': '',
		'imageId': '70031246',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013132&docid=70031247&x=586',
		'title': '',
		'imageId': '70031247',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013132&docid=70031248&x=586',
		'title': '',
		'imageId': '70031248',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013132&docid=70031245&x=586',
		'title': '',
		'imageId': '70031245',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013132&docid=70031249&x=586',
		'title': '',
		'imageId': '70031249',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013132&docid=70031250&x=586',
		'title': '',
		'imageId': '70031250',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4013132';

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