var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3976024&docid=69172043&x=222',
		'title': '',
		'imageId': '69172043',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976024&docid=69172045&x=222',
		'title': '',
		'imageId': '69172045',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976024&docid=69172046&x=222',
		'title': '',
		'imageId': '69172046',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976024&docid=69172049&x=222',
		'title': '',
		'imageId': '69172049',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976024&docid=69172040&x=222',
		'title': '',
		'imageId': '69172040',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976024&docid=69172041&x=222',
		'title': '',
		'imageId': '69172041',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976024&docid=69172048&x=222',
		'title': '',
		'imageId': '69172048',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976024&docid=69172047&x=222',
		'title': '',
		'imageId': '69172047',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976024&docid=69172044&x=222',
		'title': '',
		'imageId': '69172044',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976024&docid=69442084&x=222',
		'title': '',
		'imageId': '69442084',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976024&docid=69442085&x=222',
		'title': '',
		'imageId': '69442085',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3976024';

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