var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3983720&docid=69343860&x=498',
		'title': '',
		'imageId': '69343860',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983720&docid=69343864&x=498',
		'title': '',
		'imageId': '69343864',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983720&docid=69343859&x=498',
		'title': '',
		'imageId': '69343859',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983720&docid=69343865&x=498',
		'title': '',
		'imageId': '69343865',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983720&docid=69343858&x=498',
		'title': '',
		'imageId': '69343858',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983720&docid=69343857&x=498',
		'title': '',
		'imageId': '69343857',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983720&docid=69343873&x=498',
		'title': '',
		'imageId': '69343873',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983720&docid=69343861&x=498',
		'title': '',
		'imageId': '69343861',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983720&docid=69343872&x=498',
		'title': '',
		'imageId': '69343872',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983720&docid=69343867&x=498',
		'title': '',
		'imageId': '69343867',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983720&docid=69343868&x=498',
		'title': '',
		'imageId': '69343868',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983720&docid=69343863&x=498',
		'title': '',
		'imageId': '69343863',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983720&docid=69343871&x=498',
		'title': '',
		'imageId': '69343871',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983720&docid=69343866&x=498',
		'title': '',
		'imageId': '69343866',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983720&docid=69343869&x=498',
		'title': '',
		'imageId': '69343869',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983720&docid=69343862&x=498',
		'title': '',
		'imageId': '69343862',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983720&docid=69343870&x=498',
		'title': '',
		'imageId': '69343870',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3983720';

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