var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4093356&docid=72030485&x=5453',
		'title': '',
		'imageId': '72030485',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4093356&docid=72030489&x=5453',
		'title': '',
		'imageId': '72030489',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4093356&docid=72030492&x=5453',
		'title': '',
		'imageId': '72030492',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4093356&docid=72030496&x=5453',
		'title': '',
		'imageId': '72030496',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4093356&docid=72030499&x=5453',
		'title': '',
		'imageId': '72030499',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4093356&docid=72030502&x=5453',
		'title': '',
		'imageId': '72030502',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4093356&docid=72030511&x=5453',
		'title': '',
		'imageId': '72030511',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4093356&docid=72030514&x=5453',
		'title': '',
		'imageId': '72030514',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4093356&docid=72030517&x=5453',
		'title': '',
		'imageId': '72030517',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4093356&docid=72030520&x=5453',
		'title': '',
		'imageId': '72030520',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4093356&docid=72030523&x=5453',
		'title': '',
		'imageId': '72030523',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4093356';

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