var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4053186&docid=71065644&x=118',
		'title': '',
		'imageId': '71065644',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053186&docid=71065645&x=118',
		'title': '',
		'imageId': '71065645',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053186&docid=71065646&x=118',
		'title': '',
		'imageId': '71065646',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053186&docid=71681814&x=118',
		'title': '',
		'imageId': '71681814',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053186&docid=71065647&x=118',
		'title': '',
		'imageId': '71065647',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053186&docid=71065649&x=118',
		'title': '',
		'imageId': '71065649',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053186&docid=71065650&x=118',
		'title': '',
		'imageId': '71065650',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053186&docid=71065651&x=118',
		'title': '',
		'imageId': '71065651',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053186&docid=71681815&x=118',
		'title': '',
		'imageId': '71681815',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053186&docid=71065653&x=118',
		'title': '',
		'imageId': '71065653',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053186&docid=71065654&x=118',
		'title': '',
		'imageId': '71065654',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053186&docid=71065655&x=118',
		'title': '',
		'imageId': '71065655',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053186&docid=71065656&x=118',
		'title': '',
		'imageId': '71065656',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053186&docid=71065657&x=118',
		'title': '',
		'imageId': '71065657',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053186&docid=71065658&x=118',
		'title': '',
		'imageId': '71065658',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053186&docid=71065662&x=118',
		'title': '',
		'imageId': '71065662',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053186&docid=71065663&x=118',
		'title': '',
		'imageId': '71065663',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053186&docid=71065659&x=118',
		'title': '',
		'imageId': '71065659',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053186&docid=71065661&x=118',
		'title': '',
		'imageId': '71065661',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053186&docid=71065664&x=118',
		'title': '',
		'imageId': '71065664',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4053186';

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