var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3975319&docid=69153296&x=550',
		'title': '',
		'imageId': '69153296',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975319&docid=69153297&x=550',
		'title': '',
		'imageId': '69153297',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975319&docid=69153304&x=550',
		'title': '',
		'imageId': '69153304',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975319&docid=69153298&x=550',
		'title': '',
		'imageId': '69153298',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975319&docid=69153315&x=550',
		'title': '',
		'imageId': '69153315',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975319&docid=69153312&x=550',
		'title': '',
		'imageId': '69153312',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975319&docid=69153313&x=550',
		'title': '',
		'imageId': '69153313',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975319&docid=69153314&x=550',
		'title': '',
		'imageId': '69153314',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975319&docid=69153318&x=550',
		'title': '',
		'imageId': '69153318',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975319&docid=69153295&x=550',
		'title': '',
		'imageId': '69153295',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975319&docid=69153299&x=550',
		'title': '',
		'imageId': '69153299',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975319&docid=69153300&x=550',
		'title': '',
		'imageId': '69153300',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3975319';

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