var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4016946&docid=70153411&x=321',
		'title': '',
		'imageId': '70153411',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016946&docid=70153413&x=321',
		'title': '',
		'imageId': '70153413',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016946&docid=70153414&x=321',
		'title': '',
		'imageId': '70153414',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016946&docid=70153415&x=321',
		'title': '',
		'imageId': '70153415',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016946&docid=70153416&x=321',
		'title': '',
		'imageId': '70153416',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016946&docid=70153417&x=321',
		'title': '',
		'imageId': '70153417',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016946&docid=70153418&x=321',
		'title': '',
		'imageId': '70153418',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016946&docid=70153419&x=321',
		'title': '',
		'imageId': '70153419',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016946&docid=70153420&x=321',
		'title': '',
		'imageId': '70153420',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016946&docid=70153421&x=321',
		'title': '',
		'imageId': '70153421',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016946&docid=70153422&x=321',
		'title': '',
		'imageId': '70153422',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016946&docid=70153423&x=321',
		'title': '',
		'imageId': '70153423',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016946&docid=70153424&x=321',
		'title': '',
		'imageId': '70153424',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016946&docid=70153425&x=321',
		'title': '',
		'imageId': '70153425',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016946&docid=70153426&x=321',
		'title': '',
		'imageId': '70153426',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016946&docid=70153427&x=321',
		'title': '',
		'imageId': '70153427',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016946&docid=70153428&x=321',
		'title': '',
		'imageId': '70153428',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016946&docid=70153429&x=321',
		'title': '',
		'imageId': '70153429',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016946&docid=70153430&x=321',
		'title': '',
		'imageId': '70153430',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016946&docid=70153431&x=321',
		'title': '',
		'imageId': '70153431',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4016946';

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