var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4016225&docid=70338610&x=1249',
		'title': '',
		'imageId': '70338610',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016225&docid=70338624&x=1249',
		'title': '',
		'imageId': '70338624',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016225&docid=70338611&x=1249',
		'title': '',
		'imageId': '70338611',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016225&docid=70338620&x=1249',
		'title': '',
		'imageId': '70338620',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016225&docid=70338626&x=1249',
		'title': '',
		'imageId': '70338626',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016225&docid=70338622&x=1249',
		'title': '',
		'imageId': '70338622',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016225&docid=70338627&x=1249',
		'title': '',
		'imageId': '70338627',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016225&docid=70338631&x=1249',
		'title': '',
		'imageId': '70338631',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016225&docid=70338625&x=1249',
		'title': '',
		'imageId': '70338625',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016225&docid=70338621&x=1249',
		'title': '',
		'imageId': '70338621',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016225&docid=70338623&x=1249',
		'title': '',
		'imageId': '70338623',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016225&docid=70338609&x=1249',
		'title': '',
		'imageId': '70338609',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016225&docid=70338605&x=1249',
		'title': '',
		'imageId': '70338605',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016225&docid=70338628&x=1249',
		'title': '',
		'imageId': '70338628',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016225&docid=70338629&x=1249',
		'title': '',
		'imageId': '70338629',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016225&docid=70338616&x=1249',
		'title': '',
		'imageId': '70338616',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016225&docid=70338607&x=1249',
		'title': '',
		'imageId': '70338607',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016225&docid=70338612&x=1249',
		'title': '',
		'imageId': '70338612',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016225&docid=70338606&x=1249',
		'title': '',
		'imageId': '70338606',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016225&docid=70338618&x=1249',
		'title': '',
		'imageId': '70338618',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016225&docid=70338614&x=1249',
		'title': '',
		'imageId': '70338614',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016225&docid=70338615&x=1249',
		'title': '',
		'imageId': '70338615',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016225&docid=70338617&x=1249',
		'title': '',
		'imageId': '70338617',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016225&docid=70338619&x=1249',
		'title': '',
		'imageId': '70338619',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016225&docid=70338613&x=1249',
		'title': '',
		'imageId': '70338613',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016225&docid=70338608&x=1249',
		'title': '',
		'imageId': '70338608',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016225&docid=70338630&x=1249',
		'title': '',
		'imageId': '70338630',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4016225';

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