var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4013064&docid=70030067&x=544',
		'title': '',
		'imageId': '70030067',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013064&docid=70030068&x=544',
		'title': '',
		'imageId': '70030068',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013064&docid=70030069&x=544',
		'title': '',
		'imageId': '70030069',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013064&docid=70030070&x=544',
		'title': '',
		'imageId': '70030070',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013064&docid=70030071&x=544',
		'title': '',
		'imageId': '70030071',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013064&docid=70030072&x=544',
		'title': '',
		'imageId': '70030072',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013064&docid=70030073&x=544',
		'title': '',
		'imageId': '70030073',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013064&docid=70030074&x=544',
		'title': '',
		'imageId': '70030074',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013064&docid=70030075&x=544',
		'title': '',
		'imageId': '70030075',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013064&docid=70030076&x=544',
		'title': '',
		'imageId': '70030076',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013064&docid=70030077&x=544',
		'title': '',
		'imageId': '70030077',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013064&docid=70030078&x=544',
		'title': '',
		'imageId': '70030078',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4013064';

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