var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4026302&docid=69561119&x=06',
		'title': '',
		'imageId': '69561119',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026302&docid=69561123&x=06',
		'title': '',
		'imageId': '69561123',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026302&docid=69561121&x=06',
		'title': '',
		'imageId': '69561121',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026302&docid=69561122&x=06',
		'title': '',
		'imageId': '69561122',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026302&docid=69561124&x=06',
		'title': '',
		'imageId': '69561124',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026302&docid=69561125&x=06',
		'title': '',
		'imageId': '69561125',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026302&docid=69561126&x=06',
		'title': '',
		'imageId': '69561126',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026302&docid=69561127&x=06',
		'title': '',
		'imageId': '69561127',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026302&docid=69561128&x=06',
		'title': '',
		'imageId': '69561128',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026302&docid=69561129&x=06',
		'title': '',
		'imageId': '69561129',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026302&docid=69561130&x=06',
		'title': '',
		'imageId': '69561130',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4026302';

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