var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4015761&docid=70140764&x=2953',
		'title': '',
		'imageId': '70140764',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015761&docid=70140776&x=2953',
		'title': '',
		'imageId': '70140776',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015761&docid=70140770&x=2953',
		'title': '',
		'imageId': '70140770',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015761&docid=70140769&x=2953',
		'title': '',
		'imageId': '70140769',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015761&docid=70140774&x=2953',
		'title': '',
		'imageId': '70140774',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015761&docid=70140684&x=2953',
		'title': '',
		'imageId': '70140684',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015761&docid=70140688&x=2953',
		'title': '',
		'imageId': '70140688',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015761&docid=70140687&x=2953',
		'title': '',
		'imageId': '70140687',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015761&docid=70140685&x=2953',
		'title': '',
		'imageId': '70140685',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015761&docid=70140689&x=2953',
		'title': '',
		'imageId': '70140689',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015761&docid=70140702&x=2953',
		'title': '',
		'imageId': '70140702',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015761&docid=70140686&x=2953',
		'title': '',
		'imageId': '70140686',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015761&docid=70140703&x=2953',
		'title': '',
		'imageId': '70140703',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015761&docid=70140704&x=2953',
		'title': '',
		'imageId': '70140704',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015761&docid=70140705&x=2953',
		'title': '',
		'imageId': '70140705',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015761&docid=70140706&x=2953',
		'title': '',
		'imageId': '70140706',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015761&docid=70140707&x=2953',
		'title': '',
		'imageId': '70140707',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015761&docid=70140715&x=2953',
		'title': '',
		'imageId': '70140715',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015761&docid=70140719&x=2953',
		'title': '',
		'imageId': '70140719',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015761&docid=70140714&x=2953',
		'title': '',
		'imageId': '70140714',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015761&docid=70140721&x=2953',
		'title': '',
		'imageId': '70140721',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015761&docid=70140724&x=2953',
		'title': '',
		'imageId': '70140724',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015761&docid=70140725&x=2953',
		'title': '',
		'imageId': '70140725',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015761&docid=70140732&x=2953',
		'title': '',
		'imageId': '70140732',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015761&docid=70140735&x=2953',
		'title': '',
		'imageId': '70140735',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015761&docid=70140736&x=2953',
		'title': '',
		'imageId': '70140736',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015761&docid=70140737&x=2953',
		'title': '',
		'imageId': '70140737',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015761&docid=70140742&x=2953',
		'title': '',
		'imageId': '70140742',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015761&docid=70140743&x=2953',
		'title': '',
		'imageId': '70140743',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015761&docid=70140747&x=2953',
		'title': '',
		'imageId': '70140747',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015761&docid=70140752&x=2953',
		'title': '',
		'imageId': '70140752',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015761&docid=70140754&x=2953',
		'title': '',
		'imageId': '70140754',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015761&docid=70140755&x=2953',
		'title': '',
		'imageId': '70140755',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015761&docid=70140760&x=2953',
		'title': '',
		'imageId': '70140760',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015761&docid=70140761&x=2953',
		'title': '',
		'imageId': '70140761',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4015761';

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