var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4015613&docid=66973702&x=277',
		'title': '',
		'imageId': '66973702',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015613&docid=66973704&x=277',
		'title': '',
		'imageId': '66973704',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015613&docid=66973712&x=277',
		'title': '',
		'imageId': '66973712',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015613&docid=66973705&x=277',
		'title': '',
		'imageId': '66973705',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015613&docid=66973708&x=277',
		'title': '',
		'imageId': '66973708',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015613&docid=66973707&x=277',
		'title': '',
		'imageId': '66973707',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015613&docid=66973711&x=277',
		'title': '',
		'imageId': '66973711',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015613&docid=66973703&x=277',
		'title': '',
		'imageId': '66973703',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015613&docid=66973706&x=277',
		'title': '',
		'imageId': '66973706',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015613&docid=66973709&x=277',
		'title': '',
		'imageId': '66973709',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015613&docid=66973710&x=277',
		'title': '',
		'imageId': '66973710',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4015613';

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