var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4015155&docid=70078632&x=1531',
		'title': '',
		'imageId': '70078632',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015155&docid=70078634&x=1531',
		'title': '',
		'imageId': '70078634',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015155&docid=70078636&x=1531',
		'title': '',
		'imageId': '70078636',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015155&docid=70078637&x=1531',
		'title': '',
		'imageId': '70078637',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015155&docid=70078638&x=1531',
		'title': '',
		'imageId': '70078638',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015155&docid=70078639&x=1531',
		'title': '',
		'imageId': '70078639',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015155&docid=70078640&x=1531',
		'title': '',
		'imageId': '70078640',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015155&docid=70078641&x=1531',
		'title': '',
		'imageId': '70078641',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015155&docid=70078642&x=1531',
		'title': '',
		'imageId': '70078642',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015155&docid=70078643&x=1531',
		'title': '',
		'imageId': '70078643',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015155&docid=70078644&x=1531',
		'title': '',
		'imageId': '70078644',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015155&docid=70078645&x=1531',
		'title': '',
		'imageId': '70078645',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015155&docid=70078646&x=1531',
		'title': '',
		'imageId': '70078646',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015155&docid=70078647&x=1531',
		'title': '',
		'imageId': '70078647',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015155&docid=70078648&x=1531',
		'title': '',
		'imageId': '70078648',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015155&docid=70078649&x=1531',
		'title': '',
		'imageId': '70078649',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015155&docid=70078650&x=1531',
		'title': '',
		'imageId': '70078650',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015155&docid=70078651&x=1531',
		'title': '',
		'imageId': '70078651',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015155&docid=70078652&x=1531',
		'title': '',
		'imageId': '70078652',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015155&docid=70078653&x=1531',
		'title': '',
		'imageId': '70078653',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4015155';

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