var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4061915&docid=71296951&x=5252',
		'title': '',
		'imageId': '71296951',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061915&docid=71296933&x=5252',
		'title': '',
		'imageId': '71296933',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061915&docid=71296934&x=5252',
		'title': '',
		'imageId': '71296934',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061915&docid=71296952&x=5252',
		'title': '',
		'imageId': '71296952',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061915&docid=71296935&x=5252',
		'title': '',
		'imageId': '71296935',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061915&docid=71296936&x=5252',
		'title': '',
		'imageId': '71296936',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061915&docid=71296937&x=5252',
		'title': '',
		'imageId': '71296937',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061915&docid=71296938&x=5252',
		'title': '',
		'imageId': '71296938',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061915&docid=71296939&x=5252',
		'title': '',
		'imageId': '71296939',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061915&docid=71296940&x=5252',
		'title': '',
		'imageId': '71296940',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061915&docid=71296941&x=5252',
		'title': '',
		'imageId': '71296941',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061915&docid=71296942&x=5252',
		'title': '',
		'imageId': '71296942',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061915&docid=71296943&x=5252',
		'title': '',
		'imageId': '71296943',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061915&docid=71296944&x=5252',
		'title': '',
		'imageId': '71296944',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061915&docid=71296945&x=5252',
		'title': '',
		'imageId': '71296945',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061915&docid=71296947&x=5252',
		'title': '',
		'imageId': '71296947',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061915&docid=71296948&x=5252',
		'title': '',
		'imageId': '71296948',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061915&docid=71296946&x=5252',
		'title': '',
		'imageId': '71296946',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061915&docid=71296949&x=5252',
		'title': '',
		'imageId': '71296949',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061915&docid=71296950&x=5252',
		'title': '',
		'imageId': '71296950',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4061915';

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