var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4021415&docid=70636117&x=2350',
		'title': '',
		'imageId': '70636117',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021415&docid=70636112&x=2350',
		'title': '',
		'imageId': '70636112',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021415&docid=70636111&x=2350',
		'title': '',
		'imageId': '70636111',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021415&docid=70636118&x=2350',
		'title': '',
		'imageId': '70636118',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021415&docid=70636113&x=2350',
		'title': '',
		'imageId': '70636113',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021415&docid=70636106&x=2350',
		'title': '',
		'imageId': '70636106',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021415&docid=70636119&x=2350',
		'title': '',
		'imageId': '70636119',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021415&docid=70636105&x=2350',
		'title': '',
		'imageId': '70636105',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021415&docid=70636103&x=2350',
		'title': '',
		'imageId': '70636103',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021415&docid=70636102&x=2350',
		'title': '',
		'imageId': '70636102',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021415&docid=70636101&x=2350',
		'title': '',
		'imageId': '70636101',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021415&docid=70636104&x=2350',
		'title': '',
		'imageId': '70636104',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021415&docid=70636120&x=2350',
		'title': '',
		'imageId': '70636120',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021415&docid=70636107&x=2350',
		'title': '',
		'imageId': '70636107',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021415&docid=70636109&x=2350',
		'title': '',
		'imageId': '70636109',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021415&docid=70636116&x=2350',
		'title': '',
		'imageId': '70636116',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021415&docid=70636108&x=2350',
		'title': '',
		'imageId': '70636108',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021415&docid=70636115&x=2350',
		'title': '',
		'imageId': '70636115',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021415&docid=70636110&x=2350',
		'title': '',
		'imageId': '70636110',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021415&docid=70636114&x=2350',
		'title': '',
		'imageId': '70636114',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021415&docid=59270515&x=2350',
		'title': ' ',
		'imageId': '59270515',
		'alt' : ' ',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021415&docid=59270516&x=2350',
		'title': '',
		'imageId': '59270516',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4021415';

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