var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4031687&docid=70499781&x=1928',
		'title': '',
		'imageId': '70499781',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4031687&docid=70499711&x=1928',
		'title': '',
		'imageId': '70499711',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4031687&docid=70499784&x=1928',
		'title': '',
		'imageId': '70499784',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4031687&docid=70499715&x=1928',
		'title': '',
		'imageId': '70499715',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4031687&docid=70499714&x=1928',
		'title': '',
		'imageId': '70499714',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4031687&docid=70499710&x=1928',
		'title': '',
		'imageId': '70499710',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4031687&docid=70499789&x=1928',
		'title': '',
		'imageId': '70499789',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4031687&docid=70499712&x=1928',
		'title': '',
		'imageId': '70499712',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4031687&docid=70499713&x=1928',
		'title': '',
		'imageId': '70499713',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4031687&docid=70499777&x=1928',
		'title': '',
		'imageId': '70499777',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4031687&docid=70499730&x=1928',
		'title': '',
		'imageId': '70499730',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4031687&docid=70499727&x=1928',
		'title': '',
		'imageId': '70499727',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4031687&docid=70499731&x=1928',
		'title': '',
		'imageId': '70499731',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4031687&docid=70499780&x=1928',
		'title': '',
		'imageId': '70499780',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4031687&docid=70499732&x=1928',
		'title': '',
		'imageId': '70499732',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4031687&docid=70499734&x=1928',
		'title': '',
		'imageId': '70499734',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4031687&docid=70499733&x=1928',
		'title': '',
		'imageId': '70499733',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4031687&docid=70499776&x=1928',
		'title': '',
		'imageId': '70499776',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4031687&docid=70499740&x=1928',
		'title': '',
		'imageId': '70499740',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4031687&docid=70499741&x=1928',
		'title': '',
		'imageId': '70499741',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4031687&docid=70499754&x=1928',
		'title': '',
		'imageId': '70499754',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4031687&docid=70499749&x=1928',
		'title': '',
		'imageId': '70499749',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4031687&docid=70499756&x=1928',
		'title': '',
		'imageId': '70499756',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4031687&docid=70499758&x=1928',
		'title': '',
		'imageId': '70499758',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4031687&docid=70499759&x=1928',
		'title': '',
		'imageId': '70499759',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4031687&docid=70499760&x=1928',
		'title': '',
		'imageId': '70499760',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4031687&docid=70499767&x=1928',
		'title': '',
		'imageId': '70499767',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4031687&docid=70499771&x=1928',
		'title': '',
		'imageId': '70499771',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4031687';

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