var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4045846&docid=70895744&x=5750',
		'title': '',
		'imageId': '70895744',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045846&docid=70895746&x=5750',
		'title': '',
		'imageId': '70895746',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045846&docid=70895747&x=5750',
		'title': '',
		'imageId': '70895747',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045846&docid=70895748&x=5750',
		'title': '',
		'imageId': '70895748',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045846&docid=70895749&x=5750',
		'title': '',
		'imageId': '70895749',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045846&docid=70895743&x=5750',
		'title': '',
		'imageId': '70895743',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045846&docid=70895753&x=5750',
		'title': '',
		'imageId': '70895753',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045846&docid=70895756&x=5750',
		'title': '',
		'imageId': '70895756',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045846&docid=70895759&x=5750',
		'title': '',
		'imageId': '70895759',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045846&docid=70895752&x=5750',
		'title': '',
		'imageId': '70895752',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045846&docid=70895754&x=5750',
		'title': '',
		'imageId': '70895754',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045846&docid=70895750&x=5750',
		'title': '',
		'imageId': '70895750',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045846&docid=70895757&x=5750',
		'title': '',
		'imageId': '70895757',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045846&docid=70895758&x=5750',
		'title': '',
		'imageId': '70895758',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045846&docid=70892826&x=5750',
		'title': '',
		'imageId': '70892826',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045846&docid=70895751&x=5750',
		'title': '',
		'imageId': '70895751',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045846&docid=70892827&x=5750',
		'title': '',
		'imageId': '70892827',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045846&docid=70895755&x=5750',
		'title': '',
		'imageId': '70895755',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4045846&docid=72004185&x=5750',
		'title': '',
		'imageId': '72004185',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4045846';

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