var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3954738&docid=66711031&x=948',
		'title': '',
		'imageId': '66711031',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954738&docid=66711043&x=948',
		'title': '',
		'imageId': '66711043',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954738&docid=66711035&x=948',
		'title': '',
		'imageId': '66711035',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954738&docid=66711029&x=948',
		'title': '',
		'imageId': '66711029',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954738&docid=66711032&x=948',
		'title': '',
		'imageId': '66711032',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954738&docid=66711027&x=948',
		'title': '',
		'imageId': '66711027',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954738&docid=66711039&x=948',
		'title': '',
		'imageId': '66711039',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954738&docid=66711017&x=948',
		'title': '',
		'imageId': '66711017',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954738&docid=66711026&x=948',
		'title': '',
		'imageId': '66711026',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954738&docid=66711042&x=948',
		'title': '',
		'imageId': '66711042',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954738&docid=66711041&x=948',
		'title': '',
		'imageId': '66711041',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954738&docid=66711020&x=948',
		'title': '',
		'imageId': '66711020',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954738&docid=66711036&x=948',
		'title': '',
		'imageId': '66711036',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954738&docid=66711040&x=948',
		'title': '',
		'imageId': '66711040',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954738&docid=66711013&x=948',
		'title': '',
		'imageId': '66711013',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954738&docid=66711016&x=948',
		'title': '',
		'imageId': '66711016',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954738&docid=66711015&x=948',
		'title': '',
		'imageId': '66711015',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954738&docid=66711014&x=948',
		'title': '',
		'imageId': '66711014',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954738&docid=66711022&x=948',
		'title': '',
		'imageId': '66711022',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954738&docid=66711018&x=948',
		'title': '',
		'imageId': '66711018',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954738&docid=66711019&x=948',
		'title': '',
		'imageId': '66711019',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954738&docid=66711021&x=948',
		'title': '',
		'imageId': '66711021',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954738&docid=66711024&x=948',
		'title': '',
		'imageId': '66711024',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954738&docid=66711023&x=948',
		'title': '',
		'imageId': '66711023',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954738&docid=66711025&x=948',
		'title': '',
		'imageId': '66711025',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954738&docid=66711028&x=948',
		'title': '',
		'imageId': '66711028',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954738&docid=66711030&x=948',
		'title': '',
		'imageId': '66711030',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3954738';

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