var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4051936&docid=71040593&x=4323',
		'title': '',
		'imageId': '71040593',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051936&docid=71040592&x=4323',
		'title': '',
		'imageId': '71040592',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051936&docid=71040591&x=4323',
		'title': '',
		'imageId': '71040591',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051936&docid=71040594&x=4323',
		'title': '',
		'imageId': '71040594',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051936&docid=71040596&x=4323',
		'title': '',
		'imageId': '71040596',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051936&docid=71040595&x=4323',
		'title': '',
		'imageId': '71040595',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051936&docid=71040616&x=4323',
		'title': '',
		'imageId': '71040616',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051936&docid=71040620&x=4323',
		'title': '',
		'imageId': '71040620',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051936&docid=71040621&x=4323',
		'title': '',
		'imageId': '71040621',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051936&docid=71040628&x=4323',
		'title': '',
		'imageId': '71040628',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051936&docid=71040623&x=4323',
		'title': '',
		'imageId': '71040623',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051936&docid=71040629&x=4323',
		'title': '',
		'imageId': '71040629',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051936&docid=71040637&x=4323',
		'title': '',
		'imageId': '71040637',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051936&docid=71040648&x=4323',
		'title': '',
		'imageId': '71040648',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051936&docid=71040649&x=4323',
		'title': '',
		'imageId': '71040649',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051936&docid=71040657&x=4323',
		'title': '',
		'imageId': '71040657',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051936&docid=71040655&x=4323',
		'title': '',
		'imageId': '71040655',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051936&docid=71040656&x=4323',
		'title': '',
		'imageId': '71040656',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4051936';

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