var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4050219&docid=71001210&x=810',
		'title': '',
		'imageId': '71001210',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050219&docid=71001218&x=810',
		'title': '',
		'imageId': '71001218',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050219&docid=71001214&x=810',
		'title': '',
		'imageId': '71001214',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050219&docid=71001223&x=810',
		'title': '',
		'imageId': '71001223',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050219&docid=71001212&x=810',
		'title': '',
		'imageId': '71001212',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050219&docid=71001226&x=810',
		'title': '',
		'imageId': '71001226',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050219&docid=71001228&x=810',
		'title': '',
		'imageId': '71001228',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050219&docid=71001224&x=810',
		'title': '',
		'imageId': '71001224',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050219&docid=71001213&x=810',
		'title': '',
		'imageId': '71001213',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050219&docid=71001211&x=810',
		'title': '',
		'imageId': '71001211',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050219&docid=71001215&x=810',
		'title': '',
		'imageId': '71001215',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050219&docid=71001225&x=810',
		'title': '',
		'imageId': '71001225',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050219&docid=71001222&x=810',
		'title': '',
		'imageId': '71001222',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050219&docid=71001227&x=810',
		'title': '',
		'imageId': '71001227',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050219&docid=71001220&x=810',
		'title': '',
		'imageId': '71001220',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050219&docid=71001221&x=810',
		'title': '',
		'imageId': '71001221',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050219&docid=71001217&x=810',
		'title': '',
		'imageId': '71001217',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050219&docid=71001219&x=810',
		'title': '',
		'imageId': '71001219',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4050219';

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