var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4012855&docid=70025036&x=89',
		'title': '',
		'imageId': '70025036',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012855&docid=70025033&x=89',
		'title': '',
		'imageId': '70025033',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012855&docid=70025041&x=89',
		'title': '',
		'imageId': '70025041',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012855&docid=70025038&x=89',
		'title': '',
		'imageId': '70025038',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012855&docid=70025042&x=89',
		'title': '',
		'imageId': '70025042',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012855&docid=70025039&x=89',
		'title': '',
		'imageId': '70025039',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012855&docid=70025032&x=89',
		'title': '',
		'imageId': '70025032',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012855&docid=70025024&x=89',
		'title': '',
		'imageId': '70025024',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012855&docid=70025028&x=89',
		'title': '',
		'imageId': '70025028',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012855&docid=70025035&x=89',
		'title': '',
		'imageId': '70025035',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012855&docid=70025044&x=89',
		'title': '',
		'imageId': '70025044',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012855&docid=70025043&x=89',
		'title': '',
		'imageId': '70025043',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012855&docid=70025023&x=89',
		'title': '',
		'imageId': '70025023',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012855&docid=70025034&x=89',
		'title': '',
		'imageId': '70025034',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012855&docid=70025025&x=89',
		'title': '',
		'imageId': '70025025',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012855&docid=70025027&x=89',
		'title': '',
		'imageId': '70025027',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012855&docid=70025029&x=89',
		'title': '',
		'imageId': '70025029',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012855&docid=70025037&x=89',
		'title': '',
		'imageId': '70025037',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012855&docid=70025045&x=89',
		'title': '',
		'imageId': '70025045',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012855&docid=70025040&x=89',
		'title': '',
		'imageId': '70025040',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012855&docid=70025026&x=89',
		'title': '',
		'imageId': '70025026',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012855&docid=70025031&x=89',
		'title': '',
		'imageId': '70025031',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012855&docid=70025030&x=89',
		'title': '',
		'imageId': '70025030',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4012855';

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