var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4063256&docid=71324502&x=547',
		'title': '',
		'imageId': '71324502',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063256&docid=71324505&x=547',
		'title': '',
		'imageId': '71324505',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063256&docid=71324511&x=547',
		'title': '',
		'imageId': '71324511',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063256&docid=71324516&x=547',
		'title': '',
		'imageId': '71324516',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063256&docid=71324519&x=547',
		'title': '',
		'imageId': '71324519',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063256&docid=71324523&x=547',
		'title': '',
		'imageId': '71324523',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063256&docid=71324534&x=547',
		'title': '',
		'imageId': '71324534',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063256&docid=71324539&x=547',
		'title': '',
		'imageId': '71324539',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063256&docid=71324540&x=547',
		'title': '',
		'imageId': '71324540',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063256&docid=71324541&x=547',
		'title': '',
		'imageId': '71324541',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063256&docid=71324542&x=547',
		'title': '',
		'imageId': '71324542',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063256&docid=71324543&x=547',
		'title': '',
		'imageId': '71324543',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063256&docid=71324558&x=547',
		'title': '',
		'imageId': '71324558',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063256&docid=71324554&x=547',
		'title': '',
		'imageId': '71324554',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063256&docid=71324582&x=547',
		'title': '',
		'imageId': '71324582',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063256&docid=71324491&x=547',
		'title': '',
		'imageId': '71324491',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063256&docid=71324486&x=547',
		'title': '',
		'imageId': '71324486',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4063256';

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