var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4028054&docid=70584836&x=4623',
		'title': '',
		'imageId': '70584836',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028054&docid=70584842&x=4623',
		'title': '',
		'imageId': '70584842',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028054&docid=70584839&x=4623',
		'title': '',
		'imageId': '70584839',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028054&docid=70584859&x=4623',
		'title': '',
		'imageId': '70584859',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028054&docid=70584840&x=4623',
		'title': '',
		'imageId': '70584840',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028054&docid=70584845&x=4623',
		'title': '',
		'imageId': '70584845',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028054&docid=70584843&x=4623',
		'title': '',
		'imageId': '70584843',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028054&docid=70584837&x=4623',
		'title': '',
		'imageId': '70584837',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028054&docid=70584854&x=4623',
		'title': '',
		'imageId': '70584854',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028054&docid=70584841&x=4623',
		'title': '',
		'imageId': '70584841',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028054&docid=70584853&x=4623',
		'title': '',
		'imageId': '70584853',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028054&docid=70584848&x=4623',
		'title': '',
		'imageId': '70584848',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028054&docid=70584844&x=4623',
		'title': '',
		'imageId': '70584844',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028054&docid=70584850&x=4623',
		'title': '',
		'imageId': '70584850',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028054&docid=70584847&x=4623',
		'title': '',
		'imageId': '70584847',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028054&docid=70584838&x=4623',
		'title': '',
		'imageId': '70584838',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028054&docid=70584846&x=4623',
		'title': '',
		'imageId': '70584846',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028054&docid=70584849&x=4623',
		'title': '',
		'imageId': '70584849',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028054&docid=70584855&x=4623',
		'title': '',
		'imageId': '70584855',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028054&docid=70584856&x=4623',
		'title': '',
		'imageId': '70584856',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028054&docid=59270515&x=4623',
		'title': ' ',
		'imageId': '59270515',
		'alt' : ' ',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028054&docid=59270516&x=4623',
		'title': '',
		'imageId': '59270516',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4028054';

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