var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4050708&docid=71011767&x=5945',
		'title': '',
		'imageId': '71011767',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050708&docid=71011765&x=5945',
		'title': '',
		'imageId': '71011765',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050708&docid=71011714&x=5945',
		'title': '',
		'imageId': '71011714',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050708&docid=71011708&x=5945',
		'title': '',
		'imageId': '71011708',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050708&docid=71011758&x=5945',
		'title': '',
		'imageId': '71011758',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050708&docid=71011717&x=5945',
		'title': '',
		'imageId': '71011717',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050708&docid=71011720&x=5945',
		'title': '',
		'imageId': '71011720',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050708&docid=71011759&x=5945',
		'title': '',
		'imageId': '71011759',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050708&docid=71011727&x=5945',
		'title': '',
		'imageId': '71011727',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050708&docid=71011723&x=5945',
		'title': '',
		'imageId': '71011723',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050708&docid=71011769&x=5945',
		'title': '',
		'imageId': '71011769',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050708&docid=71011771&x=5945',
		'title': '',
		'imageId': '71011771',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050708&docid=71011770&x=5945',
		'title': '',
		'imageId': '71011770',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050708&docid=71011774&x=5945',
		'title': '',
		'imageId': '71011774',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050708&docid=71011736&x=5945',
		'title': '',
		'imageId': '71011736',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050708&docid=71011739&x=5945',
		'title': '',
		'imageId': '71011739',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050708&docid=71011748&x=5945',
		'title': '',
		'imageId': '71011748',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050708&docid=71011742&x=5945',
		'title': '',
		'imageId': '71011742',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050708&docid=71011741&x=5945',
		'title': '',
		'imageId': '71011741',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050708&docid=71011764&x=5945',
		'title': '',
		'imageId': '71011764',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050708&docid=71011706&x=5945',
		'title': '',
		'imageId': '71011706',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050708&docid=71011709&x=5945',
		'title': '',
		'imageId': '71011709',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050708&docid=71011712&x=5945',
		'title': '',
		'imageId': '71011712',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050708&docid=71011725&x=5945',
		'title': '',
		'imageId': '71011725',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050708&docid=71011728&x=5945',
		'title': '',
		'imageId': '71011728',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050708&docid=71011732&x=5945',
		'title': '',
		'imageId': '71011732',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050708&docid=71011733&x=5945',
		'title': '',
		'imageId': '71011733',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050708&docid=71011734&x=5945',
		'title': '',
		'imageId': '71011734',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050708&docid=71011726&x=5945',
		'title': '',
		'imageId': '71011726',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050708&docid=71011948&x=5945',
		'title': '',
		'imageId': '71011948',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4050708';

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