var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4013116&docid=70029673&x=2120',
		'title': '',
		'imageId': '70029673',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013116&docid=70029671&x=2120',
		'title': '',
		'imageId': '70029671',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013116&docid=70029674&x=2120',
		'title': '',
		'imageId': '70029674',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013116&docid=70029675&x=2120',
		'title': '',
		'imageId': '70029675',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013116&docid=70029678&x=2120',
		'title': '',
		'imageId': '70029678',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013116&docid=70029684&x=2120',
		'title': '',
		'imageId': '70029684',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013116&docid=70029688&x=2120',
		'title': '',
		'imageId': '70029688',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013116&docid=70029691&x=2120',
		'title': '',
		'imageId': '70029691',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013116&docid=70029692&x=2120',
		'title': '',
		'imageId': '70029692',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013116&docid=70029670&x=2120',
		'title': '',
		'imageId': '70029670',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4013116';

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