var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4013585&docid=70047207&x=1838',
		'title': '',
		'imageId': '70047207',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013585&docid=70047210&x=1838',
		'title': '',
		'imageId': '70047210',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013585&docid=70047209&x=1838',
		'title': '',
		'imageId': '70047209',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013585&docid=70047213&x=1838',
		'title': '',
		'imageId': '70047213',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013585&docid=70047220&x=1838',
		'title': '',
		'imageId': '70047220',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013585&docid=70047225&x=1838',
		'title': '',
		'imageId': '70047225',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013585&docid=70047236&x=1838',
		'title': '',
		'imageId': '70047236',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013585&docid=70047243&x=1838',
		'title': '',
		'imageId': '70047243',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013585&docid=70047237&x=1838',
		'title': '',
		'imageId': '70047237',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013585&docid=70047248&x=1838',
		'title': '',
		'imageId': '70047248',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013585&docid=70047232&x=1838',
		'title': '',
		'imageId': '70047232',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013585&docid=70047258&x=1838',
		'title': '',
		'imageId': '70047258',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013585&docid=70047240&x=1838',
		'title': '',
		'imageId': '70047240',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013585&docid=70047252&x=1838',
		'title': '',
		'imageId': '70047252',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013585&docid=70047257&x=1838',
		'title': '',
		'imageId': '70047257',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013585&docid=70047261&x=1838',
		'title': '',
		'imageId': '70047261',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013585&docid=70047266&x=1838',
		'title': '',
		'imageId': '70047266',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013585&docid=70047272&x=1838',
		'title': '',
		'imageId': '70047272',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013585&docid=70047279&x=1838',
		'title': '',
		'imageId': '70047279',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013585&docid=70047267&x=1838',
		'title': '',
		'imageId': '70047267',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013585&docid=70047208&x=1838',
		'title': '',
		'imageId': '70047208',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013585&docid=70047205&x=1838',
		'title': '',
		'imageId': '70047205',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013585&docid=70047206&x=1838',
		'title': '',
		'imageId': '70047206',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4013585';

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