var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4041267&docid=70764079&x=1551',
		'title': '',
		'imageId': '70764079',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041267&docid=70764078&x=1551',
		'title': '',
		'imageId': '70764078',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041267&docid=70764080&x=1551',
		'title': '',
		'imageId': '70764080',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041267&docid=70764081&x=1551',
		'title': '',
		'imageId': '70764081',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041267&docid=70764084&x=1551',
		'title': '',
		'imageId': '70764084',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041267&docid=70764089&x=1551',
		'title': '',
		'imageId': '70764089',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041267&docid=70764094&x=1551',
		'title': '',
		'imageId': '70764094',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041267&docid=70764095&x=1551',
		'title': '',
		'imageId': '70764095',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041267&docid=70764096&x=1551',
		'title': '',
		'imageId': '70764096',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041267&docid=70764076&x=1551',
		'title': '',
		'imageId': '70764076',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041267&docid=70764077&x=1551',
		'title': '',
		'imageId': '70764077',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4041267';

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