var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4002152&docid=69766733&x=1943',
		'title': '',
		'imageId': '69766733',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002152&docid=69766722&x=1943',
		'title': '',
		'imageId': '69766722',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002152&docid=69766726&x=1943',
		'title': '',
		'imageId': '69766726',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002152&docid=69766745&x=1943',
		'title': '',
		'imageId': '69766745',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002152&docid=69766756&x=1943',
		'title': '',
		'imageId': '69766756',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002152&docid=69766771&x=1943',
		'title': '',
		'imageId': '69766771',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002152&docid=69766758&x=1943',
		'title': '',
		'imageId': '69766758',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002152&docid=69766782&x=1943',
		'title': '',
		'imageId': '69766782',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002152&docid=69766763&x=1943',
		'title': '',
		'imageId': '69766763',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002152&docid=69766769&x=1943',
		'title': '',
		'imageId': '69766769',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002152&docid=69766777&x=1943',
		'title': '',
		'imageId': '69766777',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002152&docid=69766774&x=1943',
		'title': '',
		'imageId': '69766774',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002152&docid=69766787&x=1943',
		'title': '',
		'imageId': '69766787',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002152&docid=69766746&x=1943',
		'title': '',
		'imageId': '69766746',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002152&docid=69766743&x=1943',
		'title': '',
		'imageId': '69766743',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002152&docid=69766764&x=1943',
		'title': '',
		'imageId': '69766764',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002152&docid=69766747&x=1943',
		'title': '',
		'imageId': '69766747',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002152&docid=69766757&x=1943',
		'title': '',
		'imageId': '69766757',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002152&docid=69766721&x=1943',
		'title': '',
		'imageId': '69766721',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002152&docid=69766736&x=1943',
		'title': '',
		'imageId': '69766736',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002152&docid=69766725&x=1943',
		'title': '',
		'imageId': '69766725',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002152&docid=69766724&x=1943',
		'title': '',
		'imageId': '69766724',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002152&docid=69766723&x=1943',
		'title': '',
		'imageId': '69766723',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4002152';

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