var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4063755&docid=71335420&x=3421',
		'title': '',
		'imageId': '71335420',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063755&docid=71335391&x=3421',
		'title': '',
		'imageId': '71335391',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063755&docid=71335426&x=3421',
		'title': '',
		'imageId': '71335426',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063755&docid=71335433&x=3421',
		'title': '',
		'imageId': '71335433',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063755&docid=71335435&x=3421',
		'title': '',
		'imageId': '71335435',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063755&docid=71335439&x=3421',
		'title': '',
		'imageId': '71335439',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063755&docid=71335453&x=3421',
		'title': '',
		'imageId': '71335453',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063755&docid=71335440&x=3421',
		'title': '',
		'imageId': '71335440',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063755&docid=71335455&x=3421',
		'title': '',
		'imageId': '71335455',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063755&docid=71335417&x=3421',
		'title': '',
		'imageId': '71335417',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063755&docid=71335458&x=3421',
		'title': '',
		'imageId': '71335458',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063755&docid=71335392&x=3421',
		'title': '',
		'imageId': '71335392',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063755&docid=71335393&x=3421',
		'title': '',
		'imageId': '71335393',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063755&docid=71335394&x=3421',
		'title': '',
		'imageId': '71335394',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063755&docid=71335395&x=3421',
		'title': '',
		'imageId': '71335395',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063755&docid=71335396&x=3421',
		'title': '',
		'imageId': '71335396',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063755&docid=71335412&x=3421',
		'title': '',
		'imageId': '71335412',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063755&docid=71335470&x=3421',
		'title': '',
		'imageId': '71335470',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4063755';

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