var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3975537&docid=69161522&x=3112',
		'title': '',
		'imageId': '69161522',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975537&docid=69161517&x=3112',
		'title': '',
		'imageId': '69161517',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975537&docid=69161521&x=3112',
		'title': '',
		'imageId': '69161521',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975537&docid=69161519&x=3112',
		'title': '',
		'imageId': '69161519',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975537&docid=69161514&x=3112',
		'title': '',
		'imageId': '69161514',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975537&docid=69161516&x=3112',
		'title': '',
		'imageId': '69161516',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975537&docid=69161515&x=3112',
		'title': '',
		'imageId': '69161515',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975537&docid=69161513&x=3112',
		'title': '',
		'imageId': '69161513',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975537&docid=69161509&x=3112',
		'title': '',
		'imageId': '69161509',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975537&docid=69161520&x=3112',
		'title': '',
		'imageId': '69161520',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975537&docid=69161512&x=3112',
		'title': '',
		'imageId': '69161512',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975537&docid=69161508&x=3112',
		'title': '',
		'imageId': '69161508',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975537&docid=69161511&x=3112',
		'title': '',
		'imageId': '69161511',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975537&docid=69161518&x=3112',
		'title': '',
		'imageId': '69161518',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975537&docid=69161507&x=3112',
		'title': '',
		'imageId': '69161507',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975537&docid=69161510&x=3112',
		'title': '',
		'imageId': '69161510',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3975537';

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