var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3980112&docid=69266263&x=2119',
		'title': '',
		'imageId': '69266263',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980112&docid=69266255&x=2119',
		'title': '',
		'imageId': '69266255',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980112&docid=69266257&x=2119',
		'title': '',
		'imageId': '69266257',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980112&docid=69266256&x=2119',
		'title': '',
		'imageId': '69266256',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980112&docid=69266277&x=2119',
		'title': '',
		'imageId': '69266277',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980112&docid=69266260&x=2119',
		'title': '',
		'imageId': '69266260',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980112&docid=69266265&x=2119',
		'title': '',
		'imageId': '69266265',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980112&docid=69266261&x=2119',
		'title': '',
		'imageId': '69266261',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980112&docid=69266270&x=2119',
		'title': '',
		'imageId': '69266270',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980112&docid=69266275&x=2119',
		'title': '',
		'imageId': '69266275',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980112&docid=69266258&x=2119',
		'title': '',
		'imageId': '69266258',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980112&docid=69266272&x=2119',
		'title': '',
		'imageId': '69266272',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980112&docid=69266262&x=2119',
		'title': '',
		'imageId': '69266262',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980112&docid=69266274&x=2119',
		'title': '',
		'imageId': '69266274',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980112&docid=69266269&x=2119',
		'title': '',
		'imageId': '69266269',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980112&docid=69266273&x=2119',
		'title': '',
		'imageId': '69266273',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980112&docid=69266264&x=2119',
		'title': '',
		'imageId': '69266264',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980112&docid=69266271&x=2119',
		'title': '',
		'imageId': '69266271',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980112&docid=69266267&x=2119',
		'title': '',
		'imageId': '69266267',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980112&docid=69266259&x=2119',
		'title': '',
		'imageId': '69266259',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980112&docid=69266276&x=2119',
		'title': '',
		'imageId': '69266276',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980112&docid=69266266&x=2119',
		'title': '',
		'imageId': '69266266',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980112&docid=69266268&x=2119',
		'title': '',
		'imageId': '69266268',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3980112';

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