var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4023111&docid=70301497&x=1827',
		'title': '',
		'imageId': '70301497',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023111&docid=70301500&x=1827',
		'title': '',
		'imageId': '70301500',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023111&docid=70301506&x=1827',
		'title': '',
		'imageId': '70301506',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023111&docid=70301510&x=1827',
		'title': '',
		'imageId': '70301510',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023111&docid=70301513&x=1827',
		'title': '',
		'imageId': '70301513',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023111&docid=70301514&x=1827',
		'title': '',
		'imageId': '70301514',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023111&docid=70301517&x=1827',
		'title': '',
		'imageId': '70301517',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023111&docid=70301518&x=1827',
		'title': '',
		'imageId': '70301518',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023111&docid=70301461&x=1827',
		'title': '',
		'imageId': '70301461',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023111&docid=70301474&x=1827',
		'title': '',
		'imageId': '70301474',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023111&docid=70301460&x=1827',
		'title': '',
		'imageId': '70301460',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023111&docid=70301456&x=1827',
		'title': '',
		'imageId': '70301456',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023111&docid=70301459&x=1827',
		'title': '',
		'imageId': '70301459',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023111&docid=70301457&x=1827',
		'title': '',
		'imageId': '70301457',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023111&docid=70301464&x=1827',
		'title': '',
		'imageId': '70301464',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023111&docid=70301477&x=1827',
		'title': '',
		'imageId': '70301477',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023111&docid=70301476&x=1827',
		'title': '',
		'imageId': '70301476',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023111&docid=70301478&x=1827',
		'title': '',
		'imageId': '70301478',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023111&docid=70301479&x=1827',
		'title': '',
		'imageId': '70301479',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023111&docid=70301482&x=1827',
		'title': '',
		'imageId': '70301482',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023111&docid=70301493&x=1827',
		'title': '',
		'imageId': '70301493',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023111&docid=70301494&x=1827',
		'title': '',
		'imageId': '70301494',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023111&docid=70301495&x=1827',
		'title': '',
		'imageId': '70301495',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023111&docid=70301496&x=1827',
		'title': '',
		'imageId': '70301496',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023111&docid=70301525&x=1827',
		'title': '',
		'imageId': '70301525',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023111&docid=70301526&x=1827',
		'title': '',
		'imageId': '70301526',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023111&docid=70301528&x=1827',
		'title': '',
		'imageId': '70301528',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023111&docid=70301532&x=1827',
		'title': '',
		'imageId': '70301532',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023111&docid=70301458&x=1827',
		'title': '',
		'imageId': '70301458',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4023111';

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