var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4018252&docid=70198381&x=139',
		'title': '',
		'imageId': '70198381',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018252&docid=70198382&x=139',
		'title': '',
		'imageId': '70198382',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018252&docid=70198388&x=139',
		'title': '',
		'imageId': '70198388',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018252&docid=70198383&x=139',
		'title': '',
		'imageId': '70198383',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018252&docid=70198384&x=139',
		'title': '',
		'imageId': '70198384',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018252&docid=70198391&x=139',
		'title': '',
		'imageId': '70198391',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018252&docid=70198385&x=139',
		'title': '',
		'imageId': '70198385',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018252&docid=70198386&x=139',
		'title': '',
		'imageId': '70198386',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018252&docid=70198390&x=139',
		'title': '',
		'imageId': '70198390',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018252&docid=70198389&x=139',
		'title': '',
		'imageId': '70198389',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018252&docid=70198387&x=139',
		'title': '',
		'imageId': '70198387',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4018252';

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