var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4041769&docid=70577249&x=624',
		'title': '',
		'imageId': '70577249',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041769&docid=70577271&x=624',
		'title': '',
		'imageId': '70577271',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041769&docid=70577263&x=624',
		'title': '',
		'imageId': '70577263',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041769&docid=70577259&x=624',
		'title': '',
		'imageId': '70577259',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041769&docid=70577260&x=624',
		'title': '',
		'imageId': '70577260',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041769&docid=70577267&x=624',
		'title': '',
		'imageId': '70577267',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041769&docid=70577268&x=624',
		'title': '',
		'imageId': '70577268',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041769&docid=70577276&x=624',
		'title': '',
		'imageId': '70577276',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041769&docid=70577284&x=624',
		'title': '',
		'imageId': '70577284',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041769&docid=70577281&x=624',
		'title': '',
		'imageId': '70577281',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041769&docid=70577266&x=624',
		'title': '',
		'imageId': '70577266',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041769&docid=70577287&x=624',
		'title': '',
		'imageId': '70577287',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041769&docid=70577246&x=624',
		'title': '',
		'imageId': '70577246',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041769&docid=70577245&x=624',
		'title': '',
		'imageId': '70577245',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041769&docid=70577248&x=624',
		'title': '',
		'imageId': '70577248',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041769&docid=70577250&x=624',
		'title': '',
		'imageId': '70577250',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4041769&docid=70577247&x=624',
		'title': '',
		'imageId': '70577247',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4041769';

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