var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4061208&docid=71284687&x=836',
		'title': '',
		'imageId': '71284687',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061208&docid=71284647&x=836',
		'title': '',
		'imageId': '71284647',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061208&docid=71284649&x=836',
		'title': '',
		'imageId': '71284649',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061208&docid=71284654&x=836',
		'title': '',
		'imageId': '71284654',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061208&docid=71284650&x=836',
		'title': '',
		'imageId': '71284650',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061208&docid=71284652&x=836',
		'title': '',
		'imageId': '71284652',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061208&docid=71284651&x=836',
		'title': '',
		'imageId': '71284651',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061208&docid=71284663&x=836',
		'title': '',
		'imageId': '71284663',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061208&docid=71284672&x=836',
		'title': '',
		'imageId': '71284672',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061208&docid=71284673&x=836',
		'title': '',
		'imageId': '71284673',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061208&docid=71284669&x=836',
		'title': '',
		'imageId': '71284669',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061208&docid=71284676&x=836',
		'title': '',
		'imageId': '71284676',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061208&docid=71284670&x=836',
		'title': '',
		'imageId': '71284670',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061208&docid=71284671&x=836',
		'title': '',
		'imageId': '71284671',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061208&docid=71284705&x=836',
		'title': '',
		'imageId': '71284705',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061208&docid=71284688&x=836',
		'title': '',
		'imageId': '71284688',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061208&docid=71284689&x=836',
		'title': '',
		'imageId': '71284689',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061208&docid=71284691&x=836',
		'title': '',
		'imageId': '71284691',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061208&docid=71284693&x=836',
		'title': '',
		'imageId': '71284693',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061208&docid=71284694&x=836',
		'title': '',
		'imageId': '71284694',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4061208';

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