var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3975384&docid=69164408&x=4141',
		'title': '',
		'imageId': '69164408',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975384&docid=69164365&x=4141',
		'title': '',
		'imageId': '69164365',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975384&docid=69164414&x=4141',
		'title': '',
		'imageId': '69164414',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975384&docid=69164405&x=4141',
		'title': '',
		'imageId': '69164405',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975384&docid=69164410&x=4141',
		'title': '',
		'imageId': '69164410',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975384&docid=69164411&x=4141',
		'title': '',
		'imageId': '69164411',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975384&docid=69164413&x=4141',
		'title': '',
		'imageId': '69164413',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975384&docid=69164412&x=4141',
		'title': '',
		'imageId': '69164412',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975384&docid=69164409&x=4141',
		'title': '',
		'imageId': '69164409',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975384&docid=69164415&x=4141',
		'title': '',
		'imageId': '69164415',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975384&docid=69164407&x=4141',
		'title': '',
		'imageId': '69164407',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975384&docid=69164406&x=4141',
		'title': '',
		'imageId': '69164406',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3975384';

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