var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4006447&docid=69879049&x=912',
		'title': '',
		'imageId': '69879049',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006447&docid=69879060&x=912',
		'title': '',
		'imageId': '69879060',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006447&docid=69879040&x=912',
		'title': '',
		'imageId': '69879040',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006447&docid=69879055&x=912',
		'title': '',
		'imageId': '69879055',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006447&docid=69879042&x=912',
		'title': '',
		'imageId': '69879042',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006447&docid=69879069&x=912',
		'title': '',
		'imageId': '69879069',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006447&docid=69879065&x=912',
		'title': '',
		'imageId': '69879065',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006447&docid=69879050&x=912',
		'title': '',
		'imageId': '69879050',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006447&docid=69879051&x=912',
		'title': '',
		'imageId': '69879051',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006447&docid=69879063&x=912',
		'title': '',
		'imageId': '69879063',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006447&docid=69879056&x=912',
		'title': '',
		'imageId': '69879056',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006447&docid=69879038&x=912',
		'title': '',
		'imageId': '69879038',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006447&docid=69879041&x=912',
		'title': '',
		'imageId': '69879041',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006447&docid=69879053&x=912',
		'title': '',
		'imageId': '69879053',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006447&docid=69879039&x=912',
		'title': '',
		'imageId': '69879039',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006447&docid=69879044&x=912',
		'title': '',
		'imageId': '69879044',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006447&docid=69879059&x=912',
		'title': '',
		'imageId': '69879059',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006447&docid=69879054&x=912',
		'title': '',
		'imageId': '69879054',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006447&docid=69879046&x=912',
		'title': '',
		'imageId': '69879046',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006447&docid=69879048&x=912',
		'title': '',
		'imageId': '69879048',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006447&docid=69879047&x=912',
		'title': '',
		'imageId': '69879047',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006447&docid=69879043&x=912',
		'title': '',
		'imageId': '69879043',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006447&docid=69879045&x=912',
		'title': '',
		'imageId': '69879045',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006447&docid=69879062&x=912',
		'title': '',
		'imageId': '69879062',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4006447';

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