var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4079450&docid=71693131&x=4138',
		'title': '',
		'imageId': '71693131',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079450&docid=71693134&x=4138',
		'title': '',
		'imageId': '71693134',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079450&docid=71693195&x=4138',
		'title': '',
		'imageId': '71693195',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079450&docid=71693211&x=4138',
		'title': '',
		'imageId': '71693211',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079450&docid=71693215&x=4138',
		'title': '',
		'imageId': '71693215',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079450&docid=71693248&x=4138',
		'title': '',
		'imageId': '71693248',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079450&docid=71693257&x=4138',
		'title': '',
		'imageId': '71693257',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079450&docid=71693261&x=4138',
		'title': '',
		'imageId': '71693261',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079450&docid=71693267&x=4138',
		'title': '',
		'imageId': '71693267',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079450&docid=71693270&x=4138',
		'title': '',
		'imageId': '71693270',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079450&docid=71693291&x=4138',
		'title': '',
		'imageId': '71693291',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4079450';

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