var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4028125&docid=70585100&x=1250',
		'title': '',
		'imageId': '70585100',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028125&docid=70585108&x=1250',
		'title': '',
		'imageId': '70585108',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028125&docid=70585102&x=1250',
		'title': '',
		'imageId': '70585102',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028125&docid=70585107&x=1250',
		'title': '',
		'imageId': '70585107',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028125&docid=70585092&x=1250',
		'title': '',
		'imageId': '70585092',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028125&docid=70585104&x=1250',
		'title': '',
		'imageId': '70585104',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028125&docid=70585094&x=1250',
		'title': '',
		'imageId': '70585094',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028125&docid=70585105&x=1250',
		'title': '',
		'imageId': '70585105',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028125&docid=70585109&x=1250',
		'title': '',
		'imageId': '70585109',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028125&docid=70585106&x=1250',
		'title': '',
		'imageId': '70585106',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028125&docid=70585093&x=1250',
		'title': '',
		'imageId': '70585093',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028125&docid=70585095&x=1250',
		'title': '',
		'imageId': '70585095',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028125&docid=70585097&x=1250',
		'title': '',
		'imageId': '70585097',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028125&docid=70585098&x=1250',
		'title': '',
		'imageId': '70585098',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028125&docid=70585101&x=1250',
		'title': '',
		'imageId': '70585101',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028125&docid=70585110&x=1250',
		'title': '',
		'imageId': '70585110',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028125&docid=70585096&x=1250',
		'title': '',
		'imageId': '70585096',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028125&docid=70585103&x=1250',
		'title': '',
		'imageId': '70585103',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028125&docid=70585099&x=1250',
		'title': '',
		'imageId': '70585099',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028125&docid=59270515&x=1250',
		'title': ' ',
		'imageId': '59270515',
		'alt' : ' ',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028125&docid=59270516&x=1250',
		'title': '',
		'imageId': '59270516',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4028125';

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