var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4050168&docid=69996995&x=144',
		'title': '',
		'imageId': '69996995',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050168&docid=69996997&x=144',
		'title': '',
		'imageId': '69996997',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050168&docid=69996998&x=144',
		'title': '',
		'imageId': '69996998',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050168&docid=69996999&x=144',
		'title': '',
		'imageId': '69996999',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050168&docid=69997000&x=144',
		'title': '',
		'imageId': '69997000',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050168&docid=69997001&x=144',
		'title': '',
		'imageId': '69997001',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050168&docid=69997002&x=144',
		'title': '',
		'imageId': '69997002',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050168&docid=69997003&x=144',
		'title': '',
		'imageId': '69997003',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050168&docid=69997004&x=144',
		'title': '',
		'imageId': '69997004',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050168&docid=69997005&x=144',
		'title': '',
		'imageId': '69997005',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050168&docid=69997006&x=144',
		'title': '',
		'imageId': '69997006',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050168&docid=69997007&x=144',
		'title': '',
		'imageId': '69997007',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050168&docid=69997008&x=144',
		'title': '',
		'imageId': '69997008',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050168&docid=69997009&x=144',
		'title': '',
		'imageId': '69997009',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050168&docid=69997010&x=144',
		'title': '',
		'imageId': '69997010',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050168&docid=69997011&x=144',
		'title': '',
		'imageId': '69997011',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050168&docid=69997012&x=144',
		'title': '',
		'imageId': '69997012',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050168&docid=69997013&x=144',
		'title': '',
		'imageId': '69997013',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050168&docid=69997014&x=144',
		'title': '',
		'imageId': '69997014',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4050168';

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