var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4015397&docid=70093928&x=551',
		'title': '',
		'imageId': '70093928',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015397&docid=70093927&x=551',
		'title': '',
		'imageId': '70093927',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015397&docid=70093931&x=551',
		'title': '',
		'imageId': '70093931',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015397&docid=70093933&x=551',
		'title': '',
		'imageId': '70093933',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015397&docid=70093932&x=551',
		'title': '',
		'imageId': '70093932',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015397&docid=70093925&x=551',
		'title': '',
		'imageId': '70093925',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015397&docid=70093929&x=551',
		'title': '',
		'imageId': '70093929',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015397&docid=70093934&x=551',
		'title': '',
		'imageId': '70093934',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015397&docid=70093930&x=551',
		'title': '',
		'imageId': '70093930',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015397&docid=70093935&x=551',
		'title': '',
		'imageId': '70093935',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015397&docid=70093926&x=551',
		'title': '',
		'imageId': '70093926',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4015397';

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