var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4040848&docid=70754559&x=3733',
		'title': '',
		'imageId': '70754559',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4040848&docid=70754570&x=3733',
		'title': '',
		'imageId': '70754570',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4040848&docid=70754565&x=3733',
		'title': '',
		'imageId': '70754565',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4040848&docid=70754541&x=3733',
		'title': '',
		'imageId': '70754541',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4040848&docid=70754564&x=3733',
		'title': '',
		'imageId': '70754564',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4040848&docid=70754547&x=3733',
		'title': '',
		'imageId': '70754547',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4040848&docid=70754540&x=3733',
		'title': '',
		'imageId': '70754540',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4040848&docid=70754580&x=3733',
		'title': '',
		'imageId': '70754580',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4040848&docid=70754557&x=3733',
		'title': '',
		'imageId': '70754557',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4040848&docid=70754548&x=3733',
		'title': '',
		'imageId': '70754548',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4040848&docid=70754566&x=3733',
		'title': '',
		'imageId': '70754566',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4040848&docid=70754555&x=3733',
		'title': '',
		'imageId': '70754555',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4040848&docid=70754543&x=3733',
		'title': '',
		'imageId': '70754543',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4040848&docid=70754569&x=3733',
		'title': '',
		'imageId': '70754569',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4040848&docid=70754572&x=3733',
		'title': '',
		'imageId': '70754572',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4040848&docid=70754549&x=3733',
		'title': '',
		'imageId': '70754549',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4040848&docid=70754561&x=3733',
		'title': '',
		'imageId': '70754561',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4040848&docid=70754552&x=3733',
		'title': '',
		'imageId': '70754552',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4040848&docid=70754546&x=3733',
		'title': '',
		'imageId': '70754546',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4040848&docid=70754542&x=3733',
		'title': '',
		'imageId': '70754542',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4040848&docid=70754550&x=3733',
		'title': '',
		'imageId': '70754550',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4040848&docid=70754553&x=3733',
		'title': '',
		'imageId': '70754553',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4040848&docid=70754539&x=3733',
		'title': '',
		'imageId': '70754539',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4040848&docid=70754544&x=3733',
		'title': '',
		'imageId': '70754544',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4040848&docid=70754562&x=3733',
		'title': '',
		'imageId': '70754562',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4040848&docid=70754545&x=3733',
		'title': '',
		'imageId': '70754545',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4040848&docid=70754560&x=3733',
		'title': '',
		'imageId': '70754560',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4040848&docid=70754576&x=3733',
		'title': '',
		'imageId': '70754576',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4040848&docid=70754577&x=3733',
		'title': '',
		'imageId': '70754577',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4040848&docid=70754575&x=3733',
		'title': '',
		'imageId': '70754575',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4040848&docid=70754558&x=3733',
		'title': '',
		'imageId': '70754558',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4040848&docid=70754563&x=3733',
		'title': '',
		'imageId': '70754563',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4040848&docid=70754574&x=3733',
		'title': '',
		'imageId': '70754574',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4040848&docid=70754571&x=3733',
		'title': '',
		'imageId': '70754571',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4040848&docid=70754579&x=3733',
		'title': '',
		'imageId': '70754579',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4040848';

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