var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4092648&docid=72010537&x=5017',
		'title': '',
		'imageId': '72010537',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092648&docid=72010535&x=5017',
		'title': '',
		'imageId': '72010535',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092648&docid=72010522&x=5017',
		'title': '',
		'imageId': '72010522',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092648&docid=72010526&x=5017',
		'title': '',
		'imageId': '72010526',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092648&docid=72010525&x=5017',
		'title': '',
		'imageId': '72010525',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092648&docid=72010534&x=5017',
		'title': '',
		'imageId': '72010534',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092648&docid=72010532&x=5017',
		'title': '',
		'imageId': '72010532',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092648&docid=72010529&x=5017',
		'title': '',
		'imageId': '72010529',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092648&docid=72010538&x=5017',
		'title': '',
		'imageId': '72010538',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092648&docid=72010536&x=5017',
		'title': '',
		'imageId': '72010536',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092648&docid=72010539&x=5017',
		'title': '',
		'imageId': '72010539',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092648&docid=72010531&x=5017',
		'title': '',
		'imageId': '72010531',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092648&docid=72010533&x=5017',
		'title': '',
		'imageId': '72010533',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092648&docid=72010523&x=5017',
		'title': '',
		'imageId': '72010523',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092648&docid=72010524&x=5017',
		'title': '',
		'imageId': '72010524',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092648&docid=72010530&x=5017',
		'title': '',
		'imageId': '72010530',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092648&docid=72010521&x=5017',
		'title': '',
		'imageId': '72010521',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092648&docid=72010528&x=5017',
		'title': '',
		'imageId': '72010528',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092648&docid=72010527&x=5017',
		'title': '',
		'imageId': '72010527',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4092648';

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