var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4035473&docid=70034941&x=821',
		'title': '',
		'imageId': '70034941',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035473&docid=70034943&x=821',
		'title': '',
		'imageId': '70034943',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035473&docid=70034944&x=821',
		'title': '',
		'imageId': '70034944',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035473&docid=70034945&x=821',
		'title': '',
		'imageId': '70034945',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035473&docid=70034946&x=821',
		'title': '',
		'imageId': '70034946',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035473&docid=70034947&x=821',
		'title': '',
		'imageId': '70034947',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035473&docid=70034948&x=821',
		'title': '',
		'imageId': '70034948',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035473&docid=70034949&x=821',
		'title': '',
		'imageId': '70034949',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035473&docid=70034950&x=821',
		'title': '',
		'imageId': '70034950',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035473&docid=70034951&x=821',
		'title': '',
		'imageId': '70034951',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035473&docid=70034952&x=821',
		'title': '',
		'imageId': '70034952',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035473&docid=70034953&x=821',
		'title': '',
		'imageId': '70034953',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035473&docid=70034954&x=821',
		'title': '',
		'imageId': '70034954',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035473&docid=70034955&x=821',
		'title': '',
		'imageId': '70034955',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035473&docid=70034957&x=821',
		'title': '',
		'imageId': '70034957',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035473&docid=70034956&x=821',
		'title': '',
		'imageId': '70034956',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4035473';

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