var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4016690&docid=70142691&x=208',
		'title': '',
		'imageId': '70142691',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016690&docid=70142695&x=208',
		'title': '',
		'imageId': '70142695',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016690&docid=70142696&x=208',
		'title': '',
		'imageId': '70142696',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016690&docid=70142694&x=208',
		'title': '',
		'imageId': '70142694',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016690&docid=70143926&x=208',
		'title': '',
		'imageId': '70143926',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016690&docid=70143928&x=208',
		'title': '',
		'imageId': '70143928',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016690&docid=70143927&x=208',
		'title': '',
		'imageId': '70143927',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016690&docid=70142709&x=208',
		'title': '',
		'imageId': '70142709',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016690&docid=70142713&x=208',
		'title': '',
		'imageId': '70142713',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016690&docid=70142714&x=208',
		'title': '',
		'imageId': '70142714',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016690&docid=70142717&x=208',
		'title': '',
		'imageId': '70142717',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016690&docid=70142721&x=208',
		'title': '',
		'imageId': '70142721',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016690&docid=70142725&x=208',
		'title': '',
		'imageId': '70142725',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016690&docid=70142727&x=208',
		'title': '',
		'imageId': '70142727',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016690&docid=70142729&x=208',
		'title': '',
		'imageId': '70142729',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016690&docid=70142735&x=208',
		'title': '',
		'imageId': '70142735',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016690&docid=70142734&x=208',
		'title': '',
		'imageId': '70142734',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016690&docid=70142741&x=208',
		'title': '',
		'imageId': '70142741',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016690&docid=70142742&x=208',
		'title': '',
		'imageId': '70142742',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016690&docid=70142745&x=208',
		'title': '',
		'imageId': '70142745',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016690&docid=70142747&x=208',
		'title': '',
		'imageId': '70142747',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016690&docid=70142750&x=208',
		'title': '',
		'imageId': '70142750',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016690&docid=70142755&x=208',
		'title': '',
		'imageId': '70142755',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016690&docid=70142756&x=208',
		'title': '',
		'imageId': '70142756',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016690&docid=70142760&x=208',
		'title': '',
		'imageId': '70142760',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016690&docid=70142764&x=208',
		'title': '',
		'imageId': '70142764',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016690&docid=70142771&x=208',
		'title': '',
		'imageId': '70142771',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016690&docid=70142773&x=208',
		'title': '',
		'imageId': '70142773',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016690&docid=70142774&x=208',
		'title': '',
		'imageId': '70142774',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016690&docid=70142780&x=208',
		'title': '',
		'imageId': '70142780',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016690&docid=70142779&x=208',
		'title': '',
		'imageId': '70142779',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016690&docid=70142783&x=208',
		'title': '',
		'imageId': '70142783',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016690&docid=70142787&x=208',
		'title': '',
		'imageId': '70142787',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016690&docid=70142789&x=208',
		'title': '',
		'imageId': '70142789',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016690&docid=70142792&x=208',
		'title': '',
		'imageId': '70142792',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016690&docid=70142692&x=208',
		'title': '',
		'imageId': '70142692',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016690&docid=70142693&x=208',
		'title': '',
		'imageId': '70142693',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4016690';

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