var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4009539&docid=69948504&x=431',
		'title': '',
		'imageId': '69948504',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009539&docid=69948505&x=431',
		'title': '',
		'imageId': '69948505',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009539&docid=69948506&x=431',
		'title': '',
		'imageId': '69948506',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009539&docid=69948507&x=431',
		'title': '',
		'imageId': '69948507',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009539&docid=69948508&x=431',
		'title': '',
		'imageId': '69948508',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009539&docid=69948509&x=431',
		'title': '',
		'imageId': '69948509',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009539&docid=69948510&x=431',
		'title': '',
		'imageId': '69948510',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009539&docid=69948511&x=431',
		'title': '',
		'imageId': '69948511',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009539&docid=69948512&x=431',
		'title': '',
		'imageId': '69948512',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009539&docid=69948513&x=431',
		'title': '',
		'imageId': '69948513',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009539&docid=69948514&x=431',
		'title': '',
		'imageId': '69948514',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009539&docid=69948515&x=431',
		'title': '',
		'imageId': '69948515',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009539&docid=69948516&x=431',
		'title': '',
		'imageId': '69948516',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009539&docid=69948517&x=431',
		'title': '',
		'imageId': '69948517',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009539&docid=69948518&x=431',
		'title': '',
		'imageId': '69948518',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009539&docid=69948519&x=431',
		'title': '',
		'imageId': '69948519',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009539&docid=69948520&x=431',
		'title': '',
		'imageId': '69948520',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009539&docid=69948521&x=431',
		'title': '',
		'imageId': '69948521',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009539&docid=69948522&x=431',
		'title': '',
		'imageId': '69948522',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009539&docid=69948523&x=431',
		'title': '',
		'imageId': '69948523',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009539&docid=69948524&x=431',
		'title': '',
		'imageId': '69948524',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4009539';

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