var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4051365&docid=71025567&x=653',
		'title': '',
		'imageId': '71025567',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051365&docid=71025589&x=653',
		'title': '',
		'imageId': '71025589',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051365&docid=71025503&x=653',
		'title': '',
		'imageId': '71025503',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051365&docid=71025506&x=653',
		'title': '',
		'imageId': '71025506',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051365&docid=71025524&x=653',
		'title': '',
		'imageId': '71025524',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051365&docid=71025511&x=653',
		'title': '',
		'imageId': '71025511',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051365&docid=71025522&x=653',
		'title': '',
		'imageId': '71025522',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051365&docid=71025532&x=653',
		'title': '',
		'imageId': '71025532',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051365&docid=71025533&x=653',
		'title': '',
		'imageId': '71025533',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051365&docid=71025562&x=653',
		'title': '',
		'imageId': '71025562',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051365&docid=71025559&x=653',
		'title': '',
		'imageId': '71025559',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051365&docid=71025548&x=653',
		'title': '',
		'imageId': '71025548',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051365&docid=71025563&x=653',
		'title': '',
		'imageId': '71025563',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051365&docid=71025564&x=653',
		'title': '',
		'imageId': '71025564',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051365&docid=71025590&x=653',
		'title': '',
		'imageId': '71025590',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051365&docid=71025580&x=653',
		'title': '',
		'imageId': '71025580',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051365&docid=71025500&x=653',
		'title': '',
		'imageId': '71025500',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4051365';

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