var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3968988&docid=69000300&x=3815',
		'title': '',
		'imageId': '69000300',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968988&docid=69000305&x=3815',
		'title': '',
		'imageId': '69000305',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968988&docid=69000304&x=3815',
		'title': '',
		'imageId': '69000304',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968988&docid=69000303&x=3815',
		'title': '',
		'imageId': '69000303',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968988&docid=69000306&x=3815',
		'title': '',
		'imageId': '69000306',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968988&docid=69040712&x=3815',
		'title': '',
		'imageId': '69040712',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968988&docid=69023897&x=3815',
		'title': '',
		'imageId': '69023897',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968988&docid=69000308&x=3815',
		'title': '',
		'imageId': '69000308',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968988&docid=69000309&x=3815',
		'title': '',
		'imageId': '69000309',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968988&docid=69000310&x=3815',
		'title': '',
		'imageId': '69000310',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968988&docid=69000311&x=3815',
		'title': '',
		'imageId': '69000311',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968988&docid=69000312&x=3815',
		'title': '',
		'imageId': '69000312',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968988&docid=69000313&x=3815',
		'title': '',
		'imageId': '69000313',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968988&docid=69000314&x=3815',
		'title': '',
		'imageId': '69000314',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968988&docid=69000315&x=3815',
		'title': '',
		'imageId': '69000315',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968988&docid=69000316&x=3815',
		'title': '',
		'imageId': '69000316',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968988&docid=69000317&x=3815',
		'title': '',
		'imageId': '69000317',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968988&docid=69000318&x=3815',
		'title': '',
		'imageId': '69000318',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968988&docid=69000319&x=3815',
		'title': '',
		'imageId': '69000319',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3968988';

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