var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4057878&docid=71196475&x=3510',
		'title': '',
		'imageId': '71196475',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057878&docid=71196473&x=3510',
		'title': '',
		'imageId': '71196473',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057878&docid=71196493&x=3510',
		'title': '',
		'imageId': '71196493',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057878&docid=71196483&x=3510',
		'title': '',
		'imageId': '71196483',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057878&docid=71196476&x=3510',
		'title': '',
		'imageId': '71196476',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057878&docid=71196477&x=3510',
		'title': '',
		'imageId': '71196477',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057878&docid=71196478&x=3510',
		'title': '',
		'imageId': '71196478',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057878&docid=71196487&x=3510',
		'title': '',
		'imageId': '71196487',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057878&docid=71196486&x=3510',
		'title': '',
		'imageId': '71196486',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057878&docid=71196481&x=3510',
		'title': '',
		'imageId': '71196481',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057878&docid=71196497&x=3510',
		'title': '',
		'imageId': '71196497',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057878&docid=71196488&x=3510',
		'title': '',
		'imageId': '71196488',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057878&docid=71196479&x=3510',
		'title': '',
		'imageId': '71196479',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057878&docid=71196484&x=3510',
		'title': '',
		'imageId': '71196484',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057878&docid=71196489&x=3510',
		'title': '',
		'imageId': '71196489',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057878&docid=71196482&x=3510',
		'title': '',
		'imageId': '71196482',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057878&docid=71196491&x=3510',
		'title': '',
		'imageId': '71196491',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057878&docid=71196494&x=3510',
		'title': '',
		'imageId': '71196494',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057878&docid=71196495&x=3510',
		'title': '',
		'imageId': '71196495',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057878&docid=71196492&x=3510',
		'title': '',
		'imageId': '71196492',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057878&docid=71196496&x=3510',
		'title': '',
		'imageId': '71196496',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057878&docid=71196498&x=3510',
		'title': '',
		'imageId': '71196498',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057878&docid=71196485&x=3510',
		'title': '',
		'imageId': '71196485',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057878&docid=71196490&x=3510',
		'title': '',
		'imageId': '71196490',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057878&docid=71196474&x=3510',
		'title': '',
		'imageId': '71196474',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057878&docid=71196472&x=3510',
		'title': '',
		'imageId': '71196472',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057878&docid=71196480&x=3510',
		'title': '',
		'imageId': '71196480',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4057878';

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