var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4014946&docid=70075470&x=4228',
		'title': '',
		'imageId': '70075470',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014946&docid=70075473&x=4228',
		'title': '',
		'imageId': '70075473',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014946&docid=70075476&x=4228',
		'title': '',
		'imageId': '70075476',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014946&docid=70075479&x=4228',
		'title': '',
		'imageId': '70075479',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014946&docid=70075484&x=4228',
		'title': '',
		'imageId': '70075484',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014946&docid=70075487&x=4228',
		'title': '',
		'imageId': '70075487',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014946&docid=70075490&x=4228',
		'title': '',
		'imageId': '70075490',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014946&docid=70075493&x=4228',
		'title': '',
		'imageId': '70075493',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014946&docid=70075496&x=4228',
		'title': '',
		'imageId': '70075496',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014946&docid=70075499&x=4228',
		'title': '',
		'imageId': '70075499',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014946&docid=70075502&x=4228',
		'title': '',
		'imageId': '70075502',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014946&docid=70075505&x=4228',
		'title': '',
		'imageId': '70075505',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4014946';

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